Skip to content

Monitoring Coherence

padogrid edited this page Jun 7, 2020 · 1 revision

◀️ Coherence CLASSPATH 🔗 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.

  1. Start jvisualvm.
  2. Select the Tools/Plugins menu from the VisualVM console.
  3. Select the Downloaded tab.
  4. Select the Add Plugins... button.
  5. Find and open the jvisualvm plugin from the dialog. It is located in the $COHERENCE_HOME/plugins/jvisualvm directory.
  6. 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.

References

  1. Using the Coherence-JVisualVM Plug-In

◀️ Coherence CLASSPATH 🔗 Coherence perf_test App ▶️

Overview

Operations

Tools

Platforms

Clouds

Pado

Geode/GemFire

Hazelcast/Jet

ComputeDB/SnappyData

Coherence

Hadoop

Kafka/Confluent

Mosquitto

Redis

Spark

Clone this wiki locally