cen configuration for ccms alerts

24
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 CEN Configuration for CCMS Alerts Applies to: SAP NetWeaver 7.0 (2004s) SPS 12. For more information, visit the Operations homepage . Summary This document contains the Important and the entire steps to configure the CEN System in your Company Landscape. The primary purpose of this document is to make the configuration steps easy. Author: Nagendra Annabheemoju Company: Accenture Services Pvt. Ltd. Created on: 20 October 2010 Author Bio Nagendra Annabheemoju is a Certified SAP NetWeaver BASIS Consultant from Accenture Services Pvt. Ltd. He has wide experience in Implementations, configurations and upgrades.

Upload: hamed-ali

Post on 11-Aug-2015

86 views

Category:

Documents


11 download

DESCRIPTION

Good PDF for CCMS Alerts

TRANSCRIPT

Page 1: CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 1

CEN Configuration for CCMS Alerts

Applies to:

SAP NetWeaver 7.0 (2004s) SPS 12. For more information, visit the Operations homepage.

Summary

This document contains the Important and the entire steps to configure the CEN System in your Company Landscape. The primary purpose of this document is to make the configuration steps easy.

Author: Nagendra Annabheemoju

Company: Accenture Services Pvt. Ltd.

Created on: 20 October 2010

Author Bio

Nagendra Annabheemoju is a Certified SAP NetWeaver – BASIS Consultant from Accenture Services Pvt. Ltd. He has wide experience in Implementations, configurations and upgrades.

Page 2: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 2

Table of Contents

SMTP Configuration ........................................................................................................................................... 3

Configure CEN (Central Monitoring System) ...................................................................................................... 4

Create the CSMREG User .............................................................................................................................. 4

Activating Background and Central System Dispatching ................................................................................ 5 Step-by-Step ................................................................................................................................................................ 5

Activate central system dispatching in CEN ................................................................................................... 5 Step-by-Step ................................................................................................................................................................ 5

Creating the CSMCONF Start File for CCMS Agents ..................................................................................... 6 Step-by-Step ................................................................................................................................................................ 6

Step-by-Step ................................................................................................................................................................ 7

Checking the Entries ....................................................................................................................................... 8

Registering a CCMS Agent SAPCCM4X for ABAP-System ......................................................................... 10

Creating Central Z Method for Alerting ......................................................................................................... 16

Auto Reactions for E-Mail Alerting in SBWP................................................................................................. 18

Assigning Z method to MTE classes ............................................................................................................. 21

Testing method assignment and mail alert ................................................................................................... 22

Related Content ................................................................................................................................................ 23

Disclaimer and Liability Notice .......................................................................................................................... 24

Page 3: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 3

SMTP Configuration

Go to TR:”SCOT” double click on “SMTP”

Provide the SMTP connection information.

Provide the Default Name as “your FQDN”

Page 4: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 4

Schedule the send job

Configure CEN (Central Monitoring System)

Create the CSMREG User

Note: You must create this user in CEN and all monitored ABAP systems.

•Goto 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.

Page 5: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 5

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.

Step-by-Step

•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.

•Choose Technical Infrastructure Local Method Execution Activate Background Dispatching.

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 Configure Central System Activate Central System Dispatching. Central system dispatching is performed by the job SAP_CCMS_CENSYS_DISPATCHER.

Page 6: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 6

Creating the CSMCONF Start File for CCMS Agents

During the registration of CCMS agents, you have to specify information about the CEN and about the users used for communication between the agent and CEN. Create a CSMCONF start file in 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

•In CEN System, call transaction RZ21.

•Choose Technical Infrastructure Configure Central System Create CSMCONF Start File for Agents.

•Define the storage location. When doing so, ensure that you will be able to access this file when setting up the ABAP and JAVA Systems.

Entering Monitored ABAP Systems in CEN

To monitor remote ABAP systems in CEN, create a corresponding entry in the alert monitor. We do this for the following purpose:

Data collection (transferring monitoring data to CEN)

Analysis (calling analysis methods in the monitored system from CEN)

Page 7: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 7

Step-by-Step

Call transaction RZ21 in CEN.

Choose Technical Infrastructure Configure Central System Create Entry for Remote System.

The Monitoring: Create New Entry screen appears. Choose Goto RFC Connections.

If no suitable RFC destination exists for the system that you want to monitor, choose Create.

Make the following specifications on the definition screen:

RFC Destination: Enter a name for the RFC destination; we recommend the following naming

convention:

o <SID of the monitored system>_RZ20_COLLECT or

o <SID of the monitored system>_RZ20_ANALYZE

o Connection Type: 3

o Description: Enter a description for the RFC destination. Choose the Logon/Security tab

page, and, depending on the RFC destination to be created, enter the data for the

appropriate user in the Logon group box.

o RFC Destination for Data Collection <SID>_RZ20_COLLECT: Enter the CSMREG user that

you created in the relevant system.

o RFC Destination for the Execution of the Analysis Method <SID>_RZ20_ANALYZE: Either

choose the Current User option, or enter any user of your choice (in both cases, the user

must have authorization for the alert monitor and for system administration in the target

system).

o . Choose the Technical Settings tab page, and make the required entries. We recommend

that you choose the option Yes for load distribution, and select the radio button Hostname

for Save to database as.

Save your entries and set up the second RFC destination in the same way.

To return to the Monitoring: Create New Entry screen, choose the Back button.

Create the entry for monitoring a remote ABAP system here. Make the following entries when doing

so:

o Target System ID: System ID of the monitored system

o RFC Destination of the Target System for Data Collection and RFC Destination of the Target

System for Executing Analysis Methods are the names of the RFC connections to the

monitored system that you have just created.

Save your entries, and enter all other ABAP systems to be monitored in the same way.

Page 8: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 8

Checking the Entries

• To check the entries for the monitored systems, call transaction RZ21, select the radio button System Overview in the Topology group box, and choose the button Display Overview.

• The system displays a list of the monitored systems. To test the connection, select the desired row and choose the Test Single Connection

Page 9: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 9

Page 10: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 10

Registering a CCMS Agent SAPCCM4X for ABAP-System

To monitor an ABAP instance of an SAP system, use the CCMS agent SAPCCM4X. This agent creates an alternative connection route between the monitored instance and the central monitoring system (CEN). You have to register the agent SAPCCM4X for every ABAP instance of the monitored system.

•Connect to Remote System with administration authorization (SIDADM)

•Copy the csmconf file

•Run the below command to start the configuration

sapccm4x –R pf=\\hostname\sapmnt\SID\SYS\profile\<Instance Profile Name>

Page 11: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 11

Page 12: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 12

Page 13: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 13

Page 14: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 14

Enter password below and proceed,

Just press enter without entering anything in the below screen shot

Page 15: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 15

Enter y and press enter,

In Transaction RZ21 Click on Topology -> Agent for Remote Systems -> Display Overview

Click “Display Overview” ,you can find the agents registerted systems.

Page 16: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 16

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 ”

Page 17: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 17

Change option to “Only in Central System, Triggered by CCMD agents”

Maintain Below parameters

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”

Page 18: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 18

Auto Reactions for E-Mail Alerting in SBWP

Crating Distribution list for E-mail alerting -- Goto TR:SBWP

Create Folder “z” folder under shared folders

Select „Ty.‟ = Shared distribution list

Name=<something>

Title=<something>

Select the second field of „Entry in DL‟ to „External Address‟

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, ZFOLDER

Click on „Create Folder‟

Page 19: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 19

Enter the folder name „ZFOLDER‟ and description as „folder‟ and click ok.

Click save below.

Page 20: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 20

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”

Mention your E-mail address

Page 21: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 21

Assigning Z method to MTE classes

Select TBI and click on „MTE Classes from System‟ button to refresh MTEs from TBI system

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.

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.

Page 22: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 22

Testing method assignment and mail alert

Go to TR; RZ20 dig the MTE class which you have already assigned the Zmethod

Example: I have assigned for “Abortedjobs”

Double click on Z method

Click on “YES”

Now we can alert see alert in INBOX with Subject and body

Page 23: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 23

Related Content

Monitoring

Setting Up your Monitoring

Configuring the Monitoring Architecture

For more information, visit the Operations homepage.

Page 24: CEN Configuration for CCMS Alerts

CEN Configuration for CCMS Alerts

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

© 2010 SAP AG 24

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.