Show TOC

 Installing an Agent on a SAP Web AS 6.20 Java Instance/Other HostsLocate 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 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.0.

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).

Note
  • Note that this description applies only for monitored J2EE Engines as with a release status of SAP Web AS 6.20.
  • 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.
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. Log on the relevant host as the administrator and create a separate directory for the installation (such as install_mon).
  2. 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 NetWeaverSAP NetWeaver 04 → Entry by Component → Application Server ABAP → SAP KERNEL 6.40 32/64-BIT → <platform> → Database Independent.

    Note

    If you cannot find the archive for your operating system there, proceed as described in Downloading CCMS Agents.

  3. 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.
  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

    Note

    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'

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