how to utilize sap solution manager for central system monitoring and alert monitoring

32
How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring Sanjeev Gholap BearingPoint © 2008 BearingPoint, Inc. All rights reserved. 1 In This Session … The goal of this presentation is to: Explain the technical monitoring capability using SAP Solution Manager Discuss how to significantly reduce the implementation time of Solution Manager for technical monitoring Help you understand what and how to monitor 2 What We’ll Cover … Monitoring with SAP Solution Manager — Overview Availability Monitoring — Quick Setup Alert Monitoring — Quick Setup Defining Autoreactions for Alerts Monitoring PI/XI GRMG/Portal Monitoring CPH/Web Reporting Analyzing Performance with SAP Solution Manager Wrap-up _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________

Upload: -

Post on 31-Dec-2015

65 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

Sanjeev GholapBearingPoint

© 2008 BearingPoint, Inc. All rights reserved.

1

In This Session …

• The goal of this presentation is to: Explain the technical monitoring capability using SAP Solution ManagerDiscuss how to significantly reduce the implementation time of Solution Manager for technical monitoringHelp you understand what and how to monitor

2

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI • GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 2: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

3

Monitoring with SAP Solution Manager

• SAP Solution Manager provides centralized, real-time monitoring of SAP systems, business processes, and interfaces

Proactive monitoring helps to avoid critical situations while automatic alerting/notification provides fast response to issues

4

What SAP Solution Manager Offers

• Centralized monitoringLarge landscapes can be centrally monitored at a low total cost of operation

• Full scalability for monitoringLandscapes with only a few components to a large number of components can be efficiently monitoredIncludes any type of SAP landscape

5

What SAP Solution Manager Offers (cont.)

• Productive monitoring with alertsNo administrative activity is required except in case of alertsAlert notifications (email, SMS, etc.) can be triggered automatically

• Assisted/guided problem detection and resolutionFrom the system, administrators can drill down to a monitored component and remove the cause of an alert using predefined analysis functions

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 3: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

6

SAP Solution Manager and SAP NetWeaver Releases

7

SAP Solution Manager 4.0

• Based on SAP NetWeaver®

• Key components1. SAP Solution Manager Diagnostics (SMD)

For Java monitoring2. SAP NetWeaver Administrator (NWA)

For monitoring of SAP solutions3. Central Performance History (CPH)

For Web reporting

8

SAP SolutionManager

Business Intelligence

Third-Party Tools

Java Stack

ABAP Stack

Other SAP components

CCMSAgent

AS Java

AS ABAPSAP Basis >= 3.0

SAP NetWeaverAdministrator

Modern SAP Monitoring Landscape – Overview

Central MonitoringInfrastructure

CCMSAgent

CCMSAgent

CCMSAgent

*Computer Center Management System

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 4: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

9

Underlying Monitoring Infrastructure: CCMS

• CCMS is a set of integrated tools for monitoring and administration of SAP system landscapes

Offers predefined alert monitors for SAP system monitoringCan monitor remote systems as well as the local systemCan monitor applications running on AS ABAP and AS JavaPart of all of SAP NetWeaver (AS ABAP) systemsPart of all SAP Basis 4.0 and higher systemsProvides monitoring data to SAP Solution Manager, SAP NetWeaver Administrator, and other third-party monitoring solutions

10

Process Flow for Alerts

• Monitoring a system landscape When a problem occurs, an alert is triggered by CCMS“Auto-reactions” are then triggered in satellite systems (e.g., email an administrator), and the alert is passed on to SAP Solution ManagerUpon being notified of the alert, the administrator uses SAP Solution Manager’s central alert monitor tool to drill down to the alertThe administrator can analyze alerts by drilling down to a monitored component of the effected systemThe administrator clears the alert from the alert list when the issue is resolved

11

Java Stack

Central MonitoringInfrastructure

ABAP Stack

SAPCCMSRSAPCCMSR

AS Java

SAP InstanceSAP Basis >= 3.0SAPCCM4XSAPCM3X

SAP NetWeaverAdministrator

Drill down to and analyze monitored component

PUSH

PUSH

AS ABAP

Shared Memory Segment

Shared Memory Segment

Shared Memory Segment

Shared Memory Segment

CentralAlert

NotificationsEmails/Pager/

Phone

Other SAP ComponentSAPCCMSR

Shared Memory Segment

Process Flow for Alerts (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 5: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

12

Considerations for Monitoring

• Are all systems available to users?• Are all interfaces working?• Is there sufficient space in database?• Is there sufficient space in file systems?• How many ABAP dumps?• Are there any critical errors in SAP work process logs?• Are the database backup and archive log backup OK?• Is there any failure in critical jobs?

13

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

14

PortalJava

SAP R/3ABAP

CCMSPING is an agent for availability monitoring.

CCMSPING is installed on the central system (SAP Solution Manager)

BI

ABAP + Java

PI/XI

SAP CRM/SRM

ABAP + Java

ABAP + Java

SAP Solution Manager 4.0SAP NetWeaver 7.0

CCMSPING

Availability Monitoring — CCMSPING

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 6: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

15

Configuring CCMSPING

1. Update the entries in /etc/services for all message servers in all systems needed to be set up

2. Get the latest version of SAPCCMSR, SAPCCM4X, CCMSPING from service.sap.com

3. Create a user (with Administrator access) in the Productive Client (SU01)

4. Create a CSMREG user in the Productive Client (RZ21)5. Install the CCMSPING agent at the OS level

ExampleCCMSPING -R –PUSH pf = <Instance profile >

16

Step 1

Step 2

Configuring CCMSPING (cont.)

17

FOR JavaSTACK

FOR ABAPSTACK

RFCDESTINATION

Configuring CCMSPING (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 7: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

18

email_id or dist. list

U = email id C = Dist. list

Red/Yellow/ Blank for both

Details of Alert

Configuring CCMSPING (cont.)6. Copy method “CCMS_OnAlert_Email_V2” to “ZCCMS_OnAlert_Email_V2”7. Enter the parameter values shown below8. In RZ20, SAP CCMS MONITORING TEMPLATE, Availability Monitoring, then

select the related system and assign the method.

19

Configuring CCMSPING (cont.)

20

Assign method for

ABAP availability

Assign method for

Javaavailability

Dialog Response Time

User logged on

Configuring CCMSPING (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 8: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

21

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

22

Central Monitoring Scenarios

Source: SAP

23

Alert Monitoring – Quick Setup

• To set up agents SAPCCM4X and SAPCCMSR:1. Run these jobs:

SAP_CCMS_MONI_BATCH_DP (In central and satellite system)SAP_CCMS_CENSYS_DISPATCHER (Only in central system)

2. Create the user with Administrator access in the production client of the satellite system (SU01)

3. Create CSMREG user ID in the production client of the satellite system (RZ21)

4. RZ21 Technical Infrastructure Configure Central System Create CSMREG User

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 9: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

24

For Data Analysis For Data Collection

Alert Monitoring – Quick Setup (cont.)

• Create two RFC connections as shown below

25

Alert Monitoring – Quick Setup (cont.)

• Install the above agents on the satellite systems sapccm4x –R pf=<instance profile > (for ABAP stack system)

tybl102033:ensadm 60> sapccm4x -R pf=ENS_DVEBMGS00_tybl102033sapccmsr –R –j2ee pf=<instance profile > (for dual and Java stack system)

tybl102033:ensadm 60> sapccmsr -R -j2ee pf=ENS_DVEBMGS00_tybl102033

26

Alert Monitoring – Quick Setup (cont.)

• Create the Entry in RZ21 Technical infrastructure Configure Central System Create Remote Monitoring Entry

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 10: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

27

Alert Monitoring – Quick Setup (cont.)• Add the Monitoring Set in RZ20 for the newly added satellite system and

select the node trees that need to be monitored• Once the system is added, you will be able to see all the Monitoring Tree

Entries (MTEs). You can create Monitoring Sets for all systems in the landscape that need to be monitored.

28

Central Monitoring Aspects

• Assign methods to the key MTEs which need to have alerts. To do this:

Identify the MTE which needs to be monitoredCreate matrix of the system, MTE, thresholds (yellow/red), Alertsend to (yellow/red )

29

Example of Alert Matrix

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 11: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

30

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

31

Setting Up a Central Autoreaction

• A Central Autoreaction or “Autoreaction Method” is defined in the central system for MTEs to monitor satellite systems

• To set up a Central Autoreaction:1. In SAP Solution Manager, go to RZ21 Technical

Infrastructure Configure Central System Assign Central Autoreactions

2. Define Central Autoreaction Create 3. Select “Create with Template”, ENTER

“CCMS_OnAlert_Email_V2,” and press “Create with Template”Give the correct name to the new Autoreaction and save the method

32

Setting Up a Central Autoreaction (cont.)

• To set up a Central Autoreaction: (cont.)4. Now edit the above method and define all the parameters 5. Select the system for which you want to assign the

Autoreaction and click “MTE Classes from System”6. Now highlight the System I, MTE Class, and Central

Autoreaction and click “Assign Central Auto-Reaction”7. Once the Autoreaction has been assigned, SAP Solution

Manager will start emailing any alerts received from these satellite systems

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 12: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

33

Setting Up a Central Autoreaction (cont.)

Define Central Autoreaction Create Select “Create with Template,” ENTER “CCMS_OnAlert_Email_V2,”

and press “Create with Template”

34

Setting Up a Central Autoreaction (cont.)

35

Setting Up a Central Autoreaction (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 13: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

36

Setting Up a Central Autoreaction (cont.)

37

Setting Up a Central Autoreaction (cont.)

38

Send Email Send

Page

oraarch directory

Defining Multiple Autoreactions for an Alert

• You can set up two different autoreactions to trigger on the same MTE but for a different range of the threshold

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 14: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

39

Defining Multiple Autoreactions for an Alert (cont.)

• Method “CCMS_TRIGGER_AUTO_REACTIONS”Here, we can define two other autoreaction methods for the Yellow, Red, Yellow-Red parameters.

40

User ID should exist in central system

U = email C = distribution list

Defining Multiple Autoreactions for an Alert (cont.)

41

Defining Multiple Autoreactions for an Alert (cont.)

• Prerequisite: Before customizing Alert Monitoring, monitoring sets for all satellite systems must have been defined

• Key questions/steps:What alerts or MTEs should be monitored?Who should be notified?How does each system need to handle the alerts?

E.g., Are Dev and QA less critical than Production?

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 15: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

42

Defining Multiple Autoreactions for an Alert (cont.)

• Key questions/steps: (cont.)What OS-level log files need to be monitored, and should an entry be made in SAPCCMSR.INI for it? What Oracle standard errors need to have alerts, such as ORA–600, and ORA–272?What pattern in the process trace/log files to monitor for?For each above MTE, what should be done for a Yellow alert and what should be done for a Red alert?Prepare a detailed spreadsheet with all above details Create the list of file systems which you will not monitor

43

OsColFile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/OscolFile.txtLogfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/ORAALERTlogmon.iniLogfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/DEV_Wxlogmon.ini

FilterOutFilesystem /patrol_dataFilterOutFilesystem /varFilterOutFilesystem /tmpFilterOutFilesystem /optFilterOutFilesystem /oracle/ENS/saparchFilterOutFilesystem /oracle/ENS/sapreorgFilterOutFilesystem /oracle/ENS/sapdata*

Required Entries in CCMS Configuration File SAPCCMSR.INI

• Entries must be made in SAPCCMSR.INI if you want to monitor only selected file systems, specific Oracle errors, or to monitor for errors in a SAP work process trace file

• Example of entries in SAPCCMSR.INI file

• Content of OscolFile.txt

44

Before Filtering After Filtering

Entries in SAPCCMSR.INI enable you to selectively monitor particular file systems

Results of SAPCCMSR.INI Configuration

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 16: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

45

Logfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/ORAALERTlogmon.ini

LOGFILE_TEMPLATEDIRECTORY="/oracle/ENS/saptrace/background"FILENAME="alert_ENS.log"MTE_CLASS="ORAALERT"PATTERN_0="ORA-00600"VALUE_0=REDPATTERN_1="ORA-00272"VALUE_1=RED

Example: Monitoring an Oracle Alert Log File

• Content of ORAALERTlogmon.ini

46

Logfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/DEV_Wxlogmon.ini

LOGFILE_TEMPLATEDIRECTORY="/usr/sap/ENS/DVEBMGS00/work"FILENAME="dev_*"MTE_CLASS="WORKPROC"SHOWNEWLINES=1MONITOR_FILESIZE_KB=0

PATTERN_0="ERROR"VALUE_0=REDMESSAGECLASS_0="SAP-T100"MESSAGEID_0="rt 584"

Example: SAP Work Process Trace File Monitoring

• Content of file DEV_Wxlogmon.ini

47

Oracle alert log

ABAP work process log

NOTE: You can monitor database backup logs in a similar manner

Example: SAP Work Process Trace File Monitoring (cont.)

• Sample view of two log files displayed in RZ20

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 17: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

48

Top 11 Alerts to Monitor

• File system percentage used • Database – Table space percentage used (if Auto extend off) • Database update status • OS collector state • Dialog response time • Swap percentage used • SAP R/3 extended memory utilization • Lock table utilization • Free background work process• PI/XI block queues (for PI/XI system landscapes) • Oracle critical errors (ORA …)

49

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

50

SAP R/3 APPINT(XI 2.0)

ABAP Queues

BW/SEM Integration

Engine

EBP/SRM Integration

Engine

ABAP Queues

ABAP Queues

CCMSon

SAP Solution Manager

Agentssapccm4xsapccmsr

Agentssapccm4xsapccmsr

Agentssapccm4xsapccmsr

ABAPPlain Adapter (XML docs)BPMIntegration EngineJava Engine Adapter EngineMapping EngineIB, ID,SLD, RWBJava Proxy EngineAS2 Encryption EngineOS BasedCPU, Memory …File Systems

ABAP Queues

Agentssapccm4xsapccmsr

SAP PI/XI System

SAP PI/XI Monitoring Architecture

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 18: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

51

Key PI/XI Objects to Monitor

• ABAP side: Message queues (inbound/outbound)Business Process Engine processesIntegration Engine system errorsStandard ABAP alerts like CPU, File System …

• J2EE side: Adapter Engine — JDBC, HTTP, FTP, File, AS2

JVM — Heap size, threadKey file System — (SID\Files of sm41..)

Generic Request and Message Generator (GRMG) — Integration Repository, Integration Directory, SLD, Runtime Workbench

52

Monitoring of ABAP Message Queues

• Message Queue objects that relate to transaction SMQR

• SMQ1, SMQ2

53

Monitoring of BPE Transactions

• Business Process Engine objects relateto the transaction

sxmb_moni_bpe

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 19: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

54

Monitoring of Integration Engine Objects

• Integration Engine Object that correlates with the transaction Sxmb_moni

55

System Threads

Java Memory (Heap Size)

Application Pools

Monitoring of JVM-Specific Components

• Monitor J2EE components • Monitor PI/XI-specific system components:

Under both Dispatcher/Server0 J2EE servers

56

J2EE ComponentsGRMG Objects

Monitoring Using GRMG

• GRMG polls the following PI/XI-specific components:Integration Directory (ID)Integration Repository (IR)Runtime Workbench (RWB)System Landscape Directory (SLD)Adapter Engine

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 20: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

57

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

58

GRMG Monitoring

• GRMG lets you check the availability of a chain of technical components and of business processes, or a mixture of both, in an AS ABAP or AS Java environment

• GRMG can thus be used for technical as well as application monitoring

59

GRMG Lite Setup for ITS Monitoring

• You can perform ITS Monitoring using GRMG Lite

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 21: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

60

GRMG Lite Setup for ITS Monitoring (cont.)

• Using GRMG Lite for ITS Monitoring

61

GRMG Lite Setup for ITS Monitoring (cont.)

• Availability of ITS Server

62

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 22: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

63

Features of the Central Performance History (CPH)

• Centralizes collection and storage of performance-related monitoring data of the complete system landscape in a fast and efficient way

• Handles minute, quarter-hourly, and hourly monitoring data• Automated data aggregation

Aggregations from minute values to hourly, monthly, and yearly averages

• Automated data reorganizationAggregation of performance values from a higher to a lower temporal granularity and the following deletion of the data with the higher granularity

• Accessible from the SAP Solution Manager Alert Monitor• Configurable, scheduled limited reporting and export of data

64

CPH Features

Flow of Statistics Data in Detail (Source: SAP)

65

CPH Features (cont.)

Reporting on Performance and Statistics Data in BI (Source: SAP)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 23: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

66

CPH Setup

67

CPH Setup (cont.)

• This is intermediate output of the CPH setup

68

CPH Setup (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 24: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

69

Example of Web Report Using CPH

70

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

71

Analyzing Performance with SAP Solution Manager

• Prerequisites: Monitoring sets have been created in RZ20 for each satellite system to be monitored

• To analyze performance:Open the Monitoring set Go to View Details for Performance Nodes

This gives detail values on each MTE for last 24 Hours/ 4 Hours/30 Minutes

24 Hours – With Hourly Aggregated 4 Hours – Every 15 Minutes Aggregated 30 Minutes – Every Minute aggregated

For any performance issue we can look at each value and analyze the issue. This is the easiest way to identify the performance bottleneck.

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 25: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

72

Analyzing Performance with SAP Solution Manager (cont.)

73

Analyzing Performance with SAP Solution Manager (cont.)

74

Analyzing Performance with SAP Solution Manager (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 26: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

75

Analyzing Performance with SAP Solution Manager (cont.)

• Details for Performance Nodes

76

Analyzing Performance with SAP Solution Manager (cont.)

• Details for Performance Nodes (cont.)

77

Analyzing Performance with SAP Solution Manager (cont.)

• Details for Performance Nodes (cont.)

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 27: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

78

What We’ll Cover …

• Monitoring with SAP Solution Manager — Overview• Availability Monitoring — Quick Setup• Alert Monitoring — Quick Setup• Defining Autoreactions for Alerts• Monitoring PI/XI• GRMG/Portal Monitoring• CPH/Web Reporting• Analyzing Performance with SAP Solution Manager• Wrap-up

79

Resources

• Public Web www.sap.com Solutions <select company size> Platform SAP NetWeaver Components & Tools SAP Solution Manager

• SAP Service Marketplace* www.service.sap.com/solutionmanagerwww.service.sap.com/rkt-solman

• Online Help http://help.sap.com/ SAP Solution Manager

* Requires login credentials to the SAP Service Marketplace

80

7 Key Points to Take Home

• If you are not currently using SAP Solution Manager, start planning to use this free solution tool ASAP

• If you set up SAP Solution Manager properly, it will help to proactively monitor your SAP landscape so that you can avoid downtime and system failures

• With SAP Solution Manager 4.0, you can effectively monitor ABAP and Java stack systems

• Preparing the Alert Matrix and mapping the same in RZ20 will help to streamline monitoring of SAP systems

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 28: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

81

7 Key Points to Take Home (cont.)

• SAP Solution Manager is a key tool for identifying the performance bottleneck in the satellite system

CPH can be a great help • SAP Solution Manager and BI interfacing will give you

great Web reporting capability of alert data and performance data

This will also help to develop data for top management• SAP Solution Manager can be used effectively for SAP

PI/XI system monitoring, including the systems XI interfaces with

82

Thank You! Q&A

How to contact me:Sanjeev Gholap

[email protected]

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

_________________________________

Page 29: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

Notes: ______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Page 30: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

Notes: ______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Page 31: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

Notes: ______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

______________________________________________________________________________

Page 32: How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring

Wellesley Information Services, 990 Washington Street, Suite 308, Dedham, MA 02026

Copyright © 2008 Wellesley Information Services. All rights reserved.