_________________________________ _________________________________ _________________________________ _________________________________
How to Utilize SAP Solution Manager for Central System Monitoring and Alert Monitoring
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Sanjeev Gholap BearingPoint
_________________________________ © 2008 BearingPoint, Inc. All rights reserved. reserved.
In This Sessio Sessio n … •
_________________________________ _________________________________
The goal of this presenta presentation tion is to:
Explain the technical technical monito ring capability using SAP Solution Manager
_________________________________ _________________________________
Discuss how to signif icantly reduce the implementation implementation time of Solution Manager Manager for technical monitori ng
_________________________________
Help Help you un derstand what and how to monitor
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 1
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts Monitorin g PI PI/X /XII
_________________________________
• •
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 2
Monitori ng with SAP Soluti Soluti on Manager Manager •
_________________________________ _________________________________
SAP Solution Manager provides Manager provides centralized, real-time monitoring of SAP systems, business processes, and in terface terfacess
_________________________________ _________________________________
Proactive monitor ing helps to avoid critical situations while automatic alerting/notification alerting/notification provides fast response response to issues
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 3
What SAP Solution Manager Offers •
_________________________________
Centralized Ce ntralized monitori ng
•
_________________________________
Large landscapes can be centrally monitored at a lo w total cost of operation
_________________________________ _________________________________
Full scalability scalability for monitoring
_________________________________
Landscapes with only a few components to a large number of components can be efficiently monitored
_________________________________
Includes any type of SAP landscape landscape
_________________________________ _________________________________ _________________________________ _________________________________ 4
What SAP Solution Manager Offers (cont.) •
Productive monitoring with ale alerts rts
•
_________________________________ _________________________________
No administrative activity is r equired except in case of alerts
_________________________________
Alert notifications (email, SMS, etc.) can be triggered automatically
_________________________________ _________________________________
Assisted/guided problem detection and resolut resolut ion
From the system, administrators can dril l down to a monito red component and remove the cause of an alert using predefined analysis functions
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 5
SAP Solution Soluti on Manager and SAP NetWe NetWeaver aver Releases Releases
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 6
SAP Solution Manager 4.0
_________________________________
•
Based on o n SAP NetWeaver NetWeaver ®
_________________________________
•
Key components
_________________________________
1.
SAP Solution Manager Diagnostics (SMD)
2.
_________________________________
SAP NetWeaver Administrator (NWA)
3.
_________________________________
For Java monitor ing
_________________________________
For monitoring of SAP solutions
Central Performance History (CPH)
_________________________________
For Web reporting
_________________________________ _________________________________ _________________________________ 7
Modern SAP SAP Monitor Monitor ing Landscape – Overview Other SAP components
CCMS Agent
CCMS Agent
_________________________________ _________________________________
AS Java
_________________________________ _________________________________
SAP Solution Manager
Central Central Monitoring Infrastructure
_________________________________
Third-Party Tools
ABAP Stack
_________________________________
SAP NetWeaver Administrator
_________________________________
Business Intelligence
_________________________________
Java Stack
_________________________________ SAP Basis >= 3.0 CCMS Agent
*Computer Center Management System
CCMS Agent
_________________________________
AS ABAP
8
Underlying Monitor ing Infrastruct ure: CCMS CCMS •
_________________________________ _________________________________
CCMS is a set of integrated tools for monit oring and CCMS administr ation of SAP system landscapes landscapes
_________________________________
Offers predefined predefined alert monitors for SAP system monitoring
Can Can moni tor remote systems as well as t he local system
Can Can monito r applications r unning on AS ABAP and AS Java
_________________________________
Part of all of SAP NetWeaver NetWeaver (AS ABAP) systems
_________________________________
Part of all SAP Basis 4.0 and higher systems
_________________________________
_________________________________
Provides monitori ng data to SAP Solution Manager, Manager, SAP NetWe NetWeaver aver Admini strator, and oth er third -party monitoring solutions
_________________________________ _________________________________ _________________________________ 9
Process Flow for Alerts •
_________________________________ _________________________________
Monitoring a system landscape
When a problem occur s, an alert alert is triggered by CCMS
_________________________________
“ Auto-reactions” are then triggered in satellite systems (e.g. (e.g.,, email an administrator), and the alert alert is passed on to SAP S Solu olu tion Manager
_________________________________ _________________________________
Upon being notified of the alert, the administrator uses SAP Solution Solution Manager’s Manager’s central alert alert monito r tool t o drill down to the alert alert
_________________________________
The administrator administrator can analyze analyze alerts alerts by d rilling down to a monitor ed component of th e effected effected system
_________________________________
_________________________________ _________________________________
The administrator administrator clears the alert from the alert list when the issue is resolved
_________________________________ 10
Process Flow for Alerts (cont.) Other SAP Component SAPCCMSR SAPCCMSR Shared Memory Shared Memory Segment Segment
_________________________________ AS Java
_________________________________
SAPCCMSR
_________________________________
Shared Memory Segment
PUSH
_________________________________
Central Central Monitoring Infrastructure ABAP Stack Drill down to and analyze monitored component
SAP NetWeaver Administrator
_________________________________
Central Alert Notifications Emails/Pager/ Phone
_________________________________ _________________________________ _________________________________
Java Stack
_________________________________
PUSH SAP Basis >= 3.0 Shared Memory Segment
SAPCM3X
AS ABAP SAP Instance SAPCCM4X Shared Memory Segment
_________________________________ 11
Considerations for Monitoring
_________________________________
•
Are all all sy stems available to users?
_________________________________
•
Are all all int erface erfacess work ing?
_________________________________
•
Is there suffi cient s pace in database? database?
_________________________________
•
Is there suffi cient space in file syst ems?
•
How many ABAP dumps?
_________________________________
•
Are there there any any crit ical errors in SAP work process lo gs?
•
Are the database database backup backup and archive log backup OK?
•
_________________________________ _________________________________ _________________________________
Is there any failure in criti cal jobs?
_________________________________ _________________________________ 12
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
_________________________________
•
Monitorin g PI PI/X /XII GRMG/Portal Monitoring
_________________________________
• •
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ 13
Availability Monitori ng — CCMS CCMSPI PING NG
_________________________________ _________________________________
SAP R/3 ABAP
_________________________________
BI
_________________________________
ABAP + Java
_________________________________
PI/XI
_________________________________
ABAP + Java
_________________________________
SAP CRM/SRM
_________________________________
ABAP + Java
_________________________________
CCMSPING SAP Solution Manager 4.0 SAP NetWeaver 7.0
CCMSPING CCMSPING is an agent for availability availability moni toring. CCMSPING CCMSPING is inst alled on the central system (SAP Solution Manager Manager )
_________________________________
Portal Java 14
Configuring CCMSPING
_________________________________
1.
Update the entries entries in /e /etc/services tc/services for all message servers in all s ystems needed to be set up
_________________________________
2.
Get the latest versi on o f SAPCCMSR, SAPCCMSR, SAPCCM4X SAPCCM4X,, CCMSPI CCM SPING NG from s ervic e.sap.com
_________________________________
3.
Create a user Create user (with A dmini strator access) in th e Productive Client (SU01)
_________________________________ _________________________________ _________________________________
4.
Create a CSM CSMREG REG user i n the th e Productiv Produc tiv e Client (RZ21) (RZ21)
_________________________________
5.
Install the CCMSPING CCMSPING agent agent at the OS level
_________________________________
Example
_________________________________
CCMSPING -R –PUSH pf =
_________________________________ 15
Configuring CCMSPING (cont.)
_________________________________ _________________________________ _________________________________
Step 1
_________________________________ _________________________________
Step 2
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 16
Configuring CCMSPING (cont.)
_________________________________ _________________________________ FOR ABAP STACK
_________________________________ _________________________________ _________________________________
FOR Java STACK
_________________________________ _________________________________ _________________________________ _________________________________
RFC DESTINATION
_________________________________ 17
Configuring CCMSPING (cont.) 6. 7. 8.
_________________________________
Copy method “CCMS_OnAlert_Email_V2” “CCMS_OnAlert_Email_V2” to “ZCCMS_OnAlert_Email_V2” “ZCCMS_OnAlert_Email_V2” Enter the parameter values shown below
_________________________________
In RZ20, SAP CCMS CCMS MONITORIN MONITORING G TEMPLATE, Availability Monito ring, then select the related related sys tem and assign the method.
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________
email_id or dist. list
_________________________________ _________________________________
U = email id C = Dist. list Details of Alert
_________________________________
Red/Yellow/ Blank for both 18
Configuring CCMSPING (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 19
Configuring CCMSPING (cont.)
_________________________________ _________________________________
Assign method for ABAP availability
_________________________________ Assign method for Java availability
_________________________________ _________________________________ _________________________________ _________________________________
Dialog Response Time
_________________________________ _________________________________ _________________________________
User logged on 20
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
•
Monitorin g PI PI/X /XII
_________________________________
•
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 21
Central Central Monito ring Scenarios Scenarios
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ Source: SAP
22
Alert Alert Monitoring – Quick Setup Setup •
_________________________________
To set up agents SAPCC SA PCCM4X M4X and SAPCCMSR: 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 Create the user with Admini strator access in the produ ction client of the satellite system (SU01)
_________________________________
3.
Create CSMREG user ID in the production client of the satellite syst em (RZ21) (RZ21)
_________________________________
4.
RZ21 Technical Infrastructur Infrastructur e Create CSMREG User
_________________________________
Configure Central System
_________________________________ _________________________________ 23
Alert Alert Monitoring – Quick Setup Setup (cont.) (cont.) •
_________________________________
Create Crea te two RFC connections as sh own below For Data Analysis
_________________________________ _________________________________
For Data Collection
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 24
Alert Alert Monitoring – Quick Setup Setup (cont.) (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
•
_________________________________
Install the above agents agents on the satellite sy stems
sapccm4x –R pf= (for ABAP stack sys tem)
_________________________________
tybl102033:ensadm 60> sapccm4x -R pf=ENS_DVEBMGS00_tybl102033
_________________________________
sapccmsr –R –j2ee –j2ee pf= (for dual and Java stack system)
_________________________________
tybl102033:ensadm 60> sapccmsr -R -j2ee pf=ENS_DVEBMGS00_tybl102033 25
Alert Alert Monitoring – Quick Setup Setup (cont.) (cont.) •
Create the Entry in RZ2 RZ211 Technical infrastructure Central System Create Remote Monitoring Entry
_________________________________ Configure
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 26
Alert Alert Monitoring – Quick Setup Setup (cont.) (cont.) •
•
_________________________________
Add the Monitoring Set in RZ20 for the newly added satellite system and select the node trees that need to be monit ored
_________________________________
Once the system is added, you will b e able to see all the Monitorin g Tree Entries (MTEs). (MTEs). You You can create Monitor ing Sets fo r all syst ems in the landscape that need to be monitored.
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
27
Central Monitoring Aspects •
_________________________________ _________________________________
Assign m ethods to t he key MTEs MTEs which need to have alerts. ale rts. To do thi s:
_________________________________
Identify the MTE MTE which needs to be mon itored
_________________________________
Create matrix of the system, MTE, thresholds (yellow/red), Alert send to (yellow/red )
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 28
Example of Alert Matrix
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 29
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
•
Monitorin g PI PI/X /XII
_________________________________
•
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 30
Setting Se tting Up a Central Central Au toreaction
_________________________________
• A
_________________________________
Centra C entrall Autoreaction Autoreaction or “ Autorea Autoreaction ction Method” Method” is defined in the central system for MTEs MTEs to mo nitor satellite systems
•
_________________________________ _________________________________
To set up a Central Central Au toreaction: 1.
_________________________________
In SAP Solu Solu tion Manager, go to RZ21 Technical Infrastructure Configure Central System Assign Central Autoreactions
2.
Define Define Central A utoreaction
3.
Select “ Create with Template” , ENTE ENTER R “ CCMS CCMS_OnAlert_ _OnAlert_Email_V Email_V2, 2,”” and press “ Create Create with Template”
_________________________________ _________________________________
Create
_________________________________ _________________________________
Give the correct name to the new Autor eaction and save the method
_________________________________ 31
Setting Se tting Up a Central Central Au toreaction (cont .) •
_________________________________
To set up a Central Central Au toreaction: (cont .) 4.
Now edit the above method and define all the parameters
5.
Select Select the system for which you want to assign the Autoreaction and click “ MTE MTE Classes Classes from System”
6.
Now high lig ht th e System I, MTE MTE Class, Class, and Central Autoreaction and click “ Assign Central Auto-Reaction” Auto-Reaction”
7.
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Once the Autoreaction h as been assigned, SAP Solutio Solutio n Manager Manager will start emailing any alerts received from these satellite systems
_________________________________ _________________________________ _________________________________ _________________________________ 32
Setting Se tting Up a Central Central Au toreaction (cont .)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Define Central Autoreaction
_________________________________
Create
Select “Create with Template,” ENTER “CCMS_OnAlert_Email_V2,” “CCMS_OnAlert_Email_V2,” and press “Create with Template” 33
Setting Se tting Up a Central Central Au toreaction (cont .)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 34
Setting Se tting Up a Central Central Au toreaction (cont .)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 35
Setting Se tting Up a Central Central Au toreaction (cont .)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 36
Setting Se tting Up a Central Central Au toreaction (cont .)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 37
Definin Definin g Multiple Autoreactions fo r an Alert •
_________________________________
You can set set up two d ifferent autoreactions autoreactions to tri gger on the same MTE MTE but for a different range of the threshold
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________
oraarch directory
_________________________________ _________________________________ Send Email
_________________________________
Send Page
_________________________________ 38
Defini Defini ng Multipl e Autoreactions for an Alert (cont.)
_________________________________
Methodd “ CCMS_ Metho CCMS_TRIGG TRIGGER_AUTO_ ER_AUTO_REACTIONS” REACTIONS”
_________________________________
•
Here, Here, we can define two other autoreaction methods for the Yellow, Red, Yello Yello w-Red parameters.
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 39
Defini Defini ng Multipl e Autoreactions for an Alert (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
User ID should exist in central system
_________________________________ _________________________________ _________________________________
U = email C = distribution list
_________________________________ 40
Defini Defini ng Multipl e Autoreactions for an Alert (cont.) •
•
_________________________________
Prerequisite: Before customizing Alert Monitoring, monit orin g sets for all satellit satellit e systems must have been been defined
_________________________________ _________________________________ _________________________________
Key questions/steps:
What alerts alerts or MTEs MTEs should b e monitored?
_________________________________
Who should be notified?
_________________________________
How does each system need to handle the alerts?
_________________________________
E.g., Are Dev and QA less critical than Production?
_________________________________ _________________________________ _________________________________ 41
Defini Defini ng Multipl e Autoreactions for an Alert (cont.) •
_________________________________ _________________________________
Key questions/steps: (cont.)
What OS-leve OS-levell log files need to be mon itored, and should an entry be made i n SAPCCMSR. SAPCCMSR.INI INI for it?
_________________________________ _________________________________
What Oracle Oracle standard errors need to have alerts, such as ORA–600, and ORA–272?
_________________________________
What pattern pattern in th e process trace/log trace/log files to m onitor f or?
_________________________________
For each above MTE, what should be done for a Yellow alert and what shoul d be done for a Red Red alert?
Prepare a detailed spreadsheet with all above details
Create Create the list of file systems which yo u will not m onitor
_________________________________ _________________________________ _________________________________ _________________________________ 42
Required Entr ies in i n CCMS Configur Confi guration ation File SAPCCMSR SAPCCMSR.IN .INII •
•
_________________________________
Entries must m ust be made in SAPCCMS SAPCCMSR.I R.INI NI if you w ant 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 SAPCC SAPCCMSR MSR.IN .INII file
_________________________________
OsColFile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/OscolFile.txt Logfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/ORAALERTlogmon.ini Logfile /usr/sap/ENS/DVEBMGS00/log/sapccm4x/DEV_Wxlogmon.ini •
_________________________________ _________________________________
Content of OscolFile. OscolFile.txt txt FilterOutFilesystem FilterOutFilesystem FilterOutFilesystem FilterOutFilesystem FilterOutFilesystem FilterOutFilesystem FilterOutFilesystem
_________________________________
_________________________________
/patrol_data /var /tmp /opt /oracle/ENS/saparch /oracle/ENS/sapreorg /oracle/ENS/sapdata*
_________________________________ _________________________________ 43
Results of SAPCCMSR.INI Configuration Before Filtering
_________________________________ _________________________________
After Filtering
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Entries in SAPCCMSR.I SAPCCMSR.INI NI enable you to selectively monitor particular file systems
_________________________________ 44
Example: Monitoring an Oracle Alert Log File •
_________________________________ _________________________________
Content of OR ORAALERTlogmon.ini AALERTlogmon.ini
_________________________________ Logfile
_________________________________
/usr/sap/ENS/DVEBMGS00/log/sapccm4x/ORAALERTlogmon.ini
_________________________________
LOGFILE_TEMPLATE DIRECTORY="/oracle/ENS/saptrace/background" FILENAME="alert_ENS.log" MTE_CLASS="ORAALERT" PATTERN_0="ORA-00600" VALUE_0=RED PATTERN_1="ORA-00272" VALUE_1=RED
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 45
Example: SAP Work Process Trace File Monitoring •
_________________________________ _________________________________
Content of f ile DEV_W DEV_Wxlogm xlogm on.ini Logfile
_________________________________
/usr/sap/ENS/DVEBMGS00/log/sapccm4x/DEV_Wxlogmon.ini
_________________________________ LOGFILE_TEMPLATE DIRECTORY="/usr/sap/ENS/DVEBMGS00/work" FILENAME="dev_*" MTE_CLASS="WORKPROC" SHOWNEWLINES=1 MONITOR_FILESIZE_KB=0
_________________________________ _________________________________ _________________________________ _________________________________
PATTERN_0="ERROR" VALUE_0=RED MESSAGECLASS_0="SAP-T100" MESSAGEID_0= MESSAGEID_0="r "r t 584"
_________________________________ _________________________________ 46
Example: SAP Work Process Trace File Monitoring (cont.) •
_________________________________
Sample Sa mple view of t wo log files dis played in RZ20 RZ20
_________________________________ _________________________________
Oracle alert log
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
ABAP work process log
_________________________________
NOTE: NOTE: You can monitor database backup logs in a similar manner 47
Top 11 Alerts t o Monitor
_________________________________
•
File system percentage used
_________________________________
•
Database Da tabase – Table space percentage percentage used (if Auto extend off) Database update status
_________________________________
• •
OS collector state
_________________________________
•
Dialog Dia log response tim e
_________________________________
•
Swap percentage used SAP R/3 extended memory utilization
_________________________________
• •
Lock table utili za zation tion
•
Free background wo rk process
_________________________________
•
PI/XI PI/ XI block qu eues (for PI/XI PI/XI system land scapes)
_________________________________
•
Oracle critical errors (ORA …)
_________________________________
_________________________________ 48
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
_________________________________
•
Monitorin g PI PI/X /XII GRMG/Portal Monitoring
_________________________________
• •
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ 49
SAP PI/XI PI/XI Monitori ng Arc hitecture ABAP Plain Adapter (XML docs) BPM Integration Engine Java Engine Adapter Engine Mapping Engine IB, ID,SLD, RWB Java Proxy Engine AS2 Encryption Engine OS Based CPU, Memory … File Systems Agents sapccm4x sapccmsr ABAP Queues
_________________________________ ABAP Queues Agents sapccm4x sapccmsr
_________________________________
SAP R/3 APPINT (XI 2.0)
_________________________________ _________________________________
CCMS on SAP Solution Manager
ABAP Queues Agents sapccm4x sapccmsr
BW/SEM Integration Engine
ABAP Queues Agents sapccm4x sapccmsr
EBP/SRM Integration Engine
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
SAP PI/XI System
50
Key PI/XI Objects to Monitor •
•
_________________________________ _________________________________
ABAP side:
Message Message queues (inbound/outboun d)
Business Process Engine processes
Integration Integration Engine system erro rs
Standard ABA P alerts lik e CPU, CPU, File File System …
_________________________________ _________________________________ _________________________________ _________________________________
J2EE side:
Adapter Engi ne — JDBC, HTTP HTTP,, FTP, FTP, File, AS2
JVM — Hea Heapp si ze ze,, thread
Key file System — (SI (SID\F D\Files iles of sm41..)
_________________________________ _________________________________
Generic Request and Message Generator Generator (GRMG) (GRMG) — Integratio n Repositor Repositor y, Integration Directory, SLD, SLD, Runtime Workbench
_________________________________ _________________________________
51
Monitori ng of ABAP Message Queue Queuess •
•
_________________________________
Message Queue objects th at relate relate to transaction SMQR
_________________________________
SMQ1, SMQ2
_________________________________
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 52
Monitori ng of BPE Transactions Transactions •
_________________________________
Business Process Engine objects relate to the transaction sxmb_moni_bpe
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 53
Monitori ng of Integration Engine Objects Objects •
_________________________________ _________________________________
Integration Engine Integration Object that correlates with the transactio transactio n Sxmb_moni
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 54
Monitori ng of JVM-Specific JVM-Specific Components
_________________________________
•
Monitor J2EE components
_________________________________
•
Monitor PI/XIPI/XI-specific specific syst em components:
_________________________________
Under both Dispatcher/Server0 J2EE servers Application Pools
_________________________________
System Threads
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Java Memory (Heap Size) 55
Monitori ng Using GRMG •
_________________________________ _________________________________
GRMG GR MG polls the foll owing PI PI/X /XII-specific specific compon ents:
Integration Directory (ID) Integration Repository (IR) (IR) Runtime Workbench (RWB) System Landscape Directory (SLD) Adapter Adapter Engine
_________________________________
J2EE Components GRMG Objects
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 56
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
•
Monitorin g PI PI/X /XII
_________________________________
•
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 57
GRMG GRMG Monitorin g •
•
_________________________________ _________________________________
GRMG lets GRMG lets you check the availability of a chain of technical compo nents and of business processes, or a mixtu re of both, in an AS ABAP or AS Java enviro enviro nment
_________________________________ _________________________________
GRMG can GRMG can thu s be used for technical as well as application applica tion monitoring
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 58
GRMG Lite Setup for ITS Monitoring •
_________________________________
You can perform ITS Monitoring using GR GRMG MG Lite
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 59
GRMG Lite Setup for ITS Monitoring (cont.) •
_________________________________ _________________________________
Using GRMG GRMG Lite for IT ITS S Monitorin g
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 60
GRMG Lite Setup for ITS Monitoring (cont.) •
_________________________________ _________________________________
Availability of IT ITS S Server Server
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 61
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts Monitorin g PI PI/X /XII
_________________________________
• •
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 62
Features of the Central Performance History (CPH) •
• •
•
_________________________________
Handles Ha ndles minute, quarter-hourly, quarter-hourly, and hourl y monit oring data
_________________________________
Automated data aggregation
_________________________________
Aggregations Aggregations from minute values to hourly, month ly, and yearly averages
_________________________________ _________________________________
Automated data reorganization
•
_________________________________
Centralizes collection and storage of performance-related monitori ng data of the com plete system landscape in a fast and efficient way
•
_________________________________
_________________________________
Aggregation of performance values from a higher to a lower temporal granularity and the following deletion of the data with the higher granularity
_________________________________ _________________________________
Accessible from t he SAP Solution Solution Ma Manage nagerr Al ert Monitor Configurable, scheduled scheduled limit ed reporting and export of data 63
CPH Features
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Flow of Statistics Data in Detail (Source: SAP) 64
CPH Features Features (con t.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
Reporting on Performance and Statistics Data in B I (Source: SAP) 65
CPH Setup
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 66
CPH Setup Setup (cont.) (co nt.) •
_________________________________ _________________________________
This is intermediate output of th e CPH CPH setup setup
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 67
CPH Setup Setup (cont.) (co nt.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 68
Example of Web Report Using CPH
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 69
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
_________________________________
•
Monitorin g PI PI/X /XII GRMG/Portal Monitoring
_________________________________
• •
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ 70
Analyzing Performance with SAP Solution Manager Manager •
•
_________________________________
Prerequisi tes: Monitor ing s ets have been Prerequisi been created in RZ20 RZ 20 for each each satellite sy stem to be monitor ed To analyze performance:
_________________________________ _________________________________ _________________________________
Open the Monitoring set Go to View Details Details for Performance Performance Nodes This gives detail values o n each MTE for last 24 Hours/ 4 Hours/30 Minutes 24 Hours – With Hourly Hourly Aggregated Aggregated 4 Hours – Eve Every ry 15 Minutes Aggregated Aggregated 30 Minut inutes es – Eve Every ry Minute aggregated aggregated For any performance issue we can loo k at each value and analyze analyze the issue. This is the easiest way to id entify the performance bottleneck.
_________________________________ _________________________________ _________________________________
_________________________________
_________________________________ _________________________________ 71
Analyzing Performance with SAP Solution Manager Manager (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 72
Analyzing Performance with SAP Solution Manager Manager (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 73
Analyzing Performance with SAP Solution Manager Manager (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 74
Analyzing Performance with SAP Solution Manager Manager (cont.) •
_________________________________ _________________________________
Details for Performance Nodes
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 75
Analyzing Performance with SAP Solution Manager Manager (cont.) •
_________________________________ _________________________________
Details De tails for Pe Perform rform ance Nodes Nodes (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 76
Analyzing Performance with SAP Solution Manager Manager (cont.) •
_________________________________
Details De tails for Pe Perform rform ance Nodes Nodes (cont.)
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ 77
What We’ll Cover …
_________________________________
Monitorin g with SAP Solution Manager Manager — Overview
_________________________________
•
Availability Ava ilability Monitoring — Quick Setup Setup
_________________________________
•
Alert Ale rt Monitoring — Quick Setup Setup
_________________________________
•
Defining Autoreactions for Alerts
•
Monitorin g PI PI/X /XII
_________________________________
•
GRMG/Portal Monitoring
•
CPH/We CPH /Webb Reporti Reporting ng
•
• •
_________________________________ _________________________________
Analyzing Performance with SAP Solution Ma Manager nager
_________________________________
Wrap-up
_________________________________ _________________________________ 78
Resources •
•
_________________________________
Public We Webb
•
_________________________________
www.sap.com Solutions Platform SAP NetWeaver Solution Manager Manager
Components & Tools
_________________________________
SAP
_________________________________ _________________________________
SAP Service Marketplace*
www.service.sap.com/solutionmanager
www.service.sap.com/rkt-solman
_________________________________ _________________________________
Online Help
http://help.sap.com/
_________________________________
SAP S Solu olu tion Manager
_________________________________ _________________________________ * Requires login credentials to the SAP Service Marketplace
79
7 Key Points t o Take Home Home •
If you are not currently using SAP Soluti Soluti on Manager, Manager, start planning to use this free solution tool ASAP
•
If you set up SAP Solution Ma Manager nager properly, it wil l help to proactiv ely monitor y our SAP landscape landscape so that you can avoid downtim e and and sys tem failures
•
•
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
With SAP Solution Manager 4.0, you can effectively monit or ABA P and and Java stack sys tems
_________________________________
Preparing the Alert Matrix and mapping the same in Preparing RZ20 RZ 20 will help to streamline monitor ing of SAP systems
_________________________________ _________________________________ _________________________________ 80
7 Key Points to Take Home (cont.) •
_________________________________
CPH can be a gr eat help
_________________________________
SAP Soluti Soluti on Manager Manager and BI interfacing wil l giv e you great Web Web reporting capability of alert data and and performance data
•
_________________________________
SAP Soluti Soluti on Manager Manager is a key tool for id entifying t he performance bottleneck in t he satellit satellit e system
•
_________________________________
_________________________________ _________________________________
This will also help to d evelop data for top management management
_________________________________
SAP Solution Manager Manager can be used effectively for SAP PI/X PI /XII system monitor ing, inclu ding the sys tems XI interfaces with
_________________________________ _________________________________ _________________________________ 81
Thank You! Q&A
_________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________ _________________________________
How to contact me: Sanjeev Gholap [email protected]
_________________________________ 82
Notes: ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______
Notes: ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______
Notes: ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______ ___________________________________ ______________________________________________________ _____________________________________ ________________________ ______
Wellesley Information Services, 990 Washington Street, Suite 308, Dedham, MA 02026
Copyright © 200 8 Wellesley Information Services. All rights reserved.