Show TOC

 Installing an Agent on a Java Instance (Java Standalone as of NW7.1)Locate this document in the navigation structure

Caution

CCMS agents are no longer required for purely SAP NetWeaver 7.1 landscapes; their functions are performed by SAP NetWeaverSAP NetWeaver Management Agents. More information about when you still require CCMS agents for SAP NetWeaver 7.1: CCMS Agents: Central Monitoring for Components up to SAP NetWeaver 7.0SAP NetWeaver 7.0.

Use

The monitoring data of the Java instance is transferred to CEN using the CCMS agent SAPCCMSR. The agent is part of the instance's installation package. Register the CCMS agent SAPCCMSR manually. Perform the following registration steps for all instances of the system (with the exception of the CS instance).

Note

Note that this description applies only for monitored Java standalone systems with SAP NetWeaver 7.1 (see also Installing an Agent on a Java Instance (NW04/2004s Java Standalone)).

Prerequisites
  • There is a communication user CSMREG in CEN.
  • You have created the CSMCONF start file for CCMS agents in CEN.

The way in which you can fulfill the prerequisites is described in Installing CCMS Agents for SAP NetWeaver Components.

Procedure
  1. Ensure that you have a CSMCONF start file created in CEN available.
  2. Log on to the host of the Java instance that you want to monitor as <SID>adm.
  3. If it does not already exist, create a sapccmsr directory in $DIR_LOGGING of the monitored instance. $DIR_LOGGING is at the following path:

    Microsoft Windows: [drive]:\usr\sap\<SID>\<instance directory>\log

    UNIX: /usr/sap/<SID>/<instance directory>/log

    The instance directory is called JC<InstNo>.

  4. Save the CSMCONF file in the agent's working directory sapccmsr that you have just created.
  5. Change to the directory in which the agent executable sapccmsr or sapccmsr.exe is stored. Depending on the platform, this is:

    Microsoft Windows: [drive]:\usr\sap\<SID>\<instance directory>\exe

    UNIX: /usr/sap/<SID>/<instance directory>/exe

    Note

    If the executable is not there, copy it from the following directory:

    Microsoft Windows: [drive]:\usr\sap\<SysID>\SYS\exe\runU

    UNIX: /usr/sap/<SID>/SYS/exe/runU

  6.  Start the agent with the following command:

    sapccmsr -j2ee -r pf=<path of the instance profile>

    By default, the complete path of the instance profile is:

    Microsoft Windows: c:\usr\sap\<SID>\SYS\profile\<SID>_JC<InstNo>_<Host>

    UNIX: /usr/sap/<SID>/SYS/profile/<SID>_JC<InstNo>_<Host>

  7. 7.      The agent reads the connection data for CEN from the CSMCONF start file, meaning that you only need to confirm the data by pressing the ENTER key. Enter the passwords for the two required users (CSMREG and the administration user with which you created the CSMCONF start file).
  8. Confirm additional details, such as system groups to which the monitored system belongs, or details about setting up the service with the ENTER key.
  9. Under Microsoft Windows, the agent is entered as a service during registration, and is automatically started during a restart of the host. Note that the user with which you register the agent must be a local administrator. Under UNIX, the agent is automatically started by the startsap script when you start the instance.
Result

You have connected the Java instance to the central monitoring system CEN. To be able to change threshold values from CEN, you also need to Create the Customizing Destination for SAPCCMSR -j2ee.

 CCMS Agents start page