How to Guide :: Setup Central Monitoring for SAP PI Systems

How to Guide :: Setup Central Monitoring for SAP PI Systems Document Control Section
Title Version Task File Name Path Author Template Created Last Author Last Edited Print Date Number of Pages Comments 1931 Sunday, 14 June 2009 22 Monday, May 25 2009 How to Guide :: Setup Central Monitoring for SAP PI Systems DRAFT version How to Guide PI - CEN - sent_new_working.doc D:\My Documents

Revision Date

Revision Description

Status Target Readership : SAP System Administrator; Support Engineers

Approved By: Name and Title:

Date

/

/

CONFIDENTIAL

PAGE 2 OF 22

14/06/2009 23:53:30

A. B.How to Guide :: Setup Central Monitoring for SAP PI Systems TABLE OF CONTENTS I. A. V. C. INTRODUCTION CCMS (COMPUTING CENTER MANAGEMENT SYSTEM) CCMS MONITORING FOR PI PRE-REQUISITES STEP BY STEP PROCEDURE STEP TO BE DONE ON THE PI SYSTEM ( SATELLITE SYSTEM ) STEP TO BE DONE ON SOLUTION MANAGER SYSTEM ( CEN SYSTEM ) CONFIGURE THE GRMG SCENARIO FOR JAVA COMPONENTS CREATE A CUSTOM VIEW FOR MONITORING THE ALERTS THE MONITORING TOOLS CHECKLIST REFERENCES NOTES GUIDES 4 4 5 6 7 7 8 13 15 19 21 22 22 22 CONFIDENTIAL PAGE 3 OF 22 14/06/2009 23:53:30 . II. D. B. III. B. A. E. IV.

SAP’s Monitoring Infrastructure provide the two main tools : 1) SAP NetWeaver Administrator (NWA) Java WebDynpro application. available as of SAP NetWeaver ´04 Support Package 12 On SAP NetWeaver ´04. 7. Problems are displayed as soon as they occur.0 (based on SAP NetWeaver 7. CCMS (Computing Center Management System) With the monitoring architecture of the CCMS (Computing Center Management System). administrators can drill down to a monitored component to remove the cause of an alert using predefined analysis functions. Preventive monitoring with alerts No admin activity is required except in case of alerts. Introduction a. SAP Solution Manager will be enhanced by administrative functions with Enhancement Package 1.Fully integrated into SAP Solution Manager 2) SAP Solution Manager 7. which reduces the time required for error identification and correction. SAP’s Monitoring Infrastructure has the following benefits : Central monitoring Large landscapes can be centrally monitored at a low total cost of operation. central monitoring Two important Roles for NWA: a) Local NWA role (as of 7. no administration As of SPS 15 (available since February 2008): All functions of SAP NetWeaver Administrator’s central role are merged into SAP Solution Manager 7.1) for Administration of local AS Java. Full scalability Landscapes with only a few components or a large number of components can be efficiently monitored. the log files can also be accessed from one location. and therefore to make the administrators’ work easier. SAP provides a monitoring architecture to make all required information available in a central monitoring system (CEN).0) Before SPS 15: support-focused. includes monitoring and reporting.0. Alert notifications (e-mail. CONFIDENTIAL PAGE 4 OF 22 14/06/2009 23:53:30 . Assisted problem detection and resolution From the central system.0: Administration of Java components. SMS …) can be triggered automatically. additional component-specific functions b) Central NWA role .How to Guide :: Setup Central Monitoring for SAP PI Systems I.

Alert Configuration and Alert Inbox 7. CCMS. the alert monitor also provides information on the qRFC queues relevant for PI. CCMS monitoring For PI The SAP Computing Center Management System (CCMS) provides a special alert monitor for SAP NetWeaver PI. Message Monitoring 3. CONFIDENTIAL PAGE 5 OF 22 14/06/2009 23:53:30 . Index Administration 6. The CCMS Monitor can also provide information on the monitored components. which can be used to monitor the PI ABAP and Java components (including the Business Process Engine) centrally. Cache Monitoring There are two main ways to configure the PI monitoring 1. NetWeaver Administrator ( for monitoring multiple Pi Installation ) You can access both the methods by http://<host?:<port>/dir.How to Guide :: Setup Central Monitoring for SAP PI Systems b. End-to-End Monitoring and Configuration 4. and that they are processed in chronological order. These queues ensure that messages in PI are processed exactly once only. and Alert Framework Requires that these basic services are provided by one central monitoring server Queries the System Landscape Directory (SLD) for information about distributed process integration components and their communication addresses Provides central Web browser access to monitoring UIs through the Runtime Workbench For effective PI monitoring. Performance Monitoring 5. The CCMS Monitor for PI : Makes use of basic SAP NetWeaver Application Server (AS) monitoring services such as PMI. under Configuration and Monitoring NetWeaver Administrator / Runtime Workbench . Runtime workbench ( for monitoring an individual PI installation ) 2. following are the components needs to be monitored : 1. Component Monitoring 2.

Automatically .r3. Stop and restart the following services via NWA to trigger the self-registration of Adapter Engine and Runtime Workbench com.sysnr com.server.2. 3.aii.1.3.af. execute the report “RSXMB_ACTIVATE_ICF_SERVICES” (see also SAP Note 517484) to activate the required ICF services on the Central monitoring system (CEN) and the Integration server (ABAP system) 5.app com.aii.sap.sap. The Runtime Workbench and other services.sap.server.sap.htm SAP Note 923359 .cpa. Ensure the PI system is registered in the Solution Manager System. com. Verify the system details You can either choose to perform the configuration steps using the Configuration wizards “ wizard based Configuration” or perform them manually.aii. 5. com.httpport 2.rwb.rwb. Manually . Pre-requisites 1. Before you do this.2.com/com. This J2EE role is mapped to role SAP_XI_ADMINISTRATOR_J2EE 3.4. Define the central monitoring system in the exchange profile.sap.ashost ( fully qualified host name ) com. 1. please maintain the following parameters in the exchange profile 3. 1.Template Installer CONFIDENTIAL PAGE 6 OF 22 14/06/2009 23:53:30 .server.exprofui/XIProfileApp 2.serviceuser.sap.1.r3. user with J2EE security role administrator is required.0 ) or bi-directional synchronization ( SLD 7. The content of the System Landscape Directory (SLD) must be consistent.Collective Note: Configuration Wizard .aii.aii.3.rwb.aii. the technical systems need to be described in the SLD. incase you are planning to use any user other than PIRWBUSER (default user) for runtime workbench. which both SAP PI and SAP Solution manager system access or separate SLDs synchronized via a SLD Bridge ( SLD 7.name com. when prompted for login. Also.af.r3. This type of self-registration does not require SLD bridges.sap.rwb.2.rwb 6.sap.centralmonitoring.1.serviceuser.rwb.10 ) 6. There are two complementary ways to provide the SLD with PI-specific content: 5.aii.aii.xi.rwb.PI components register themselves with the SLD as soon as they are started up.1.You define business systems by using the Business Landscape UI of the SLD.server. Note Logon to the Solution Manager SLD Home Technical Systems set the filter GO The PI system should be listed. It can be the central SLD.centralmonitoring.sap.serviceuser. read component and addressing information from the SLD.sap. 6.com/saphelp_nwpi71/helpdata/en/92/f418418291a854e10000000a1550b0/fra meset.centralmonitoring.centralmonitoring.language 4. 3.app com. 1.1. You can maintain the exchange profile parameters via the following link http://<host:port>/webdynpro/dispatcher/sap.aii.How to Guide :: Setup Central Monitoring for SAP PI Systems II.client com.rwb. For details on the “Wizard based configuration” please check : http://help.xi.pwd com. Specify the following parameters 1. for example the directory cache refresh.2.sap.sap.

Step to be done on the PI system ( satellite System ) Configure CCMS for monitoring PI : 1. if the CSMREG users is being used for some other purposes. 4. ensure that the background job “SAP_CCMS_MONI_BATCH_DP” is scheduled and active. P71 in this case. 2. Step by Step Procedure a. Execute the transaction RZ20 and “activate the background dispatching” 3. Now create the user which will be used for monitoring purposes Note : You can Create a new user and use for subsequent configuration. Logon to the PI/XI system ( satellite system from Solution Manager System ) . CONFIDENTIAL PAGE 7 OF 22 14/06/2009 23:53:30 .How to Guide :: Setup Central Monitoring for SAP PI Systems III.

ensure that the background job “SAP_CCMS_CENSYS_DISPATCHER” is scheduled and active.How to Guide :: Setup Central Monitoring for SAP PI Systems b. Step to be done on Solution Manager system ( CEN System ) 5. logon to the Central Monitoring system (SM4 – Solution manager 7. Now create the user which will be used for monitoring purposes CONFIDENTIAL PAGE 8 OF 22 14/06/2009 23:53:30 . execute the transaction RZ21 and from the menu option choose 7. 8. Now from RZ21 activate the Central System dispatching 9. ensure that the background job “SAP_CCMS_MONI_BATCH_DP” is scheduled and active. 10.01 with EH 1 ) with administrative privileges 6.

if the CSMREG users is being used for some other purposes. System will prompt you to save the “csmconf” file.g. fillout the required details on the screen and hit save button CONFIDENTIAL PAGE 9 OF 22 14/06/2009 23:53:30 . from RZ20 select the menue option 15. Now create the two RFC connections (via sm59) for the satellite systems with the following names <SID>_RZ20_COLLECT and <SID>_RZ20_ANALYZE. to create the satellite system (P71) in the Central Monitoring system (SM4). “DoubleStack” 16. Now generate the Configuration file for the monitoring agents : 12.How to Guide :: Setup Central Monitoring for SAP PI Systems Note : You can Create a new user and use for subsequent configuration. 14. 11. Now . select the appropriate “component type” from the drop down menu e. 13. save it at the appropriate place to be used later for agent configuration.

under topology overview” button click on Display 18. from the RZ20. Ensure that you are able to locate the system that you have just added. CONFIDENTIAL PAGE 10 OF 22 14/06/2009 23:53:30 .How to Guide :: Setup Central Monitoring for SAP PI Systems 17. Verify that the system has been added successfully.

run the transaction SXMB_ADM Configuration” and execute under “configuration” choose “Integration Engine CONFIDENTIAL PAGE 11 OF 22 14/06/2009 23:53:30 . Now.How to Guide :: Setup Central Monitoring for SAP PI Systems 19.

select “Maintain Groups” “Create System Group” “ExchangeInfrastructure_Systems” 23.How to Guide :: Setup Central Monitoring for SAP PI Systems 20. click on the “change configuration” button ( ) and create an entry for “CCMS_MONITORING” as follows 21. On the next displayed screen. Provide the system name <SID> ( P71 in this case ) CONFIDENTIAL PAGE 12 OF 22 14/06/2009 23:53:30 . Now highlight the newly created system group and right click to create a system under it. 24. Run the transaction RZ21 to maintain the “System Groups” and from the menu options select 22.

select the wizard “Setup GRMG for a Managed system” and execute it. 27. download the GRMG customizing template from SAP Note 634771 26. Ensure that the wizard completed successfully. Configure the GRMG scenario for JAVA Components 25. CONFIDENTIAL PAGE 13 OF 22 14/06/2009 23:53:30 . logon as the J2EE administrator ( or equivalent ) of the solution manager ( CEN) system http://<hostname>:<port>/nwa Configuration Management Scenarios Configuration Wizard To create a GRMG customizing file. To configure the GRMG for the java components.How to Guide :: Setup Central Monitoring for SAP PI Systems c. Ensure that the wizard completed successfully. select the wizard “Setup GRMG for the Central System” and execute it.

How to Guide :: Setup Central Monitoring for SAP PI Systems CONFIDENTIAL PAGE 14 OF 22 14/06/2009 23:53:30 .

go to transaction RZ20 and select Extras Activate Maintenance Function 30. 31. Now create a copy of the “Exchange Infrastructure” monitor set. A new node will be created as follows CONFIDENTIAL PAGE 15 OF 22 14/06/2009 23:53:30 .How to Guide :: Setup Central Monitoring for SAP PI Systems d. then from the menu options “Monitor (set)” copy. Now Create a new monitor set for monitoring the PI/Xi system via RZ20 29. Create a Custom View for Monitoring the alerts 28. select the monitor “SAP CCMS Monitor Templates” “Exchange Infrastructure”. fillup the new “monitor set name” and the monitor as “Exchange Infrastructure”. 32.

select Edit 35.How to Guide :: Setup Central Monitoring for SAP PI Systems 33. Select the newly created monitor set and the from the menu options choose “Monitor (set)” 34. from the displayed screen. fill in the rule name as “CCMS_GET_MTE_BY_CLASS” and click on continue button CONFIDENTIAL PAGE 16 OF 22 14/06/2009 23:53:30 . Now to create a “ Rule Based” node. Select the radio button “ Rule Node” and click on continue Create Node create . 36.

The following tree should be displayed CONFIDENTIAL PAGE 17 OF 22 14/06/2009 23:53:30 . 37. 37.How to Guide :: Setup Central Monitoring for SAP PI Systems 37. R3System – should be the <SID> of the system that you want to monitor MTEClass – for PI use “SXI_RWBAlerts” Display options – as required – preffered short names 38. click on “continue button.1.2.3. Do the required settings 37. if prompted for the user-id password of the monitored system provide that 39.

How to Guide :: Setup Central Monitoring for SAP PI Systems CONFIDENTIAL PAGE 18 OF 22 14/06/2009 23:53:30 .

RZ20 or S_B6A_52000011 Runtime work bench http://<host?:<port>/dir under Configuration and Monitoring OR http://<hostname>:<port>/rwb Runtime Workbench CONFIDENTIAL PAGE 19 OF 22 14/06/2009 23:53:30 . 40.1.How to Guide :: Setup Central Monitoring for SAP PI Systems e. For monitoring purposes you can use any of the 3 tools 40. The Monitoring Tools 40.2.

How to Guide :: Setup Central Monitoring for SAP PI Systems 40.4. You can also see the alerts via http://<hostname>:<port>/nwa Monitoring SOA Management --> CONFIDENTIAL PAGE 20 OF 22 14/06/2009 23:53:30 . NetWeaver Administrator http://<host>:<port>/dir under Configuration and Monitoring OR http://<hostname>:<port>/nwa NetWeaver Administrator 40.3.

Activate background dispatching. execute report RSXMB_ACTIVATE_ICF_SERVICES Register PI components to the SLD. execute report RSXMB_ACTIVATE_ICF_SERVICES Check PI components are registered and accessible in the Solution Manager system SLD. create the entry for “CCMS_MONITORING” Update the CCMS Customizing. ensure that the background job “SAP_CCMS_CENSYS_DISPATCHER” is scheduled and active Decide the user to be used for monitoring purposes. default users is CRMREG users Create CSMCONF file Ensure the RFC destinations for the satellite (PI) system exists. default users is CRMREG users CONFIDENTIAL PAGE 21 OF 22 14/06/2009 23:53:30 . Create Satellite (PI) system in CEN (Solman) Update the “Integration Engine” configuration. -Activate required CIF service. Ensure that the background job SAP_CCMS_MONI_BATCH_DP is scheduled and active Decide the user to be used for monitoring purposes.How to Guide :: Setup Central Monitoring for SAP PI Systems IV. Ensure that the background job SAP_CCMS_MONI_BATCH_DP is scheduled and active Activate Central System Dispatching. Activate required CIF services. maintain system group and system Trnx RZ20 drill down to the “Exchange Infrastructure” tree or Trnx S_B6A_52000011 to check the alerts Configure GRMG for Java components Create custom view RZ20 to monitor Alets Done Steps to be performed in SOLMAN System Done CCMS Configuration Steps Activate background dispatching. Checklist Steps to be performed in PI System Pre-requisites Create CEN system entry in Exchange profile of PI system.

0 CCMS: insufficient rights in the SAP_BC_CSMREG role SAP Note # 1107033 119735 1161912 1288240 1131738 923359 1107808 1297288 764176 816973 1060264 834534 1319323 730629 CCMS agents: Java interface for registration b. Notes Description How to display Java monitoring data of NW7.0) GI for sales order with tied empties RZ20: "SAP CCMS Technical Operations Templates" is changed No Adapter data reported to CCMS RWB warning 'Central CCMS monitor not available' Collective Note: Configuration Wizard .Collective Note: Configuration Wizard 7.1 SAP Solution Manager roles in Release 7.How to Guide :: Setup Central Monitoring for SAP PI Systems V.00 . Guides Description Advanced System Monitoring SAP Technology Administration SAP AS Java Administration System Administration with SAP Solution Manager Material # ADM106.1 XI/PI CCMS Alert Monitor: Navigation to Message Monitor Error in XI due to inconsistent SLD contents ITS 7.Template Installer 1107808 .preclarification and basic problem analysis PI Troubleshooting Guide 7.1 in CCMS (NW7. References a. ADM107 ADM100 ADM200 SMO100 CONFIDENTIAL PAGE 22 OF 22 14/06/2009 23:53:30 .

Sign up to vote on this title
UsefulNot useful