Installing an Agent on a Java Instance (Java Standalone as of NW7.1)
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).
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
- Ensure that you have a CSMCONF start file created in CEN available.
- Log on to the host of the Java instance that you want to monitor as <SID>adm.
- 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>.
- Save the CSMCONF file in the agent's working directory sapccmsr that you have just created.
- 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
- 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. 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).
- Confirm additional details, such as system groups to which the monitored system belongs, or details about setting up the service with the ENTER key.
- 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