Steps to Configure System & Availability Monitoring for an SAP Portal systems using GRMG

1.1       Introduction

The steps below provide step by step instructions to configure monitoring of a J2EE (SAP portals) system from a central system, namely Solution Manager (S00). CEN and S00 are used synonymously and refer to the same system.

The first Steps 1.2   can be skipped unless it is a brand new system and was never setup before in the landscape.

This document has been created/adapted from SAP documentation ‘Monitoring Setup Guide

(CEN SAP NetWeaver 7.0 EhP 1, SPS 08’, mar 2011

1.2       Activate background dispatching in S00(CEN) and in all monitored ABAP

PS: This is only done once so you can SKIP this step unless it is a new system

 

Step-by-Step:

    1. Call transaction RZ21. The Monitoring: Properties and Methods screen appears.
    2. Choose Technical Infrastructure-> Local Method Execution-> Activate -> Background Dispatching.

      1.3       Activate central system dispatching in CEN:

       

      Step-by-Step:

      1. Call transaction RZ21. The Monitoring: Properties and Methods screen appears.
      2. Choose Technical Infrastructure -> Configure Central System -> Activate Central System Dispatching.

        1.4       Creating the CSMCONF Start File for CCMS Agents

        During the registration of CCMS agents, you specify information about the S00/CEN and

        about the users used for communication between the agent and S00/CEN. Create a CSMCONF start file in S00/CEN; you will require this file later, during the registration of the

        CCMS agents. In this case, the current user is used as the required user with administration authorization.

         

        Step-by-Step

        1. In CEN, call transaction RZ21.
        2. 2.      Choose Technical Infrastructure -> Configure Central System->Generate

                    Configuration File for Agents.

        1. Define the storage location (e.g local desktop). When doing so, ensure that you will be able to access this file when setting up the various components.

         

        1.5       Registering a CCMS Agent SAPCCMSR (Java Standalone)

        Step-by-Step

        1. Log on to the server host of a J2EE Engine (Portal) of the system as <SID>adm.
        2. Copy the start file CSMCONF (see step (2) Creating the CSMCONF Start File for CCMS) into the following directory:

        UNIX: /usr/sap/ccms/<SysID>_<InstNo>/sapccmsr

        3. On the J2EE Engine’s host, switch to the following directory:

        UNIX: <J2EE home directory>/JC<InstNo>/j2ee/admin/

        4 .Start the Visual Administrator by calling the start script go (UNIX) from your desktop (you can also fire visual admin from the server and display the output on your desktop using Xwindows). Logon using the user Administrator                                                         5.In the navigation bar, choose Cluster -> <SysID> -> Dispatcher -> Services -> Monitoring, and choose the CCMS Agent Configuration tab page. 6 .   The access data for both users required in CEN is determined from the start file and displayed in the corresponding fields. If necessary, you can change the names of the users or the client.Enter the passwords of the CEN Administration User and the CEN CSMREG User in the Password column. The CEN Administration User is the user with administrator authorization with which you created the CSMCONF start file.

      7.   You can use the Information button to answer the following questions:

        • Is the instance profile of the instance to be monitored valid?
        • Is the CSMCONF start file to be used valid?
        • What is the version of the CCMS agent SAPCCMSR?

      8.   Choose the Register button. The system displays the registration log; errors are highlighted in red. Under UNIX, the agent is automatically started by the startsap script when you start the J2EE Engine.

1.6 Checking the Agent Registration (Highly Recommended)

1. To check whether the agent was successfully registered with CEN, call transaction RZ21 in CEN, select the radio button Agents for Remote Systems, and choose the Display Overview button. The agent that you have just registered appears in the list in the row SAPCCMSR..

2. To check whether the J2EE Engine has been included in the system group J2EE_Systems, call transaction RZ21, and choose Technical Infrastructure -> Configure Central System -> Maintain System Groups. The system ID of the J2EE Engine must be in the tree System Groups for the Alert Monitor -> J2EE_Systems.

3. To check whether data has been transferred to CEN, call transaction RZ20, and choose the Engines monitor from the SAP J2EE Monitor Templates monitor set. There must be asubtree in the monitor.

4. Check whether you can change the threshold values of any performance node for the Java system from CEN (only if you have left the enable CCMS Customizing checkbox selected).

1.7 Monitoring the Portal Infrastructure

Prerequisites: The portal is running on NW 7.0, EHP1, Support Package stack 08.

• You have completed all steps above
• You have a user at operating system level (adm) on the host of the J2EE Engine, where is the system ID of the portal system.
• You have an administration user for the J2EE Engine.
• You have a user with administrator authorization in S00/CEN.

1.8 Configuring Availability Monitoring with the GRMG

You can use the Generic Request and Message Generator (GRMG) to monitor the
availability of the Portal Infrastructure. To do this, you define the required configuration
settings in a GRMG Customizing file, which is transferred to CEN by a CCMS agent.

Step-by-Step
1. On the host of the J2EE Engine of the portal, switch to the following directory:

Unix:/JC/j2ee/admin/

2. Start the Visual Administrator by calling the start script go (UNIX)
3. In the navigation bar, choose Cluster -> Server -> Services -> Monitoring, and choose the GRMG Customizing tab page. Select sap.com/com.sap.engine.heartbeat.
4. Transfer the Customizing file to the CCMS agent, by choosing Upload buton.

1.9 Next Additional Steps in CEN (Sol Man, S00)

1. Call transaction GRMG, and choose Upload/Download -> Poll Agents for new
scenario. Confirm the following query.

2. The system displays a list that contains a scenario with the description GRMG:J2EE.:and the URL http://:/GRMGHeartBeat/EntryPoint.

Checking the Configuration (Recommended)

3. In CEN, call transaction RZ20.
4. Expand the monitor set SAP CCMS Monitor Templates, and start the monitor Availability and Performance Overview. The system displays the availability of the activated scenarios in the subtree GRMG-Tested Availability (Web Components).

About Murtuza

SAP Certified Basis consultant with over 15 years experience in install, design and support and managing complex and large SAP environments

Posted on September 23, 2011, in Monitoring. Bookmark the permalink. 2 Comments.

  1. Hi,
    Our sap portal is NW 7.0 , SP 19
    Will your document be valid for our portal

Leave a comment