136. Explain about the network deployment feature present in WAS?
Managing singletons will be a thing of the past and it also provides hot recovery of singletons which makes you forget about your GC collected singletons. Transaction logs can stored on a shared file system. For clustering run time operations deployment manager’s role was eliminated. J2EE failover support and cell configuration support is also present.
Managing singletons will be a thing of the past and it also provides hot recovery of singletons which makes you forget about your GC collected singletons. Transaction logs can stored on a shared file system. For clustering run time operations deployment manager’s role was eliminated. J2EE failover support and cell configuration support is also present.
137. Explain about IBM web sphere integration developer?
Web sphere integration developer provides an IDE to build applications based on service oriented architecture. Web sphere process server and web sphere ESB were built with WID. WID was built with RAD Eclipse based technology.
138. Explain about compute Grid?
Compute grid is also known as Web sphere batch. Web sphere extended deployment offers a Java batch processing system called as Compute Grid. This forms an additional feature to Web sphere network environment. Various features are provided which help a developer to create, manage and execute batch jobs. Job scheduler, xJCL, batch container and batch programming controller.
Compute grid is also known as Web sphere batch. Web sphere extended deployment offers a Java batch processing system called as Compute Grid. This forms an additional feature to Web sphere network environment. Various features are provided which help a developer to create, manage and execute batch jobs. Job scheduler, xJCL, batch container and batch programming controller.
139. Explain about web sphere MQ Real time transport?
This feature is very useful in instant messaging across different clients through intranet and internet. This supports high volume and high performance across different clients. It uses the concept of light weight transport which is again based on IP rather than the queue process.
This feature is very useful in instant messaging across different clients through intranet and internet. This supports high volume and high performance across different clients. It uses the concept of light weight transport which is again based on IP rather than the queue process.
140. Explain about Web sphere MQ JMS Provider?
Web sphere MQ and Web Sphere Business integration manager Broker are very useful in providing Java messaging services to wide range of clients (publisher –subscribe, point to point). Java classes are chiefly responsible for translating the API calls to API`s defined by web sphere. It is very useful to have knowledge of Web sphere MQ for proper configuration.
Web sphere MQ and Web Sphere Business integration manager Broker are very useful in providing Java messaging services to wide range of clients (publisher –subscribe, point to point). Java classes are chiefly responsible for translating the API calls to API`s defined by web sphere. It is very useful to have knowledge of Web sphere MQ for proper configuration.
141. Explain the attribute CHANNEL in web sphere MQ?
CHANNEL specifies the name of the server connection channel. Generally this is Web Sphere MQ network abstraction. The default standard used by CHANNEL is SVRCONN which is the server connection channel. This server is generally used to communicate to the queue manager by the client.
CHANNEL specifies the name of the server connection channel. Generally this is Web Sphere MQ network abstraction. The default standard used by CHANNEL is SVRCONN which is the server connection channel. This server is generally used to communicate to the queue manager by the client.
142. Is the naming of connection factory independent of the name specified by JMS client?
Yes, the naming of connection factory is independent of the name specified by JMS client. This is made possible by WAS (Web sphere application server) with its resource references. It isolates the application from object names. This feature is important because it gives us the flexibility to change the administered object without changing the JMS client code.
Yes, the naming of connection factory is independent of the name specified by JMS client. This is made possible by WAS (Web sphere application server) with its resource references. It isolates the application from object names. This feature is important because it gives us the flexibility to change the administered object without changing the JMS client code.
143. How many ways deployments in ibm websphere.please give me one examples?
Ways of deployment depends on version of WebSphere Application server you are using.
But 5.X and above provide following ways
1. Using Admin Console
2. Hot Deployment droping jsp files, with enabled class reloading (not recommanded for production)
3. Using Jacl Scripts
4. Using WSAdmin command
5. Rapid Deployment (feature available at WAS 6).
144. What is JACL?
JACL and JYTHON are the two scripting language Which WebSphere supports. Jacl is an implementation of a Tcl interpreter written entirely in Java.
145. How you will replace the multiple occurrence of single word in a text file with another word?
We can replace the word in vi editor by using the following command
:%s/text1 /text2 /g (return)
Text1 will be replaced by text2. In a clustered environment I have node1 in cell1 now I need to configure same node in cell2.
146. How can I achieve this task?
We can configure one node in one cell only. So we can’t configure the same node in another cell
147. How you will install the WAS?
WAS we can install in three different methods.
Silent mode using response file
Interactive mode
Graphical mode
148. How to install fix packs?
We can apply the fix packs using the update installer. Before we go to apply fix packs we need to take backup of the existing configuration of our WAS and all profiles.
To take backup we can use the command
Syntax
The command syntax is as follows:
backupConfig <backup_file> [options]
Where backup_file specifies the file to which the backup is written. If you do not specify one, a unique name is generated.
The QEJBSVR user profile must have *WX authority to the directory path specified in backup_file. If no path is specified, the QEJBSVR user profile must have *WX authority to the current working directory.
Parameters
The following options are available for the backupConfig command:
-nostop
Tells the backupConfig command not to stop the servers before backing up the configuration.
-quiet
Suppresses the progress information that the backupConfig command prints in normal mode.
-logfile <fileName>
Specifies the location of the log file to which information gets written.
-profileName <profileName>
Defines the profile of the Application Server process in a multi-profile installation. The -profileName option is not required for running in a single profile environment. The default for this option is the default profile.
-replacelog
Replaces the log file instead of appending to the current log.
-trace
Generates trace information into the log file for debugging purposes.
-username <name>
Specifies the user name for authentication if security is enabled in the server. Acts the same as the -user option.
-user <name>
Specifies the user name for authentication if security is enabled in the server. Acts the same as the -username option.
-password <password>
Specifies the password for authentication if security is enabled in the server.
-help
Prints a usage statement.
-?
Prints a usage statement.
Usage scenario
The following example demonstrates correct syntax:
backupConfig
The following example creates a new file that includes the current date:
WebSphereConfig_2003-04-22.zip
The following example creates a file called myBackup.zip, and does not stop any servers before beginning the backup process.
backupConfig myBackup.zip -nostop
to restore the backed configuration we can use the command
Syntax
The command syntax is as follows:
restoreConfig <backup_file> [options]
where backup_file specifies the file to be restored. If you do not specify one, the command will not run.
Parameters
The following options are available for the restoreConfig command:
-help
Prints a usage statement.
-location <directory_name>
Specifies the directory where the backup file is restored.
The location defaults to the app_server_root/config directory.
The location defaults to the profile_root/config directory.
-logfile <fileName>
Specifies the location of the log file to which trace information is written. By default, the log file is named restoreConfig.log and is created in your logs directory.
-nostop
Tells the restoreConfig command not to stop the servers before restoring the configuration.
-password <password>
Specifies the password for authentication if security is enabled in the server.
-profileName
Defines the profile of the Application Server process in a multiple profile installation. The -profileName option is not required for running in a single profile environment. The default for this option is the default profile.
-quiet
Suppresses the progress information that the restoreConfig command prints in normal mode.
-replacelog
Replaces the log file instead of appending to the current log.
-trace
Generates trace information into the log file for debugging purposes.
-username <name>
Specifies the user name for authentication if security is enabled in the server. Acts the same as the -user option.
-user <name>
Specifies the user name for authentication if security is enabled in the server. Acts the same as the -username option.
-?
Prints a usage statement.
You can use the restoreConfig command to recover an application server if it fails. Perform the following steps:
Locate the automatic migration backup in the app_server_root/temp directory. For example: MigrationBackup.Thu-Aug-28-10.15045-2006.zip
Restore the configuration with the restoreConfig command. For example:
restoreConfig app_server_root/temp/MigrationBackup.Thu-Aug-28-10.15045-2006.zip
restoreConfig app_server_root/temp/MigrationBackup.Thu-Aug-28-10.15045-2006.zip
Usage scenario
The following example demonstrates correct syntax:
restoreConfig WebSphereConfig_2006-04-22.zip
restoreConfig.sh WebSphereConfig_2006_04_22.zip
restoreConfig WebSphereConfig_2006-04-22.zip
The following example restores the given file to the /tmp directory and does not stop any servers before beginning the restoration.
restoreConfig WebSphereConfig_2006_04_22.zip -location /tmp -nostop
restoreConfig.sh WebSphereConfig_2006_04_22.zip -location /tmp -nostop
restoreConfig WebSphereConfig_2006_04_22.zip -location /tmp -nostop
The following example restores the configuration stored in /home/mydir/myprofileBackup.zip to the configuration for profile myprofile:
restoreConfig WebSphereConfig_2006-04-22.zip -profileName myprofile
Be aware that if you restore the configuration to a directory that is different from the directory that was backed up when you performed the backupConfig command, you may need to manually update some of the paths in the configuration directory.
149. What is the virtual memory required for JVM process?
Ans) The recommended virtual memory for JVM is ¼ of the physical memory.
150. What’s the default server in WAS for application server profile?
Ans) server1
Ans) Ripple stop/start will stop one server at a time while other servers will continue to serve the client requests. Like this it will stop and start the entire server in the cluster
152. How you will start the server & how you will stop from command line?
Ans) stopserver and startserver are the commands to stop and start from the command line
153. How to check the physical memory (RAM) in the system?
Ans) “bootinf –r “will give you the physical memory details of the unix box
154. What is the first signal you find when memory leakage is there in the application?
Ans) if you have memory leakage in your application code then you get frequently “OUT OF MEMORY EXCEPTION” error.
155. How to apply fix packs to WAS?
Using update installer we can apply the fix packs. We need to make sure that update installer which is installed should be compatible with WAS. And also we need to take backup of all profiles and configuration.
156. What are the performance monitor tools in WAS?
Ans) Websphere provides integrated tools to monitor and tune system and application performance:
Source Systems of the performance data:
Performance Monitoring Infrastructure (PMI):
Core performance data collection technology for websphere application server. Supports the Jave 2 Platform, Enterprise Edition (J2EE) Management Reference Implimentation (JSR-077)
Request Metrics:
Technology to trace each individual transaction and record its response time at different stages as it flows through the application server. Supports externalisation of data to standard log files and /or an Application Response Management (ARM) agent.
Integrated Tools:
Tivoli Performance viewer (TPV)
Enables administrators to monitor the overall health of websphere application server. It is accessed from within the administrative console
Request Metrics ( Tool)
Enables you to track individual transactions,recording the processing time in each of the major websphere application server components. Output viewed in standard logs or using an application response measurement( ARM) based tool
Performance advisor
Analyze collected performance data and provide configuration recommendations to improve the application server performance. Output viewed in TPV or in administrative console runtime messages
Performance servlet
Provides simple retrival of performance data in XML format. Accessed through a browser.
157. If you enable global security every time we need to provide userid and password while stopping the servers. It is bit security issues it will disclose to any one while typing the password. So I need to avoid the typing os my user id and password to stop the servers in security enables environment. How can we achieve this task ?
Ans) we can achieve this task by storing the credentials in the following mentioned files
For SOAP connector –soap.client.profs
For RMI connector –sas.client.profs
158. I have a standalone application server, in that server1 crashed because of some reasons. Now I need to configure server2 on the same node how can I achieve this task?
Ans) To configure server2 there is no dependency on the server1 status. Because we are depending on the node to configure the server2 on standalone server on theserver1.
159. How can you control the web browser requests only to particular ip address?
Ans) using “Virtual hosts” (need to cross verify the answer)
160. How you will find how much heap is used by each JVM?
Ans) Using PMI we can see the percentage of the memory used by JVM






0 comments:
Post a Comment