Monitoring Coherence - padogrid/padogrid GitHub Wiki
◀️ Coherence CLASSPATH :link: Coherence perf_test App ▶️
JVisualVM Plugin
Coherence installation includes a JVisualVM plug-in for monitoring Coherence cluster members in an aggregated view. The plug-in is located in the $COHERENCE_HOME/plugins/jvisualvm
directory. Follow the steps below to install the plug-in.
- Start
jvisualvm
. - Select the Tools/Plugins menu from the VisualVM console.
- Select the Downloaded tab.
- Select the Add Plugins... button.
- Find and open the
jvisualvm
plugin from the dialog. It is located in the$COHERENCE_HOME/plugins/jvisualvm
directory. - From the plugin list, select Coherence-JVisualVM and select the Install button.
Once the plugin has been installed, you can use the show_cluster -long
command to display the JMX URL. By default, PadoGrid enables JMX on all members. You can copy any member's JMX URL and paste it to VisualVM when adding a remote connection.
show_cluster -long
Output:
----------------------------------------------------------------
WORKSPACE: /c/Users/dpark/Work/Padogrid/workspaces/rwe-wsl/ws-coherence
CLUSTER: mycoherence
PRODUCT: coherence
CLUSTER_TYPE: coherence
POD: local
POD_TYPE: local
01 Member: mycoherence-member-padogrid-01
STATE: Running
PID: 2368
MEMBER_PORT: 9000
DEBUG_PORT: 9101
PROMETHEUS_PORT: 8091
JMX_URL: service:jmx:rmi:///jndi/rmi://padogrid:12001/jmxrmi
Working Dir: /c/Users/dpark/Work/Padogrid/workspaces/rwe-wsl/ws-coherence/clusters/mycoherence/run/mycoherence-member-padogrid-01
LOG_FILE: /c/Users/dpark/Work/Padogrid/workspaces/rwe-wsl/ws-coherence/clusters/mycoherence/log/mycoherence-member-padogrid-01.log
02 Member: mycoherence-member-padogrid-02
STATE: Running
PID: 2606
MEMBER_PORT: 9001
DEBUG_PORT: 9102
PROMETHEUS_PORT: 8092
JMX_URL: service:jmx:rmi:///jndi/rmi://padogrid:12002/jmxrmi
Working Dir: /c/Users/dpark/Work/Padogrid/workspaces/rwe-wsl/ws-coherence/clusters/mycoherence/run/mycoherence-member-padogrid-02
LOG_FILE: /c/Users/dpark/Work/Padogrid/workspaces/rwe-wsl/ws-coherence/clusters/mycoherence/log/mycoherence-member-padogrid-02.log
CLUSTER: mycoherence
CLUSTER_TYPE: coherence
Members Running: 2/2
Version: 14.1.1.0.0
----------------------------------------------------------------
The above example shows two (2) members with JMX_URL
.