![]() |
Enterprise
RTView®
User Guide |
Oracle® Coherence Monitor - Simulated Cluster A simulated cluster is provided to enable you to explore the Oracle Coherence Monitor without configuring your cluster for JMX management. However, since the scripts provided for this simulation run Coherence cluster nodes, you must have Coherence installed on your system. Set Environment Variables 1. Set the COHERENCE_HOME environment variable to the location of your Coherence installation directory. 2. Set the COHERENCE_WKA environment variable to the IP address of the system where you will run the simulated cluster nodes.
Run the Simulated Data Grid In an initialized Command Prompt window: 1. Go to the demos\ocmdemodata directory. 2. To start the four storage nodes and three processing nodes on three caches (foo, foo2, near-foo3), type:
The nodes created perform operations on the three caches to provide data for the displays. Cache misses are simulated by performing gets/puts using invalid key values.
Monitor the Simulated Grid via Remote JMX Port If you want to monitor the simulated cluster via remote JMX port: 1. Set the COHERENCE_JMXPORT environment variable to 9991. 2. Run an instance of a Coherence node that acts as a JMX MBeanSever, type:
If you set COHERENCE_JMXPORT to a different port you must also change the port in the RemoteJmxRMI connection of the Oracle Coherence Monitor. NOTE: To easily setup the environment variables listed above, two scripts (mydemodata_setup.bat and mydemodata_setup) are provided in demos\ocmdemo. Modify the appropriate script for your platform with the correct values for your system and then run that script whenever you need to set these environment variables. |
|
|
|
|
|
|
|