Entering content frame

Procedure documentation Activating CCMS for TREX Locate the document in its SAP Library structure

Use

To activate the TREX monitoring for CCMS, you must register the CCMS agent SAPCCMSR with the central monitoring system (CEN) and start it. During the registration process, you enter details of the CEN and the users through which communication between the agent and CEN is processed.

Caution

After completion of the TREX installation, a CCMS agent is already entered in the TREX start profile and automatically started using a stand-alone option. With the stand-alone option, the agent runs so that the TREX tree is displayed only in your local SAP Management Console, communication with the central CCMS system is not possible until you have registered.

Note

For more details about the CCMS agents and registration, see Structure linkCCMS Agents and Structure linkInstalling/Registering the CCMS Agents for Experts.

Procedure

...

       1.      You run certain scripts to set the correct environment variables:

                            a.      Log on to the TREX host as root (UNIX) or as Administrator (Windows).

                            b.      Go to the directory <TREX_DIR>.

                            c.      Set the environment variables required by TREX by executing the following scripts in a command prompt:

UNIX

      Bourne shell sh, Bourne-again shell bash, Korn shell ksh

.TREXSettings.sh

      C Shell csh:

source TREXSettings.csh

Windows

TREXSettings.bat

       2.      To stop the CCMS agent, enter the following:

sapccmsr pf=<instance_profile> -j2ee -standalone –stop

You can find the CCMS agent in the directory <TREX_DIR>/exe. The <instance_profile> for your TREX installation has the following format: <SAPSID>_TRX<instance_number>_<host>.

       3.      Register the CCMS agent with the central monitoring system (CEN):

sapccmsr pf=<instance_profile> -j2ee –R pf=<profile_path>

<profile_path>is the complete file path for the profile of the monitored instance including the <instance_profile>. You can find the profile file in the global file system for your TREX installation:

     Windows:<drive>:\usr\sap\<SAPSID>\SYS\profile\
<SAPSID>_TRX<instance_number>_<host>

     UNIX:/usr/sap/<SAPSID>/SYS/profile/
<SAPSID>_TRX<instance_number>_<host>

During the registration of the CCMS agent, the following user data is queried:

     Client

     User name

     Logon language

     Host name of the message server in the central monitoring system

     Indicator as to whether load-balancing is to be used for logon

     Logon group name for logging on (if load-balancing is activated)

     Host name of the application server for logging on (if load-balancing is deactivated)

     System number of the application server for logging on (if load-balancing is deactivated)

     Host and port of the SAProuter in the form /H/<router host>/S/<router port>/H (optional, only necessary in exceptional cases)

     Indicator for a trace (0 = no, 1 = yes)

     User password; the password is used once only to log on as described above and is not saved

     Gateway connection data (normally the message server for the central monitoring system), that the CCMS agent uses to communicate with the RFC server

     Gateway host name

     Gateway system number

     Name of the system group:

[optional] monitored system <SAPSID> belongs to system group:

Note

For more information about the user data queried, see Structure linkRegistering the CCMS Agents in Dialog. If there is a default value for an entry, this is presented in square brackets. If you want to apply this value , choose ENTER.

       4.      When the name of the system group is queried, you assign the TREX system for the SAP system ID <SAPSID> as the monitored system to the TREX_Systems system group in the central monitoring system:

[optional] monitored system <SAPSID> belongs to system group: TREX_Systems

       5.      In the TREX start profile START_TRX<instance_number>_<host>, change the launch of the CCMS agent. You can also find the TREX start profile in the global file system for your TREX installation.

     UNIX

In the start profile, delete the parameter -standalone so that the following entry remains:

sapccmsr pf=<instance_profile> -j2ee -DCCMS

     Windows

In the start profile, delete the entire entry for the CCMS agent. Since the CCMS agent runs as a separate service after the registration in step three, an entry is not required.

Note

You can use a text editor or the Structure linkSAP Management Console to change the start profile.

Result

To check whether SAPSOCOL is active in your system, proceed as follows:

...

...

       1.      Call up transaction RZ20 in the CCMS system.

       2.      Go to SAP CCMS Monitor Templates.

       3.      Choose Operating System.

The following information should now be displayed:

Operating System

       <host_name>

           Filesystems

           CPU

           Paging

           Commit_Charge

           OS_Collector

           Lan

           Monitored Processes

           Network

 

 

Leaving content frame