Oracle Coherence Monitor

User Guide

 


Configuring a Direct Connection
This section provides step-by-step instructions for configuring a direct connection to acquire data from the cluster. This method requires the OC Monitor Data Server to join the cluster as a node. For an overview, see the Direct Connection system diagram.

All Coherence parameters, options, configuration files and JAR files used by existing cluster nodes must be made available for Data Server configuration. This includes JARs that contain custom MBeans, patches, cluster configuration file, cache configuration file, POF configuration file and any configuration files that they reference.

These instructions assume you have a project directory, as described in OCM Setup. The rtview.properties file is located in your project directory.  

To Get Coherence Parameters
If the Java properties and class path used by the cluster you want to monitor are not readily available from cluster design documents, cluster launch scripts, or knowledgeable personnel, the following steps might assist with discovery of the required settings.

To configure a direct connection perform the following steps.
1. Open the rtview.properties file, located in the ocmon/projects/sample directory, in a text editor and make the following changes:

NOTE: The name specified for the sl.rtvapm.ocmon.jmxconn property (in Direct Connection mode) is also used to identify the cluster in alerts and data persisted in the database. Because data from multiple databases might subsequently be combined, best practices dictate that a globally unique identifier be specified for cluster names to easily identify data from each cluster.

2. Using the Jar Properties information you previously obtained:
  Add the path to the Coherence JAR files required by the existing cluster to sl.rtview.cp=. Include any patch JARs used by cluster nodes, as well as the paths to JAR files for POF serialization. Use one entry per sl.rtview.cp property instance as they are combined into a cumulative classpath.   
    Windows Example:
sl.rtview.cp=c:\coherence352\lib\coh-352-patch-01.jar sl.rtview.cp=c:\coherence352\lib\coherence.jar
 
       
  Add the path to the database JDBC driver, and other required JAR files, using additional sl.rtview.cp= property values.  
     
  Add JVM options as sl.rtview.jvm= property values.  
    Example:
sl.rtview.jvm=-Dtangosol.coherence.mbeans=/sl-custom-mbeans.xml
 

3. If none of the following are true, skip this Step. If any of the following are true, complete this Step:
  • the existing cluster uses Java authentication features.
  • additional Tangosol/Coherence properties or options are needed.
  • additional JAR files are needed to connect to the cluster.
  • additional JAR files are needed to support custom and third party MBeans.
  • additional JAR files are needed for database access.
  • additional file paths are needed for Coherence configuration files such as POF configuration.
  If any of the above are true, edit the rtview.properties file as follows:  
       
    Add the paths to JAR files required to join the cluster as sl.rtview.cp=property values.  
    Add the paths needed for JAR and Coherence configuration file directories required by the existing cluster, third party applications or database as sl.rtview.cp=property values.  
    Add additional Coherence overrides and Java security properties used by the existing cluster as sl.rtview.jvm=property values.  

4. Save the file.

Proceed to Verifying Your Configuration.

 

 

 


 

RTView contains components licensed under the Apache License Version 2.0.

 

Treemap Algorithms v1.0  is used without modifications and licensed by MPL Version 1.1. Copyright © 2001 University of Maryland, College Park, MD

 

Datejs is licensed under MIT. Copyright © Coolite Inc.

 

jQuery is licensed under MIT. Copyright © John Resig,

 

JCalendar 1.3.2 is licensed under LGPL. Copyright © Kai Toedter.

 

jQuery is licensed under MIT. Copyright (c) 2009 John Resig, http://jquery.com/ JCalendar 1.3.2 is licensed under LGPL. Copyright © Kai Toedter.

 

JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 

SL, SL-GMS, GMS, RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2013 Sherrill-Lubinski Corporation. All Rights Reserved.