IBM WebSphere — Prerequisites
Prerequisites for monitoring IBM WebSphere with HEAL.
Prerequisites to complete before adding this component in the HEAL Control Center.
Create a non-admin user and add the user to the Monitors user group.
Follow the below steps to configure the JMX port:
- In the WebSphere admin console, in the left pane of the Welcome Screen, expand Servers → Server Types and then click WebSphere Application servers.
- In the right pane, click the server name (that you want to monitor).
- Expand Java and Process Management and then select Process Definition.
- Under the Additional Properties section, click Java Virtual Computer.
-
Scroll down and locate the textbox for Generic JVM arguments and enter the following text:
-Djavax.management.builder.initial= -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=<Define JMX port>
Determine the SOAP port that will be used as the Monitor Port in HEAL: To do so, follow these steps:
- In the Welcome Page, click Servers → Application Servers → [Server Name] → Communications → Ports.
- Make a note of the port number for
SOAP_CONNECTOR_ADDRESSas you need to add it as Monitor Port in HEAL UI while configuring the WebSphere Application Server.
Ensure that the WebSphere server’s monitor port (default SOAP port 8880) and JMX port are opened for data collection to collect WebSphere and JVM KPIs.
To enable Performance Monitoring Infrastructure (PMI) and its configurations, follow the below steps:
- In the Welcome Page, click Performance → Performance Monitoring Infrastructure in the right-side panel.
- Locate and enable the checkbox labeled as below:
- Performance Monitoring Infrastructure (PMI).
- Current Monitored static set — select the All option (all statistics are enabled — this leads to the collection of Soap Port KPIs).
- Administrative Security.
- Click Apply and then click OK.
- Click System Administration (left part of the main screen) → Save Changes to Master Repository and then click Save to save the changes.
- Restart the application.
It is recommended to disable the Administrative Security:
- In the left panel of the Welcome Page, click Security → Administrative security.
- Locate and deselect the Administrative Security check box.
- Restart the application.
Note: One WebSphere server may host different servers (called different Profiles); in such cases, port numbers vary in increasing order such as:
- Admin Port: 9060, 9061, 9062, …
- SOAP Port: 8880, 8881, 8882, …
- HostPort: 9080, 9081, 9082, …
In such case, for each server (for each profile), there will be different instances of WebSphere. So you need to specify different entries for that.
If Administrative Security is enabled, an SSL certificate is required for use by the Component Agent.
To create and install the SSL certificate:
-
Execute the following command on the Component Agent server:
/usr/local/java/ibm/bin/java InstallCert <IP Address>:<Port>Where:
- IP Address is the IP of the system where WebSphere is running.
- Port is the SOAP port on which the WebSphere application is actively listening.
The above command will generate a
jssecacertsfile in the same folder. -
Copy the
jssecacertsfile into the following location:/usr/local/java/ibm/lib/security -
After copying the certificate, execute the following command to ensure whether the certificate is added successfully:
/usr/local/java/ibm/bin/keytool --list -keystore jssecacerts
Note: Using the same procedure, you can create and install more certificates to monitor additional WebSphere instances using the same component agent.
Enable access log on the APP tier with minimal fields like date, time, response time, and status code.
Note: If your application architecture does not include a dedicated web component, you will need to enable access logging directly on the application tier. To do this, modify the JBoss standalone.xml configuration file for your application server.
Note: Ensure that all nodes of the application have the same access log file format to make it easier to collect and analyze the logs.
See also: IBM WebSphere (what HEAL monitors) · Setup & configuration guide