Configuring a WebSphere Application Server 8.x to Work with the eG Agent

To monitor a WebSphere Application server 6.x (and above), a specific WebSphere monitoring eG component has to be installed on it. If the WebSphere server to be monitored uses a SOAP connector port for its internal communications, then the egurkha6.ear component will have to be installed on the server. On the other hand, if the target WebSphere server uses an RMI port for communicating internally, then the egurkha6rmi.ear component should be installed on the server. Before installing either of these components on a WebSphere server, do the following:

  • Copy the egurkha6.ear (or egurkha6rmi.ear) file from the <EG_INSTALL_DIR>\lib directoy (on Windows; on Unix, this will be /opt/egurkha/lib) to any temporary location on the eG agent host.
  • Rename the file in the temporary folder as egurkha.ear.
  • Copy the egurkha.ear file back to the <EG_INSTALL_DIR>\lib directoy (on Windows; on Unix, this will be /opt/egurkha/lib). 

Then, follow the steps given below to perform the installation.

  1. Login to the WebSphere Administrative Console by first accessing the URL: http://<IP/hostname of the WebSphere server>:<WebSpherePort>/, and then providing a valid User ID and Password.

    1

    Figure 1 : Logging into the WebSphere administrative console

  2. The WebSphere Administrative Console will then appear as depicted by Figure 2.

    2

    Figure 2 : The WebSphere Administrative Console

  3. Expand the Applications node in the tree-structure in the left pane of Figure 3, and then click on the New Application sub-node within. Then, from the list of links displayed in the right panel, pick the New Enterprise Application link.

    3

    Figure 3 : Installing a new application

  4. Figure 4 will then appear. If the egurkha.ear file to be deployed is on the local host, then, select the Local file system option, and then specify the full path to the egurkha.ear application in the Full path text box. On the other hand, if the egurkha.ear file is available on a remote host in the environment, then, pick the Remote file system option and specify the full path to the remote egurkha.ear file in the Full path text box below. Typically, the 'ear' file will be available in the /opt/egurkha/lib directory (on Unix; on Windows, it will be the <EG_INSTALL_DIR>\lib directory). Then, click the Next button in Figure 4.

    4

    Figure 4 : Specifying the full path to the 'egurkha.ear' file

  5. When Figure 5 appears, select the Fast Path option, and click the Next button.

    5

    Figure 5 : Indicating how to install the egurkha application

  6. Using Figure 6 that appears next, view the Installation Options, and select the options that you want to enable for your application deployment. Since the default installation settings apply to the egurkha.ear deployment, you need not enable/disable any additional options in this page. Therefore, simply scroll down the page and click the Next button therein.

    6

    Figure 6 : Viewing the installation options

  7. When Figure 7 appears, map the egurkha module to the displayed Server, by selecting the check box corresponding to the egurkha module and clicking the Next button.

    8

    Figure 7 : Mapping the egurkha module with a server

  8. Then, to map the egurkha web module to the default selection in the Virtual Host drop-down, select the check box corresponding to the egurkha module in Figure 8, and click the Next button. This will ensure that the egurkha web module is installed on the default virtual host.

    9

    Figure 8 : Mapping the egurkha web module with a virtual host

  9. Next, a summary of your specifications for egurkha.ear deployment will appear (see Figure 9). Scroll down the summary to click the Finish button (see Figure 10). 

    10

    Figure 9 : Viewing a summary of your installation specifications

    11

    Figure 10 : Scrolling down the summary and clicking the Next button

  10. This will trigger the deployment of the egurkha application. Figure 11 then appears indicating the progress of the installation. Scroll down Figure 11 to determine whether the egurkha application was successfully deployed or not. If application deployment is successful, a message to that effect will appear here.

    12

    Figure 11 : Status of the egurkha installation

  11. Then, proceed to save the egurkha application. The first step towards this is to save the changes to the master configuration. Before saving the master configuration, you may want to review the changes effected on it. For this, click the Review link in Figure 11.
  12. Figure 12 will then appear displaying the Total number of changed documents. To view the list of documents that changed, expand the Total changed documents node. To proceed with saving the application, click the Save button in Figure 12.

    13

    Figure 12 : Viewing the total number of changed documents

  13. Now, proceed to start the egurkha application. For that, follow the Applications -> Application Types -> WebSphere enterprise applications node sequence in the tree-structure in the left panel of Figure 12. The list of installed applications will then appear in the right panel. Select the check box corresponding to the egurkha application and click the Start button therein to start it (see Figure 13).

    14

    Figure 13 : Starting the egurkha application

  14. Once the application is started, a message to that effect will appear as depicted by Figure 14 below.

    15

    Figure 14 : A message indicating that the egurkha application has started successfully

  15. Finally, log out of the admin console.