Monitoring your Java application with Health Center

In addition to the monitoring of the virtual machine resources that is provided by Cloud Pak System Software , you can also monitor your Java™ virtual application by using IBM® Monitoring and Diagnostic Tools for Java Health Center.

Before you begin

  • If you enabled the Health Center agent by adding a JVM Policy to the virtual application, you do not need to complete the steps in this task. You can start Health Center in the IBM Support Assistant to monitor the application.
  • Download the IBM Support Assistant (ISA), then install the Health Center client into ISA. For more information, see the IBM Monitoring and Diagnostic Tools for Java documentation.
  • Your Java applications must be deployed and all of your virtual machines must be started before you can monitor results.

About this task

You can use Health Center to monitor various aspects of your deployed Java application. For example:
  • Performance
  • Memory usage
  • Object allocations
  • System environment
  • Java class loading
Health Center also offers you some limited control of the application:
  • Generate diagnostic dump files
  • Modify JVM level tracing

Procedure

  1. Click Patterns > Virtual Application Instances. If you are on 2.3.3.3, click Patterns > Manage > Virtual Application Instances.
  2. Select a virtual application instance. The virtual application instance details are displayed.
  3. Click Manage in the toolbar.
  4. Click Operations.
  5. Select the Java row and expand the Attach Health Center entry.
  6. Specify a number for the Health Center port.
    The Health Center agent uses this port to listen for remote connections. The default value is 1972.
    Important: This port must be set to 1972. If it is set to another value, the Health Center agent will not work.
  7. Optional: In the Health Center Client (IP or IP/netmask) field, specify the Health Center client address that you are monitoring from.
    This setting is used to restrict source access to the Health Center agent port. The value is an IP address, for example, 1.2.3.4, or a combination of an IP address and netmask, for example 1.2.0.0/255.255.0.0. This example combination of IP address and netmask matches anything in the 1.2. network.
  8. Click Submit to attach the Health Center agent to the application.
  9. Start Health Center in the IBM Support Assistant to monitor the application.