![]() |
Enterprise
RTView®
User Guide |
Running the Oracle Coherence Monitor There are two options for how the Oracle Coherence Monitor communicates with a Coherence cluster. The instructions to run the monitor are different depending on your selected option. See Oracle Coherence Monitor Communication Options for more information, and select the communication mode you want to use before following the instructions below. Two command line arguments are needed when running the Oracle Coherence Monitor, Display Server, Data Server, Historian or Report Generator. The -ocm command line argument must be used for all applications except the monitor when running using a JMX remote port to access the grid. The -ocmnode command line argument must be used for all applications including the monitor when running as a grid node. When using multiple command line arguments, these must come first. For example, run_ocmonitor -ocmnode -u1000 will work; run_ocmonitor -u1000 -ocmnode will not work. The Oracle Coherence Monitor will try to connect to a Historian database and an alert database at startup. If these databases are not running, history and alert data will not be available in the monitor. By default, the Oracle Coherence Monitor is configured to connect to the HSQLDB database in the demos\ocmdemo directory for both the history and alert data. Unless you have customized the Historian database or do not want to see history and alert data, be sure this HSQLDB database is running before you start the monitor. To start the database, run the following from demos\ocmdemo:
This script will run the database. Type Ctrl-C in the database console to shutdown the database. On shutdown, the database writes all of its memory to rtvhistory.log. When it restarts, it uses this to log to restore the data from the previous session. To clear the data in the database, in demos\ocmdemo:
Monitoring the Grid Using a JMX Remote Port 1. Confirm that you have completed the setup for monitoring the grid using a JMX remote port.2. By default, the Oracle Coherence Monitor is setup to attach to port 9991 on localhost with no authentication. If this is not correct for your setup, you must customize the RemoteJmxRMI connection to point to the IP address of the machine running the Coherence node enabled with JMX remote capability and the exposed JMX port. 3.In
an initialized command window:
4. Enter user credentials in the login screen. Running the Monitor as a Grid Node 1. Confirm that you have completed the setup for running the monitor as a grid node.2.
In
an initialized command window:
3. Enter user credentials in the login screen. |
|
|