JMX Runtime Management

Task: Enabling JMX Support

The GridSAM service exposes some of its management functions through the Java Management Extension (JMX). This facility is available to administrator when the container hosting GridSAM is started using a Java 1.5, or later, runtime environment. For more information, please consult the JMX user guide.

To use the JMX facility with the Sun JDK 1.5.

$> cd ${OMII_HOME}
$> setenv CATALINA_OPTS "-Dcom.sun.management.jmxremote=true"
$> ./bin/startomii.sh

Task: Administer a JMX-enabled GridSAM instance

Use the JConsole utility to connect to the running instance.

..
$> ${JAVA_HOME}/bin/jconsole &
..

GridSAM exposes management features (e.g. logging, temporary suspension, reconfiguration) through a JMX bean. You can use the JConsole to dynamically alter the behaviour of a running GridSAM service.