Sie sind auf Seite 1von 55

Monitoring of

Integration Processes
Joachim Orb
NetWeaver RIG XI, SAP AG
KHNC, 09/13/2006
Process based monitoring
Component based monitoring
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 3
Process based monitoring Entry points
Purpose:
Monitoring individual process instances
Detailed information
Mainly used during development or for a detailed analysis in a production
environment
Requires basic understanding of the process definition
Entry points
Integration Engine Monitoring (transaction SXMB_MONI)
Default view
Process view
Business Process Engine Monitoring (transaction SXMB_MONI_BPE)
Process selection per Process ID, Message Type, Message instance, Erroneous
processes, ...
Forward navigation from CCMS
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 4
Process view of SXMB_MONI
Example: the following slides represents process instances on a process
of type
Output of process view of SXMB_MONI (Process view):
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 5
Process view of SXMB_MONI
Process name (Integration Directory
Process (Instance) ID
Process status
Entry point for BPE monitoring
Provides a comprehensive overview over processes and associated
messages
Display follows well-known structure of SXMB_MONI
Navigation to Workflow Log
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 6
Workflow Log (Technical Details)
1
2
1: Details for Block (Content of Container)
2: Receive Step (Active Correlations)
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 7
1: Details for Block (Content of Container)
Example:
1
3
2
1: Received Messages
2: Used Correlations
3: Content of simple typed container
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 8
2: Receive Step (Active Correlations)
Example:
1
2
1: Message Header Information
2: Correlations used to bind message to a running process
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 9
Workflow Log (Technical Details)
3
3: Details on mapping step
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 10
3: Mapping Step
Example:
2
3
1
4
1: Meta data of used Interface Mapping
2: Source message(s)
3: Target message(s)
4: Mapping trace
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 11
Source/target messages
Example: Double click on MESSAGES_IN / MESSAGES_OUT
1
List of source/target message(s)
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 12
Workflow Log (Technical Details) NW 2004s
1
2
Process based monitoring
Component based monitoring
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 14
Component based monitoring
Purpose:
Monitoring of components involved in BPE
Mainly used in a production environment
Requires basic understanding of the system architecture
Entry point
CCMS (transaction RZ20)
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 15
ccBPM Monitoring in CCMS
With SP17 BPE monitoring is integrated into CCMS
CCMS calls periodically corresponding data supplier
Hierarchical display of BPE status in CCMS using traffic lights
Analysis tools, providing
Textual display with causes, symptoms and remedies for an alert
Compensation tools for resolving a reported problem
Navigation to process based monitoring
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 16
XI Integration Server
BPE Architecture
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 17
XI Integration Server
BPE process logic
XBQO$PE_WS...
P
E
_

A
D
A
P
T
E
R
C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTI...
sync
stops sync
execution
tRFC Callback
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 18
BPE process flow - Example
XI Integration Server
P
E
_

A
D
A
P
T
E
R
ID=123
ID=456
ID=789
Correlation
ID=

4321
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 19
BPE process flow - Example
XI Integration Server
P
E
_

A
D
A
P
T
E
R
ID=123
ID=456
ID=789
Correlation
ID=

43
1
2
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 20
BPE process flow - Example
XI Integration Server
P
E
_

A
D
A
P
T
E
R
ID=123
ID=456
ID=789
Correlation
ID=

4
2
1
3
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 21
BPE process flow - Example
XI Integration Server
P
E
_

A
D
A
P
T
E
R
ID=123
ID=456
ID=789
Correlation
ID=

3
2
1
4
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 22
BPE process flow - Example
XI Integration Server
P
E
_

A
D
A
P
T
E
R
ID=123
ID=456
ID=789
Correlation
ID=

2
1
3
4
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 23
ccBPM Monitoring Structure in CCMS
Exchange Infrastructure

Business Process Engine


Definition
Runtime
Process Data
Overall status
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 24
ccBPM Monitoring Structure in CCMS / Overall status
Overall status
Status of the Business Process Engine
Status of the automatic customizing
Allowed statuses: Ready, Stopped, Stopping BPE, Starting BPE
See transaction: xmb_adm_bpe -> Automatic BPM customizing
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 25
ccBPM Monitoring Structure in CCMS / Definition
Definition
Incorrect process definitions in XI cache
Process instances without definition
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 26
ccBPM Monitoring Structure in CCMS / Definition
Definition
Incorrect process definitions in XI cache
Process instances without definition
Error situations:
Transaction sxi_cache produces returncode 0 for a process definition
Process definition of a running instance has been deleted
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 27
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Deadlines
Status of deadline monitoring
Process Engine
Deadline items in status error
Process start
Process execution
Process instance consistency
Hanging process instances
Process interruption caused by locks
Incomplete recovery after system crash

SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 28


ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Deadlines
Status of deadline monitoring
Process Engine
Deadline items in status error
Process start
Process execution
Process instance consistency
Hanging process instances
Process interruption caused by locks
Incomplete recovery after system crash

Checks whether the job to check


deadlines is executed
successfully on a regularly basis.
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 29
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Deadlines
Status of deadline monitoring
Process Engine
Deadline items in status error
Process start
Process execution
Process instance consistency
Hanging process instances
Process interruption caused by locks
Incomplete recovery after system crash

Only used for inbound


processing with buffering
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 30
XI Integration Server
Hanging process instances
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 31
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Deadlines
Status of deadline monitoring
Process Engine
Deadline items in status error
Process start
Process execution
Process instance consistency
Hanging process instances
Process interruption caused by locks
Incomplete recovery after system crash

SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 32


XI Integration Server
Process interruption caused by locks
XBQO$PE_WS...
P
E
_

A
D
A
P
T
E
R
C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTI...
sync
stops sync.
processing
tRFC Callback
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 33
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Deadlines
Status of deadline monitoring
Process Engine
Deadline items in status error
Process start
Process execution
Process instance consistency
Hanging process instances
Process interruption caused by locks
Incomplete recovery after system crash

Checks whether there are


process instances in status
COMPLETED containing
process steps in other status
than COMPLETED or
CANCELLED
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 34
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 35
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 36
XI Integration Server
qRFCs in Status ERROR
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 37
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 38
XI Integration Server
Delayed qRFCs
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 39
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
Checks whether the restart of
temporarily erroneous work
items is executed on a regularly
basis
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 40
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
Checks whether the cleanup of
job logs is executed on a
regularly basis
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 41
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
Only used for inbound
processing with buffering
and acknowledgements
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 42
ccBPM Monitoring Structure in CCMS / Runtime
Runtime
Process scheduling
Delayed qRFCs
Eventing
Status of automatic error handling
Events in status ERROR

Status of event queue monitoring


Status of automatic clean up
Event linkages in status errors
Events waiting for delivery
Tracking / Database tables
Process trace status
Event trace status
qRFCs in Status ERROR
Checks whether traces are
written in a productive system
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 43
ccBPM Monitoring Structure in CCMS / Process Data
Process data
Process instances
Process instances
Process instances in status ERROR
Unprocessed XML messages
Unsent XML messages
Pending XML messages
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 44
ccBPM Monitoring Structure in CCMS / Process Data
Process data
Process instances
Process instances
Process instances in status ERROR
Unprocessed XML messages
Unsent XML messages
Pending XML messages
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 45
XI Integration Server
Process instances in status ERROR
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
1
2
STOP
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 46
ccBPM Monitoring Structure in CCMS / Process Data
Process data
Process instances
Process instances
Process instances in status ERROR
Unprocessed XML messages
Unsent XML messages
Pending XML messages
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 47
XI Integration Server
Pending XML messages
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 48
ccBPM Monitoring Structure in CCMS / Process Data
Process data
Process instances
Process instances
Process instances in status ERROR
Unprocessed XML messages
Unsent XML messages
Pending XML messages
Only used for inbound
processing with buffering
and acknowledgements
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 49
XI Integration Server
Unprocessed XML messages
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R
C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
RSWF_XI_UNPROCESSED_MSGS
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 50
ccBPM Monitoring Structure in CCMS / Process Data
Process data
Process instances
Process instances
Process instances in status ERROR
Unprocessed XML messages
Unsent XML messages
Pending XML messages
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 51
XI Integration Server
Unsent XML messages
ID=123
ID=456
ID=789
XBQO$PE_WS...
Correlation
ID=
P
E
_

A
D
A
P
T
E
R

C
E
N
T
R
A
L
P
I
P
E
L
I
N
E
XBTO...
XBTI...
RSWF_XI_UNSENT_MSGS
Questions?
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 53
Copyright 2006 SAP AG. Alle Rechte vorbehalten
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche
Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige Ankndigung gendert werden.
Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte knnen Softwarekomponenten auch anderer Softwarehersteller enthalten.
Microsoft

, WINDOWS

, NT

, EXCEL

, Word

, PowerPoint

und SQL Server

sind eingetragene Marken der Microsoft Corporation.


IBM

, DB2

, DB2 Universal Database, OS/2

, Parallel Sysplex

, MVS/ESA, AIX

, S/390

, AS/400

, OS/390

, OS/400

, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner,


WebSphere

, Netfinity

, Tivoli

, Informix und Informix

Dynamic ServerTM sind Marken der IBM Corporation.


ORACLE

ist eine eingetragene Marke der ORACLE Corporation.


UNIX

, X/Open

, OSF/1

und Motif

sind eingetragene Marken der Open Group.


Citrix

, das Citrix-Logo, ICA

, Program Neighborhood

, MetaFrame

, WinFrame

, VideoFrame

, MultiWin

und andere hier erwhnte Namen von Citrix-Produkten sind Marken von
Citrix Systems, Inc.
HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C

, World Wide Web Consortium, Massachusetts Institute of Technology.


JAVA

ist eine eingetragene Marke der Sun Microsystems, Inc.


JAVASCRIPT

ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von Netscape entwickelten und implementierten Technologie.
MaxDB ist eine Marke von MySQL AB, Schweden.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, und weitere im Text erwhnte SAP-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken
oder eingetragene Marken der SAP AG in Deutschland und anderen Lndern weltweit. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen.
Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. Produkte knnen lnderspezifische Unterschiede aufweisen.
Die in dieser Publikation enthaltene Information ist Eigentum der SAP. Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in
welcher Form auch immer, nur mit ausdrcklicher schriftlicher Genehmigung durch SAP AG gestattet.
Bei dieser Publikation handelt es sich um eine vorlufige Version, die nicht Ihrem gltigen Lizenzvertrag oder anderen Vereinbarungen mit SAP unterliegt. Diese Publikation enthlt
nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts. SAP entsteht aus dieser Publikation keine Verpflichtung zu einer bestimmten Geschfts- oder
Produktstrategie und/oder bestimmten Entwicklungen. Diese Publikation kann von SAP jederzeit ohne vorherige Ankndigung gendert werden.
SAP bernimmt keine Haftung fr Fehler oder Auslassungen in dieser Publikation. Des Weiteren bernimmt SAP keine Garantie fr die Exaktheit oder Vollstndigkeit der
Informationen, Texte, Grafiken, Links und sonstigen in dieser Publikation enthaltenen Elementen. Diese Publikation wird ohne jegliche Gewhr, weder ausdrcklich noch
stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zweck sowie fr die
Gewhrleistung der Nichtverletzung geltenden Rechts.
SAP haftet nicht fr entstandene Schden. Dies gilt u. a. und uneingeschrnkt fr konkrete, besondere und mittelbare Schden oder Folgeschden, die aus der Nutzung dieser
Materialien entstehen knnen. Diese Einschrnkung gilt nicht bei Vorsatz oder grober Fahrlssigkeit.
Die gesetzliche Haftung bei Personenschden oder Produkthaftung bleibt unberhrt. Die Informationen, auf die Sie mglicherweise ber die in diesem Material enthaltenen Hotlinks
zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen ber
Internetseiten Dritter ab.
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 54
Colors
R
e
m
o
v
e
p
a
g
e
fo
r s
lid
e
s
h
o
w

77
77
77
239
159
0
0
51
102
R
G
B
191
191
191
33
87
71
80
34
71
190
102
0
87
129
174
124
30
31
R
G
B
SAP AG 2006, SAP SKILLS 2006 CONFERENCE / D2 / 55
In order to access the links below, please view this slide in Slide Show mode
Links to SAP PowerPoint Samples & Guidelines
R
e
m
o
v
e
p
a
g
e
fo
r s
lid
e
s
h
o
w

SAP_PPT Guidelines Other than Title Slides and Divider Pages - The SAP PPT
Guidelines include theory and examples of:
Colors, Fonts & Bullets
Image Usage & Quotes
Graphics, Charts, Tables & Processes
SAP_PPT Samples
SAP PPT Sample pages include live ppt slides that
were discussed in the SAP PPT Guidelines. Users
can select from a library of slides including title
slides, divider pages, bulleted slides, charts and
graphs
For questions regarding the information and materials contained in these
guidelines, please email branding@SAP.com

Das könnte Ihnen auch gefallen