SAP CEN configuration for CCMS Alerts
(Kernel 7.21 and above for satellite system)
Summary:-
This document contain the step by step how to configure the CEN configuration for CCMS alerts in kernel 7.21 and above of satellite systems.
Created by: Brindavan Mookaiah
Designation: SAP BASIS Consultant
Table of Contents
SMTP Configuration .....................................................................................................
Configure CEN (Central Monitoring System)...................................................................
Create the CSMREG User.............................................................................................
Activating Background and Central System Dispatching ..................................................
Step-by-Step ................................................................................................................
Activate central system dispatching in CEN ...................................................................
Registering a CCMS Agent SAPCCM4X for ABAP-System ...............................................
Creating Central Z Method for Alerting ..............................................................................
Auto Reactions for E-Mail Alerting in SBWP.......................................................................
Assigning Z method to MTE classes .................................................................................
Testing method assignment and mail alert .........................................................................
SMTP Configuration
Go to TR:”SCOT” double click on “SMTP”
Image may be NSFW.
Clik here to view.
Provide the SMTP connection information.
Image may be NSFW.
Clik here to view.
Provide the Default Name as “your FQDN”
Image may be NSFW.
Clik here to view.
Schedule the send job
Image may be NSFW.
Clik here to view.
Configure CEN (Central Monitoring System)
Create the CSMREG User
Note: You must create this user in CEN and all monitored ABAP systems.
Goto T-code RZ21 ->Technical Infrastructure -> Configure Central System -> Create CSMREG User
Specify any password for this user. You require it during the installation and registration of the CCMS agents
and when creating RFC destinations in monitored systems, among other things.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Activating Background and Central System Dispatching
For all data collection methods in the monitoring architecture to be correctly started, background dispatching
needs to be activated. It starts all data collection methods that are executed periodically in the background
process (as jobs). To execute an auto-reaction in CEN for alerts from remote systems, central system
dispatching needs to be activated.
Note: Activate background dispatching in CEN and in all monitored ABAP systems in client 000.
•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.
•Choose Technical Infrastructure Method Execution Background Dispatching
Image may be NSFW.
Clik here to view.
Background dispatching is performed by the job SAP_CCMS_MONI_BATCH_DP, which runs once an hour.
Note that not only this job, but also the data collection methods started by this job, run under your user
name. You should therefore ensure that your user has the authorizations required for this.
Activate central system dispatching in CEN
Step-by-Step
•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.
•Choose Technical Infrastructure Central System Central System Dispatching.
Central system dispatching is performed by the job SAP_CCMS_CENSYS_DISPATCHER.
Image may be NSFW.
Clik here to view.
Registering a CCMS Agent SAPCCM4X for ABAP-System
If the connecting systems are more than kernel version is 7.21.
Note : Please be aware, that in this release
there is already an integrated sapccm4x agent always started in
sapstartsrv by default, and you are not allowed to use both types of
the agents simultaneously, it will lead to inconsistencies.
If you do not have a special reason to use classical RFC sapccm4x
agents, then please unregister these agents from CEN, please move the
content of the agent working directory (DIR_LOGGING/sapccm4x on each
instance) to another place and restart sapstartsrv with (sapcontrol -nr 02 -function RestartService SID)
Kindly follow the below steps to install sapccm4x gent
1) Please move the content of the agent working directory (DIR_LOGGING/sapccm4x on each instance)
to another place.
2) please restart sapstartsrv with “sapcontrol -nr 02 -function RestartService
Image may be NSFW.
Clik here to view.
3) Login into SOLAM system and got to T-code RZ21 and then click
Image may be NSFW.
Clik here to view.
The screen will appear like below to select the system type and the press enter.
Image may be NSFW.
Clik here to view.
4) Fill the required system information in the below screen
Image may be NSFW.
Clik here to view.
Once the system is registered then goto T-code RZ21 and click Agent for remote systems-->Display
Image may be NSFW.
Clik here to view.
Note: If the system CI and DB install in different host. Please install the sapccmsr agent on DB-host
to get the alerts from database host system.
Creating Central Z Method for Alerting
In Transaction RZ21 Click on Topology -> Method -> Display Overview
Copy “CCMS_OnAlert_Email_V2” to “Z:central_CCMS_OnAlert_Email ”
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Change option to “Only in Central System, Triggered by CCMD agents”
Image may be NSFW.
Clik here to view.
Maintain Below parameters
Image may be NSFW.
Clik here to view.
Note: make sure that the SENDER user id is mentioned in the upper case letters below and it is present in the client 000
of Solution Manager system.
Check “Auto –Reaction Method”
Image may be NSFW.
Clik here to view.
Auto Reactions for E-Mail Alerting in SBWP
Crating Distribution list for E-mail alerting --> Goto TR:SBWP
Create Folder “z” folder under shared
Image may be NSFW.
Clik here to view.
Title=<something>
Select the second field of „Entry in DL‟ to „External Address‟
Image may be NSFW.
Clik here to view.
Then click on Create button
You need to specify a folder by clicking on F4 button.
If there are no folders create a folder, say, ZBASIS etc..
Click on „Create Folder‟
Image may be NSFW.
Clik here to view.
Mention the folder which you created if not please created the folder.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
To see the distribution list from SBWP transaction, click on „Shared Folders‟ on the left,
To add list of email ids to the group double click on „BASISEMAILGRP‟ on the right.
Select “Z” folder and click on “Distribution Lists” and create “BASISEMAILGRP”
Image may be NSFW.
Clik here to view.
Mention your E-mail address
Image may be NSFW.
Clik here to view.
Assigning Z method to MTE classes
Select TBI and click on „MTE Classes from System‟ button to refresh MTEs from TBI system
Image may be NSFW.
Clik here to view.
Then select the MTEs you want from the middle section and then select central auto reaction method from
right.
Click on „Assign Central Auto-Reaction‟ button,
Select the first checkbox below and then click OK.
Image may be NSFW.
Clik here to view.
Note: Similarly assign the central auto reaction method to as many MTEs as you wish.
You can go to satellite system and check if the auto reaction method assigned.
Testing method assignment and mail alert
Goto T-Code: RZ20 and click the MTE class which you have already assigned the Zmethod
Example: I have assigned for “Abortedjobs”
Image may be NSFW.
Clik here to view.
Click on “YES”
Image may be NSFW.
Clik here to view.
Now we can alert see alert in INBOX with Subject and body
Image may be NSFW.
Clik here to view.
Note : For SOLMAN7.1 you can go-forward to install SMD agent installation.
For more details : Please find the following link about the SMD.
http://wiki.scn.sap.com/wiki/display/SMSETUP/Installation+of+SMD+Agent+With+SWPM+SP04
Home - SAP Solution Manager Setup - SCN Wiki
Step by step how to Install Diagnostics Agent and connect the agent to adaptive computing