Vous êtes sur la page 1sur 28

_________________________________

_________________________________
_________________________________
_________________________________
A Guide to _________________________________
Monitoring SAP _________________________________
Web AS Java for _________________________________
Administrators _________________________________
_________________________________
Don Kehoe
Symmetry Corporation _________________________________
© 2008 Wellesley Information Services. All rights reserved.

In This Session ...


_________________________________
• This session describes the monitoring tools needed to _________________________________
manage Web AS (WAS) Java _________________________________
• It also provides examples of administrating, monitoring,
_________________________________
and troubleshooting Web AS Java
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator
_________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
• Wrap-up _________________________________
_________________________________
_________________________________
_________________________________

2
Underlying Infrastructure for Java Monitoring
_________________________________
• JMX (Java Management Extended) _________________________________
• JARM (Java Application Response Time Measurement) _________________________________
• SAT (Single Activity Trace) _________________________________
• DSR (Distributed Statistics Records)
_________________________________
• Performance Trace
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

WAS Java Common Applications


_________________________________
• Enterprise Portal _________________________________
• Internet Sales _________________________________
• Internet Customer Self Service _________________________________
• NetWeaver Development Infrastructure
_________________________________
• Process Integration
_________________________________
• NetWeaver BI Java
_________________________________
• Adobe Document Services
_________________________________
_________________________________
_________________________________

Web AS Java Monitoring – Release Differences


_________________________________
• Web AS 6.20 _________________________________
ΠNo NetWeaver Administrator (NWA)
_________________________________
ΠVisual Administrator and CCMS are primary tools
• Web AS 6.40 _________________________________
ΠIntroduction of NWA in SP 12 РIntegrated Monitor Service _________________________________
• Web AS 7.0 _________________________________
ΠNew functionality Рsome reconfiguration _________________________________
• Examples in the subsequent slides
_________________________________
_________________________________
_________________________________

5
Web AS Java Index Page (7.0)
_________________________________
• System information
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator _________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
_________________________________
• Wrap-up
_________________________________
_________________________________
_________________________________

Visual Administrator
_________________________________
• A graphical user interface (GUI) that enables _________________________________
administration of the SAP J2EE engine
• It provides remote monitoring and management of _________________________________
managers, services, libraries, and interfaces working on _________________________________
each element in a single GUI
_________________________________
• Includes functions for:
ΠObtaining general information about a service, manager, _________________________________
interface, or library _________________________________
ΠLogging on to the SAP J2EE Engine via the Visual
Administrator tool _________________________________
ΠAdministrating and changing the properties either specific or _________________________________
common for each service or manager
ΠRuntime administration and control _________________________________

8
Visual Administrator (cont.)
_________________________________
• Includes functions for: (cont.) _________________________________
ΠDeployment of applications on all cluster elements
_________________________________
ΠViewing logs
ΠViewing current performance and limited performance history _________________________________
ΠViewing current sessions _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Monitoring Service
_________________________________
Applications _________________________________
_________________________________
Kernel
_________________________________
_________________________________
Performance
_________________________________
_________________________________
Services
_________________________________
_________________________________
System
_________________________________

10

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator
_________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
• Wrap-up _________________________________
_________________________________
_________________________________
_________________________________

11
SAP NetWeaver Administrator
_________________________________
• SAP NetWeaver Administrator (NWA) is the new central _________________________________
administration and monitoring tool for the 6.40 and
_________________________________
above Java systems of your SAP NetWeaver system
landscape _________________________________
• SAP NetWeaver Administrator is a Java application that _________________________________
ships with SAP NetWeaver 6.40 SP 12 and SAP _________________________________
NetWeaver 7.0
_________________________________
_________________________________
_________________________________
_________________________________

12

NWA 7.0 – Monitoring Overview


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

13

NWA – Java System Reports


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

14
NWA Java System Reports – Variables
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

15

NWA Java System Reports – Variables (cont.)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

16

NWA Java System Reports – Select Report


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

17
NWA Java System Reports – Slowest Requests
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

18

NWA Java System Reports – Go to Detailed Chart


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

19

NWA Java System Reports – Detailed Chart


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

20
NWA Log Viewing
_________________________________
• Select view _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

21

NWA Log Viewing (cont.)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

22

NWA Log Viewing (cont.)


_________________________________
• Filtered log _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

23
NWA Log Viewing (cont.)
_________________________________
• Record details _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

24

NWA Log Viewing (cont.)


_________________________________
• Full record information _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

25

NWA Log Viewer


_________________________________
• Look for key words and phrases _________________________________
ΠExample from log
f Unable to parse template _________________________________
'<System.scheme>://<System.servername>:<System.serverport><BWLaunche
rComponent[PORTAL_URL]>;jsessionid=<Request.JSessionID>?sap-bw- _________________________________
iViewID=<FPN.PCDHomeLocation[URL_ENCODE]>&sap-ext-
sid=<ESID[URL_ENCODE]>&sap-pp-producerid=<producerID>&sap-pp- _________________________________
consumerBaseURL=<Request.BaseURL[URL_ENCODE]>&theme=<LAF.The
me[URL_ENCODE]>&sap-
_________________________________
lafversions=<LAF.AllVersions[URL_ENCODE]>&<BusinessParameters>'; the _________________________________
problem occured at position 138. Cannot process expression <FPN.d>
_________________________________
ΠThe above log led to Notes 1121154, then 1128730, and finally 1140854,
which resolved the problem _________________________________
_________________________________

26
NWA Activity Trace (6.40)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

27

NWA End to End Trace (7.0)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

28

NWA End to End Trace (7.0) (cont.)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

29
NWA End to End Trace (7.0) (cont.)
_________________________________
• Trace overview _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

30

NWA End to End Trace (7.0) (cont.)


_________________________________
• Request overview _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

31

NWA End to End Trace (7.0) (cont.)


_________________________________
• SQL calls _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

32
NWA End to End Trace (7.0) (cont.)
_________________________________
• Threads _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

33

NWA and Solution Manager


_________________________________
• Different roles _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

34

NWA and Solution Manager (cont.)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

35
NWA and Solution Manager Diagnostics
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
WAS 7.0 ABAP + JAVA _________________________________
_________________________________
_________________________________

36

Solution Manager End to End (E2E) Diagnostics


_________________________________
• Structured analysis _________________________________
• Cross component diagnostics _________________________________
• Open diagnostics hub _________________________________
• End to end workload analysis
_________________________________
• End to end trace
_________________________________
• Additional tools
_________________________________
_________________________________
_________________________________
_________________________________

37

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator
_________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
• Wrap-up _________________________________
_________________________________
_________________________________
_________________________________

38
Central Monitoring
_________________________________
• Web AS Java _________________________________
_________________________________
_________________________________
SAP
SAP Web
Web AS
AS Java
Java
SAP
SAP System
System for
for
_________________________________
Central
Central Monitoring
Monitoring

SAPCCMSR Monitoring _________________________________


Segment

CEN _________________________________
_________________________________
Central Monitoring permits monitoring a number of
_________________________________
systems from one central system. The system used
for Central Monitoring is referred to as CEN. _________________________________

39

Steps to Set Up CEN System – Java


_________________________________
• Activate background and Central System Dispatching _________________________________
• Create the CSMREG user _________________________________
• Create the CSMCONF Start File for CCMS agents _________________________________
• Register the CCMS Agent SAPCCMSR in Visual
_________________________________
Administrator
_________________________________
• Check Java instance in RZ21 Topology
• Enter Java instance in ST03G _________________________________
_________________________________
_________________________________
_________________________________

40

CEN Setup – Activate Central System Dispatching


_________________________________
• RZ21 _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

41
CEN Setup – Create CSMREG User
_________________________________
• RZ21 _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

42

CEN Setup – Create CSMREG User (cont.)


_________________________________
• RZ21 (cont.) _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

43

CEN Setup – Create CSMREG User (cont.)


_________________________________
• RZ21 (cont.) _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

44
CEN Setup – Create Agent Configuration File
_________________________________
• RZ21 _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

45

CEN Setup – Create Agent Configuration File (cont.)


_________________________________
• RZ21 (cont.) _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

46

CEN Setup – Register Java Instance


_________________________________
• Visual
Administrator
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

47
CEN Setup – Check Java System in Topology
_________________________________
• RZ21 _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

48

CEN Setup – Entering Java Systems in ST03G


_________________________________
1. Start the Global Workload Monitor in CEN by calling _________________________________
transaction ST03G _________________________________
2. In the navigation bar, expand the Settings & Log
_________________________________
subtree, and double-click the System Selection entry
3. Add an additional row to the desired list of monitored _________________________________
components by choosing the (Append Row) button _________________________________
_________________________________
_________________________________
_________________________________
_________________________________

49

CEN Setup – Entering Java Systems in ST03G (cont.)


_________________________________
4. Check Activated and enter the following data in this _________________________________
row:
ΠComponent Name under which the monitored system is _________________________________
displayed; use the following naming convention: _________________________________
f J2EE Engine:<Engine-Host>_<SysID>_<Engine-ID>
f Java Database Interface: <Engine-Host>_<Engine- _________________________________
SysID>_<Engine-ID>_JDBI _________________________________
ΠComp. Type SAPJ2ENode or SAPJDBI
ΠMon. Sys. System ID of the primary system with which the _________________________________
agent is registered _________________________________
ΠMon. Sys. Dest. RFC destination of the system ID of the
primary agent system; if a suitable destination does not yet _________________________________
exist, create this using transaction SM59
_________________________________

50
CEN Setup – Entering Java Systems in ST03G (cont.)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

51

CEN Monitoring in CCMS


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

52

CEN Monitoring in ST03G


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

53
CEN Monitoring in STATTRACE
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

54

CEN Monitoring in STATTRACE (cont.)


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

55

NWA Central Configuration


_________________________________
• Perform the following steps: _________________________________
ΠConfigure and activate the System Landscape Directory (SLD)
_________________________________
f Activate the Object Server

f Load the CIM model _________________________________


f Start the Data Supplier Bridge _________________________________
ΠAdjust the Central Monitoring System (CEN)
_________________________________
f For every instance of a J2EE Engine:

ƒ Register a CCMS Agent SAPCCMSR


_________________________________
f For every ABAP instance: _________________________________
ƒ Register a CCMS Agent SAPCCM4X
_________________________________
f Register CCMSPING and assign the monitored systems
_________________________________
ΠSetup NWA connections
56
Connecting CEN to NWA – Template Installer
_________________________________
• These templates are designed to connect NWA _________________________________
to an SLD on the same instance
_________________________________
• For monitoring your CEN, SLD and NWA should be on
the same instance _________________________________
ΠIf they are not, you need to do some steps manually _________________________________
• It makes sense for these tools to reside on the Solution
Manager instance _________________________________
• Some systems (NWDI, PI) should have Production Type _________________________________
SLD _________________________________
• Solution Manager is not always considered a Production
Machine _________________________________
GOTCHA!
• Spend time creating an architecture for your monitoring _________________________________
systems
57

Connecting CEN to NWA – Configuration Wizard


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

58

NWA Central Monitoring – Central Reports


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

59
NWA Central Monitoring – Central Reports (cont.)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

60

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator _________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
_________________________________
• Wrap-up
_________________________________
_________________________________
_________________________________

61

Web Dynpro Monitoring


_________________________________
• Web Dynpro Content Administrator _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

62
Web Dynpro Monitoring (cont.)
_________________________________
• Web Dynpro Console _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

63

NWA – Open SQL Monitors


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
W here
to
_________________________________
FIN D it
_________________________________
http://hostname.domainname.com:5XX00/OpenSQLMonitors
64

Application Monitors
_________________________________
• Enterprise _________________________________
Portal
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

65
Application Monitors (cont.)
_________________________________
• E-Commerce Administration _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

66

Command Line Tools


_________________________________
• JCMON _________________________________
ΠA tool for monitoring Java processes _________________________________
ΠSimilar to DPMON and GWMON
ΠCalled from profile directory
_________________________________
Πjcmon pf=xxxxxxx _________________________________
• Shell Administrator _________________________________
ΠUsed to administer Java through telnet
_________________________________
ΠShell Administrator Рtelnet to port 5NN08
_________________________________
_________________________________
_________________________________

67

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator
_________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
• Wrap-up _________________________________
_________________________________
_________________________________
_________________________________

68
What’s New in Java Monitoring
_________________________________
• Java information in Microsoft Management _________________________________
Console (MMC)
_________________________________
• Expanded NetWeaver Administrator
_________________________________
• NWA to replace Visual Administrator
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

69

SAP Management Console in NetWeaver 7.1


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

70

NWA in NetWeaver 7.1


_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

71
NWA
_________________________________
• All important administrative functionality of Visual _________________________________
Administrator will be covered in NWA
_________________________________
• Visual Administrator will become obsolete
_________________________________
• SAP NetWeaver Administrator starts focusing on Java
_________________________________
• In the future, additional ABAP monitoring and
administration functionality will be included _________________________________
_________________________________
_________________________________
_________________________________
_________________________________

72

What We’ll Cover …


_________________________________
• Web AS Java _________________________________
• Visual Administrator _________________________________
• SAP NetWeaver Administrator _________________________________
• Central Monitoring
_________________________________
• Other monitors
_________________________________
• What’s new?
_________________________________
• Wrap-up
_________________________________
_________________________________
_________________________________

73

Resources
_________________________________
• Steps to set up Central Monitoring _________________________________
ΠMonitoring Setup Guide for SAP NetWeaver 7.0
Πhttp://service.sap.com/operationsnw70* _________________________________
f Choose Monitoring
_________________________________
• NW70 SP14 Help link
Πhttp://help.sap.com/saphelp_nw70/helpdata/en/2e/30e93adccb444b871f3d4e7 _________________________________
f905b84/frameset.htm
_________________________________
• System monitoring
Πhttp://service.sap.com/monitoring* _________________________________
• Java Monitoring: _________________________________
Πhttp://sdn.sap.com
f Choose SAP NetWeaver Capabilities > Lifecycle Management > _________________________________
Operations > Monitoring
_________________________________
* Requires login credentials to the SAP Service Marketplace

74
7 Key Points to Take Home
_________________________________
• Your monitoring should be consistent and repetitive _________________________________
• Make notes on errors that occur normally in your Java _________________________________
engine with no apparent ill effects
_________________________________
• Configure Central Monitoring at least for plug-ins
_________________________________
• Create a monitoring architecture
• Carefully plan your SLD architecture _________________________________

• NWA will eventually replace Visual Administrator _________________________________


• Investigate the application monitors in your Java _________________________________
applications _________________________________
_________________________________

75

Your Turn!
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
How to contact me: _________________________________
Don Kehoe _________________________________
dkehoe@sym-corp.com
76
Notes:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Wellesley Information Services, 990 Washington Street, Suite 308, Dedham, MA 02026
Copyright © 2008 Wellesley Information Services. All rights reserved.

Vous aimerez peut-être aussi