This section describes how to install, configure and start the Monitor using default settings. These instructions are intended for deployments in which you connect to a single Coherence cluster, use the Direct Connection data connection method (in which the Monitor joins the Coherence cluster as a node) and the default HSQLDB database.
NOTE: The HSQLDB database is sufficient for evaluation and testing, it is not recommended for use in production deployments.
To deploy the Monitor on:
Download and unzip the contents to your local server:
Unzip the RTViewOCMonitor_<version>.zip file into a directory of your choosing:
unzip –a RTViewOCMonitor_<version>.zip
Setup your project directory as follows:
Change directory (cd) to the projects\rtview-server directory.
Open the rtview.properties file and edit as follows:
Specify that the Monitor connect as a node:
sl.rtvapm.ocmon.node=true
Define values for the tangosol properties that your cluster nodes use to join the cluster:
tangosol.coherence.cluster=MyClusterName
tangosol.coherence.wka=
tangosol.coherence.override=
tangosol.coherence.cacheconfig=
Set the value of the sl.rtvapm.ocmon.jmxconn property to the name of the cluster:
sl.rtvapm.ocmon.jmxconn=MyClusterName
Add the path to the Coherence jar to the java class path:
sl.rtview.cp=c:/coherence/lib/coherence.jar
NOTE: You must also add any Coherence patch jars, and all jar files that facilitate deserialization of MBeans, including jar files for custom and third party MBeans.
To start the Monitor, navigate to the RTViewOCMonitor directory and type:
start_server
Review log files for errors, located in the projects\rtview-server\logs directory.
Deploy the war files under projects\rtview-server to your application server. For example, in the case of Apache Tomcat this could be done by copying the war files to the Tomcat webapps directory.
Open the Monitor: Open a browser and go to the URL of the deployed ocmon-classic servlet. For example, http://localhost:8080/ocmon-classic. If authentication is required:
Login. The default user name and password are:
User Name: demo
Password: demo
The Monitor Cluster Overview display opens.
See Using the Monitor for details about using the Monitor.
Download and unzip the contents to your local server:
Unzip the RTViewOCMonitor_<version>.zip file into a directory of your choosing:
unzip –a RTViewOCMonitor_<version>.zip
Navigate to your installation directory, make the file fixperms.sh executable, then execute it in the current shell (first chmod 755 fixperms.sh, and then ./fixperms.sh).
Setup your project directory as follows:
Change directory (cd) to the projects/rtview-server directory.
Open the rtview.properties file and edit as follows:
Specify that the Monitor connect as a node:
sl.rtvapm.ocmon.node=true
Define values for the tangosol properties that your cluster nodes use to join the cluster:
tangosol.coherence.cluster=MyClusterName
tangosol.coherence.wka=
tangosol.coherence.override=
tangosol.coherence.cacheconfig=
Set the value of the sl.rtvapm.ocmon.jmxconn property to the name of the cluster:
sl.rtvapm.ocmon.jmxconn=MyClusterName
Add the path to the Coherence jar to the java class path:
sl.rtview.cp=coherence/lib/coherence.jar
NOTE: You must also add any Coherence patch jars, and all jar files that facilitate deserialization of MBeans, including jar files for custom and third party MBeans.
Save your changes.
To start the Monitor, navigate to the RTViewOCMonitor directory and type:
start_server.sh
Review log files for errors, located in the projects/rtview-server/logs directory.
Deploy the war files under projects/rtview-server to your application server. For example, in the case of Apache Tomcat this could be done by copying the war files to the Tomcat webapps directory.
Open the Monitor: Open a browser and go to the URL of the deployed ocmon-classic servlet. For example, http://localhost:8080/ocmon-classic. If authentication is required:
Login. The default user name and password are:
User Name: demo
Password: demo
The the Monitor Cluster Overview display opens.
See Using the Monitor for details about how to use the Monitor.