Show TOC

Adjusting Methods for Availability Monitoring with CCMSPINGLocate this document in the navigation structure

Use

Multiple data collection methods of the CCMS monitoring infrastructure are used in the context of availability monitoring with CCMSPING. This are:

  • Check whether it is possible to log on to a particular ABAP instance

    This check is performed by the data collection method CCMS_AVAIL_LOGON_CHECK. To perform the check, the system executes an RFC call to the relevant instance. Although no actual logon is performed, you can, however, determine whether it is possible to log on ‑ since the RFC call requires a free dialog work process, in the same way as a user logging on does.

    You can activate this function in the Configuration of the Availability Monitoring by activating the Logon Check for the desired instance or system.

  • Check if the host on which an instance is running is accessibl with a technical ping

    This check is performed by the data collection method CCMS_HOSTPING. For this check, either an NI ping or an ICMP ping is performed, depending on how the method parameters are set.

    The checking of the hosts is active by default, and runs in the background by default.

Data collection methods of the CCMS monitoring infrastructure can basically run in dialog or in the background. Methods that run in dialog are called every five minutes by the program SAPMSSY8. There is a runtime restriction of five minutes for all methods, and about two minutes per method. If this runtime is exceeded, the method status changes to FATAL ERROR, and the method is no longer executed. Methods that run in background processing are, by default, only started once an hour by the background dispatcher. The methods listed above, however, run in a separate job that can also be called more frequently. We recommend that you run these methods in the background, if they exceed their runtime..

Procedure

To run the methods specified above in the background or in dialog, proceed as follows:

  1. Start transaction RZ21, ad choose the menu path Start of the navigation path Technical Infrastructure Next navigation step Availability Monitoring Next navigation step Configure CCMSPING Availability Mon. End of the navigation path.

  2. Perform the following actions, depending on which methods you want to execute in dialog or in the background:

    Desired Setting

    Procedure

    Run logon check in dialog

    Choose Start of the navigation path Monitoring Next navigation step Move logon check to dialog End of the navigation path.

    Run logon check in the background

    Choose Start of the navigation path Monitoring Next navigation step Move logon check to batch End of the navigation path, and on the subsequent screen, in the Job Repetition Frequency, specify in minutes how often the check should be performed.

    Run host ping in dialog

    Choose Start of the navigation path Monitoring Next navigation step Move host ping to dialog End of the navigation path.

    Run host ping in the background

    Choose Start of the navigation path Monitoring Next navigation step Move host ping to batch End of the navigation path.

You can also make other settings for the checking of the host availability. To do this, change the method parameters of the method CCMS_HOSTPING. To do this, follow the procedure below:

  1. Start transaction RZ21; in the Methods group box, select Method Definitions and choose Display Overview.

  2. Select the method CCMS_HOSTPING, and choose the Edit Data button.

  3. You have navigated to the Monitoring: Methods screen. Choose the Parameters group box, and switch to change mode by choosing the Display<-> Change button.

  4. You can set the following parameters in accordance with your requirements:

    Parameter

    Meaning

    TRACE

    Specifies whether a trace is to be activated for the method ( X). Set this parameter only if instructed to do so by SAP Support.

    DO_PING

    Specifies whether the host ping is to be performed. This is the case by default, and the default value is therefore X. If you do not want to have the check performed, replace this value with a space.

    DO_ICMP

    Specifies whether an ICMP pring or an NI ping is performed. The default value is X, that is, an ICMP ping is performed.

    IN_BATCH

    Specifies whether the check is to be performed in the background. This is the case by default, and the default value is therefore X. If you want to perform the check in dialog, replace this value with a space.

    BATCH_FREQ

    Specifies the period between two checks in minutes. This parameter is only relevant if the check is performed in the background. The default value is 5, that is, a ping is sent to the monitored host every five minutes.

    NO_TASKS

    Specifies the number of work processes in which the host availability monitoring can be performed in parallel. The default value is 5, that is, the check is performed in parallel in a maximum of five work processes.

  5. Save your changes.