Basic MM Configuration : Configure JMX Properties in Monitored Engine TRA Files

Configure JMX Properties in Monitored Engine TRA Files
After the cluster engines are started, they use JMX MBeans to expose monitoring and management information to the MM server, and for remote method invocation. The JMX port number must be specified before the engine’s JVM starts. A variable for the port number is provided in the TRA file so that the actual value can be specified before the engine starts.
Note that in the current release, JMX with SSL, and with authentication are not supported.
To Configure JMX Properties
JMX properties are provided in the shipped BE_HOME/bin/be-engine.tra file but are commented. Uncomment the jmxremote properties shown next. Ensure that the value of the port property is set to %jmx_port%.
Do this for all TRA files for all monitored BusinessEvents engines.

 
#java.property.com.sun.management.jmxremote.ssl=false
#java.property.com.sun.management.jmxremote.port=%jmx_port%
#java.property.com.sun.management.jmxremote.authenticate=false

 
When more than one PU (engine) is deployed on the same host, ensure that a different JMX port is used for each of the PUs (in the site topology file).
How the JMX Remote Port Number is Set at Runtime
When you use the MM UI to start BusinessEvents engines remotely, MM reads the port number from the PU configuration setting in the site topology file. See (Processing Unit Settings.)
MM passes this value to the TRA file’s jmx_port variable, in the command line it composes when starting a BusinessEvents engine: --propVar jmx_port=portnum.
If you start an engine manually from the command line, provide the port number in the same way, that is, using the option --propVar jmx_port=portnum.
Use the same port number as specified in the PUC so that MM treats the engine as a predefined engine. If you use a different number, the engine starts as an unpredefined engine. See Predefined and Unpredefined Members.