Sap Solman E2E Trace Analysis

12
E2E Root Analysis Cause E2E Trace Analysis Functionality SAP Solution Manager http://www.linkedin.com/in/solutionmanager Wenceslao Lacaze

description

 

Transcript of Sap Solman E2E Trace Analysis

Page 1: Sap Solman E2E Trace Analysis

E2E Root Analysis Cause E2E Trace Analysis Functionality

SAP Solution Manager

h t t p : / / w w w . l i n k e d i n . c o m / i n / s o l u t i o n m a n a g e r

W e n c e s l a o L a c a z e

Page 2: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 2 of 12

Table of Contents

Versioning ..............................................................................................................................................................................3 Author Bio ..............................................................................................................................................................................3 E2E Trace Analysis..............................................................................................................................................................4 Activate the Trace Functionality....................................................................................................................................4 Install and run the Plug-in................................................................................................................................................4 Collect the Information .....................................................................................................................................................7 Analyse the Trace Information.......................................................................................................................................8

Http Analysis ....................................................................................................................................................................9 Summary .......................................................................................................................................................................9 Message Table .......................................................................................................................................................... 10 Message Graphics.................................................................................................................................................... 10

Server Analysis ............................................................................................................................................................. 10 Summary .................................................................................................................................................................... 10 Request tree .............................................................................................................................................................. 11 Introscope Information ........................................................................................................................................ 11 J2EE SQL Information............................................................................................................................................ 11

Page 3: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 3 of 12

Versioning Version Change Date

1.0 Original 10/06/2008

2.0 Webpage Link. 23/06/2008

Author Bio

My name is Wenceslao Lacaze and I’ve been working as a SAP basis

Administrator and Solution Manager Consultant for the last 8 years.

I’m a Techno-Functional SAP Solution Manager Subject Matter Expert (SME), I

Design, Build and Implement the product using “Run Sap” Methodology.

I have developed a very extended experience with medium and large scaled

SAP installations in several (multi)national environments.

I am based in Argentina, but work all around the World.

I work directly for clients or via an agency.

I do speak Spanish, Italian and English fluently.

You can contact me at:

Email: [email protected]

http://www.linkedin.com/in/solutionmanager

You can found more papers at :

http://wlacaze.googlepages.com/home

Page 4: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 4 of 12

E2E Trace Analysis This tool allow us to trace all the internal steps during the web transaction, Is useful to understand

what happen inside the Java environment during the task.

Activate the Trace Functionality Root Cause Analysis�Traces�Solution�E2E Trace Analysis�Trace Enabling�Enable All

Install and run the Plug-in Download the HTTP Plug-in program attached in the note 1041556 from Sap Marketplace at

http://service.sap.com/sap/support/notes/1041556

Unzip and run the SAPIEPlugin.exe in your computer.

Page 5: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 5 of 12

Windows open 2 windows, one browser IExplorer windows and another “Sap Http Plug-in”

window. Complete with the SMD Information (Host and Port) in HTTPPlugin Window.

Complete with the information and press “Start Transaction”

Now you can see the HttpPlugin is Recording and you see a new value in Send Bytes/Received

Bytes and Request/Response”

Page 6: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 6 of 12

Click in New Step, write a new Step name and logon to the System

When the system ends the load, create a new step and continue with your session

When you end the task click in Stop transaction

Page 7: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 7 of 12

Collect the Information Logon to Solution Manager..

Root Cause Analysis�Traces�Solution�System Role�E2E Trace Analysis

Select the Icon New to “Upload Business transaction.xml”..You can found the TraceXML in the Logs

Directory inside the SAPHTTPPlugin tool..

Now you can see the Session inside the TraceTool, Select the Session..

Page 8: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 8 of 12

Confirm the Dialog to allow SMD collect the Server-side trace data.

Wait until the collection ends.

If SMD have error collection the trace data you can still process the information.

Analyse the Trace Information You found 2 Main Information, The Http Analysis and the Server Analysis.

Page 9: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 9 of 12

If you want to analysis the traces, select the Business Transactions and the Transaction Steps and

Click in Display…

Http Analysis

Summary

This screen have the information related to all the timing process for this single step.

Page 10: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 10 of 12

Message Table

You can see all the history of this single Step

Message Graphics

You can see in Graphical way all the Timing of this step.

Server Analysis

Summary

You can see the Servers time.

Page 11: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 11 of 12

Request tree You can see all the Details about this Step.

Introscope Information

If you click in the clock icon you can see the information for this request in Introscope

Missing Screen..

J2EE SQL Information

If You click in the Database icon you can see the J2EE SQL trace.

In the Detail you can see the SQL Statement and the perform time.

Page 12: Sap Solman E2E Trace Analysis

E2E RCA – Trace Analysis Functionality

SAP-SOLMAN-E2E-Trace Analysis-v2.0.doc Page 12 of 12

If you click in the Details Tab you can see the entire SQL Trace on managed system.