Installing an Agent on a SAP Web AS 6.20 Java
Instance/Other Hosts
Use the CCMS agent SAPCCMSR to centrally monitor one of the following components:
· An instance of a J2EE Engine with a release status of SAP Web AS 6.20
· A host on which SAP standalone components or non-SAP components (such as a database) are running
The agent transfers the monitoring data to a central monitoring system (CEN).

· Note that this description applies only for monitored J2EE Engines as with a release status of SAP Web AS 6.20. In the case of J2EE Engines with a release status of SAP NetWeaver 04, proceed as described under Installing an Agent on a Java Instance (Java Standalone System) or Installing an Agent on a Java Instance (Double-Stack System).
· If you want to monitor a TREX host with the agent, proceed as described in SAP Note 704349.
·
In the
following procedure, the
operating system
collector SAPOSCOL is also installed and started in addition to the
SAPCCMSR agent.
· 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.
...
1. Log on the relevant host as the administrator and create a separate directory for the installation (such as install_mon).
2. From the SAP Service Marketplace, copy the package CCMAGENT.SAR for your platform to the directory install_mon. Depending on your platform, use the 32-bit version or the 64-bit version for SAP Web AS 6.40.
You can find the package in the area SAP Support Packages and Patches (http://service.sap.com/swdc) under Download → Support Packages and Patches → Entry by Application Group → SAP NetWeaver → SAP NETWAEVER → SAP NETWEAVER 04 → ABAP Server → SAP KERNEL 6.40 32/64-BIT → <Platform> → Database Independent.

If you cannot find the archive for your operating system there, proceed as
described in
Downloading CCMS
Agents.
3. From the SAP Service Marketplace, copy the package SAPOSCOL.SAR for your platform to the directory install_mon. Depending on your platform, use the 32-bit version or the 64-bit version for SAP Web AS 6.40. You can find the package in the same way as above.
4. Unpack the CCMAGENT.SAR and SAPOSCOL.SAR packages with the SAPCAR program. If you do not have the fool, download it (Download → Support Packages and Patches → Additional Components → SAPCAR → SAPCAR 6.20 → SAPCAR 6.20 → <Platform>). Use the following command for unpacking:
sapcar -xvf <package>
Among other things, the directory install_mon now contains the files SAPOSCOL and SAPCCMSR (name extensions depending on the platform).
5. Depending on your platform, download the package INSTALL_UX.SAR or INSTALL_WIN.SAR from the attachment to SAP Note 704349 to the install_mon directory and unpack the archive.
6. Proceed as follows, depending on your platform:
¡ UNIX:
Log on as the root user and start install_root.sh.
Switch to the original user and start install_user.sh.
¡ Microsoft Windows:
Execute the script install.cmd.
7. Copy the CSMCONF start file to the following directory, depending on your platform:
¡ Microsoft Windows: \\<hostname>\saploc\prfclog\sapccmsr
¡ UNIX: /usr/sap/tmp/sapccmsr
8. You now need to register the CCMS agent with CEN and start the agent. Use the following command to do this:
¡ UNIX: /usr/sap/ccms/bin/sapccmsr -R
¡ Microsoft Windows: \\<hostname>\saploc\prfclog\sapccmsr.exe -R
During the registration, enter the passwords of the users to be used for communicating with CEN, and confirm the other specifications.
9. Under UNIX, you must ensure yourself that SAPCCMSR and SAPOSCOL are automatically started again when the host is restarted. To do this, enter the following commands in the inittab (/etc/inittab):
/usr/sap/ccms/bin/saposcol
/usr/sap/ccms/bin/sapccmsr –DCCMS

If the agent is monitoring a SAP Web AS 6.20 Java instance, the agent should be started under the user <SID>adm. In this case, instead of /usr/sap/ccms/bin/sapccmsr –DCCMS, enter the following command in the inittab:
su - <SID>adm -c '/usr/sap/ccms/bin/sapccmsr -DCCMS'
The J2EE
Engine or the monitored host is now registered with CEN; you can see the
corresponding monitoring data in the
Alert Monitor in
CEN. The displayed monitoring data includes the data at operating system level
that is collected by the operating system collector SAPOSCOL.
CCMS Agents start
page