Installing an Agent on a SAP Web AS 6.20 Java Instance/Other Hosts
Use
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).
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
- Log on the relevant host as the administrator and create a separate directory for the installation (such as install_mon).
- Download the package CCMAGENT.SAR for your platform from the SAP Service Marketplace and place it in the directory install_mon. Depending on your platform, use either 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 Support Packages and Patches → Browse Our Download Catalog → SAP NetWeaver and complementary products → SAP NetWeaver → SAP NetWeaver 04 → Entry by Component → Application Server ABAP → SAP KERNEL 6.40 32/64-BIT → <platform> → Database Independent.
- Download the package SAPOSCOL.SAR for your platform from the SAP Service Marketplace and place it in the directory install_mon. Depending on your platform, use either 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.
- 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).
- 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.
- 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.
- UNIX:
- Copy the CSMCONF start file to the following directory, depending on your platform:
- Microsoft Windows: \\<hostname>\saploc\prfclog\sapccmsr
- UNIX: /usr/sap/tmp/sapccmsr
- 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.
- 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
Result
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