![]() |
Enterprise
RTView®
User Guide |
Running the Simulated Data Grid Several scripts are provided that run a sample simulated cluster to enable you to explore the Oracle Coherence Monitor without configuring your cluster for JMX management. Since these scripts run Coherence cluster nodes, they require that you have Coherence installed on your system. You must also set the COHERENCE_HOME environment variable to the location of your Coherence installation directory, and the COHERENCE_WKA environment variable to the IP address of the system where you will run the simulated cluster nodes. From a Command Prompt Window: 1. In an initialized command window go to the demos\ocmdemodata directory. 2. Execute the following to start up four storage nodes and three processing nodes on three caches (foo, foo2, near-foo3):
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. 3. If you want to monitor the simulated grid using a JMX remote port, set the COHERENCE_JMXPORT environment variable to 9991 and run an instance of a Coherence node that acts as a JMX MBeanSever as follows:
You may set COHERENCE_JMXPORT to a different port if you also change the port in the RemoteJmxRMI connection of the Oracle Coherence Monitor. NOTE: Two scripts, mydemodata_setup.bat and mydemodata_setup, are provided in demos\ocmdemo to easily setup the environment variables listed above. Modify the appropriate script for your platform to set the correct values for your system, then run it whenever you want to set these variables in a command or terminal window. |
|
|