80
A Guide to Monitoring SAP Web AS Java for Administrators Lee Johnson Basis Expert

A Guide to Monitoring SAP Web AS Java for Administrators

  • Upload
    symmetry

  • View
    31.636

  • Download
    3

Embed Size (px)

DESCRIPTION

Monitoring SAP Web AS Java? Get the techniques you need. Join basis expert Lee Johnson to learn the administrator’s tricks for managing Web AS Java. Find out about the many monitoring tools available and work through real examples of administration, monitoring and troubleshooting Web AS Java. More Information In this free webinar Symmetry Basis Expert Lee Johnson will cover: • Web AS Java – its underlying infrastructure, common applications and release differences • Visual Administrator • SAP NetWeaver Administrator – administration, reports, trouble shooting, and find out how it works with Solution Manager • Central Monitoring – walk through setting up and monitoring CEN • Other monitors – Web Dynpro, NWA Open SQL, Application monitors • Look at what’s new in Java monitoring

Citation preview

Page 1: A Guide to Monitoring SAP Web AS Java for Administrators

A Guide to Monitoring

SAP Web AS Java for

Administrators

Lee JohnsonBasis Expert

Page 3: A Guide to Monitoring SAP Web AS Java for Administrators

In This Session ...

This session will describe the monitoring tools needed to manage

Web AS (WAS) Java

It will also provide examples of administrating, monitoring, and

troubleshooting Web AS Java

3

Page 4: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

4

Page 5: A Guide to Monitoring SAP Web AS Java for Administrators

Java Monitoring Architecture

5

Source: SAP

Page 6: A Guide to Monitoring SAP Web AS Java for Administrators

Java Monitoring Tools

JMX (Java Management Extended)

JARM (Java Application Response Time Measurement)

SAT (Single Activity Trace)

DSR (Distributed Statistics Records)

Performance Trace

SQL Trace

Log Viewer

6

Page 7: A Guide to Monitoring SAP Web AS Java for Administrators

WAS Java Common Applications

Enterprise Portal

Internet Sales

Internet Customer Self Service

NetWeaver Development Infrastructure

Process Integration

Netweaver BI Java

Adobe Document Services

7

Page 8: A Guide to Monitoring SAP Web AS Java for Administrators

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

8

Page 9: A Guide to Monitoring SAP Web AS Java for Administrators

Web AS Java Index Page (7.0)

System information

9

Page 10: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

10

Page 11: A Guide to Monitoring SAP Web AS Java for Administrators

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

11

Page 12: A Guide to Monitoring SAP Web AS Java for Administrators

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

12

Page 13: A Guide to Monitoring SAP Web AS Java for Administrators

Monitoring Service

13

System

Services

Performance

Kernel

Applications

Page 14: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

14

Page 15: A Guide to Monitoring SAP Web AS Java for Administrators

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

15

Page 16: A Guide to Monitoring SAP Web AS Java for Administrators

NWA 7.0 - Monitoring Overview

16

Page 17: A Guide to Monitoring SAP Web AS Java for Administrators

NWA – Java System Reports

17

Page 18: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports - Variables

18

Page 19: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports – Variables (cont.)

19

Page 20: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports – Select Report

20

Page 21: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports – Slowest Requests

21

Page 22: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports – Go to Detailed Chart

22

Page 23: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Java System Reports – Detailed Chart

23

Page 24: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewing

Select view

24

Page 25: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewing (cont.)

Page 26: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewing (cont.)

Filtered log

26

Page 27: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewing (cont.)

Record details

27

Page 28: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewing (cont.)

Full record information

28

Page 29: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Log Viewer

Look for key words and phrases

Example from log

Unable to parse template

'<System.scheme>://<System.servername>:<System.serverport><BWLaunc

herComponent[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.Th

eme[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

29

Page 30: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Activity Trace (6.40)

30

Page 31: A Guide to Monitoring SAP Web AS Java for Administrators

NWA End to End Trace (7.0)

31

Page 32: A Guide to Monitoring SAP Web AS Java for Administrators

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

32

Page 33: A Guide to Monitoring SAP Web AS Java for Administrators

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

Trace overview

33

Page 34: A Guide to Monitoring SAP Web AS Java for Administrators

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

Request overview

34

Page 35: A Guide to Monitoring SAP Web AS Java for Administrators

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

SQL calls

35

Page 36: A Guide to Monitoring SAP Web AS Java for Administrators

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

Threads

36

Page 37: A Guide to Monitoring SAP Web AS Java for Administrators

NWA and Solution Manager

Different roles

37

Page 38: A Guide to Monitoring SAP Web AS Java for Administrators

NWA and Solution Manager (cont.)

38

Page 39: A Guide to Monitoring SAP Web AS Java for Administrators

NWA and Solution Manager Diagnostics

39

WAS 7.0 ABAP + JAVA

Page 40: A Guide to Monitoring SAP Web AS Java for Administrators

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

40

Page 41: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

41

Page 42: A Guide to Monitoring SAP Web AS Java for Administrators

Central Monitoring

Web AS Java

42

MonitoringSegment

SAPCCMSR

SAP Web AS Java

SAP System forCentral Monitoring

CEN

Central Monitoring permits monitoring a number of

systems from one central system. The system used for

Central Monitoring is referred to as CEN.

Page 43: A Guide to Monitoring SAP Web AS Java for Administrators

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

43

Page 44: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Activate Central System Dispatching

RZ21

44

Page 45: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Create CSMREG User

RZ21

45

Page 46: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Create CSMREG User (cont.)

RZ21 (cont.)

46

Page 47: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Create CSMREG User (cont.)

RZ21 (cont.)

47

Page 48: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Create Agent Configuration File

RZ21

48

Page 49: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Create Agent Configuration File (cont.)

RZ21 (cont.)

49

Page 50: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Register Java Instance

Visual Administrator

50

Page 51: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Check Java System in Topology

RZ21

51

Page 52: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Setup – Entering Java Systems in ST03G

Start the Global Workload Monitor in CEN by calling transaction

ST03G

In the navigation bar, expand the Settings & Log subtree, and

double-click the System Selection entry

Add an additional row to the desired list of monitored components by

choosing the (Append Row) button

52

Page 53: A Guide to Monitoring SAP Web AS Java for Administrators

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

Check activated and enter the following data in this row:

Component Name under which the monitored system is displayed; use

the following naming convention:

J2EE Engine:<Engine-Host>_<SysID>_<Engine-ID>

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

53

Page 54: A Guide to Monitoring SAP Web AS Java for Administrators

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

54

Page 55: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Monitoring in CCMS

55

Page 56: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Monitoring in ST03G

56

Page 57: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Monitoring in STATTRACE

57

Page 58: A Guide to Monitoring SAP Web AS Java for Administrators

CEN Monitoring in STATTRACE

58

Page 59: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Central Configuration

Perform the following steps:

Configure and activate the System Landscape Directory (SLD)

Activate the Object Server

Load the CIM model

Start the Data Supplier Bridge

Adjust the Central Monitoring System (CEN)

For every instance of a J2EE Engine:

Register a CCMS Agent SAPCCMSR

For every ABAP instance:

Register a CCMS Agent SAPCCM4X

Register CCMSPING and assign the monitored systems

Setup NWA connections

59

Page 60: A Guide to Monitoring SAP Web AS Java for Administrators

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

Spend time creating an architecture for your monitoring systems

60

GOTCHA!

Page 61: A Guide to Monitoring SAP Web AS Java for Administrators

Connecting CEN to NWA - Configuration

Wizard

61

Page 62: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Central Monitoring - Central Reports

62

Page 63: A Guide to Monitoring SAP Web AS Java for Administrators

NWA Central Monitoring - Central Reports

(cont.)

63

Page 64: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

64

Page 65: A Guide to Monitoring SAP Web AS Java for Administrators

WebDynpro Monitoring

WebDynpro Content Administrator

65

Page 66: A Guide to Monitoring SAP Web AS Java for Administrators

WebDynpro Monitoring

WebDynpro Console

66

Page 67: A Guide to Monitoring SAP Web AS Java for Administrators

NWA – Open SQL Monitors

Where

toFIND it

67

http://hostname.domainname.com:5XX00/OpenSQLMonitors

Page 68: A Guide to Monitoring SAP Web AS Java for Administrators

Application Monitors

Enterprise Portal

68

Page 69: A Guide to Monitoring SAP Web AS Java for Administrators

Application Monitors (cont.)

E-Commerce Administration

69

Page 70: A Guide to Monitoring SAP Web AS Java for Administrators

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

70

Page 71: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

71

Page 72: A Guide to Monitoring SAP Web AS Java for Administrators

What’s New in Java Monitoring

Java Information in Microsoft Management Console(MMC)

Expanded NetWeaver Administrator

NWA to replace Visual Administrator

72

Page 73: A Guide to Monitoring SAP Web AS Java for Administrators

SAP Management Console in NetWeaver 7.1

73

Page 74: A Guide to Monitoring SAP Web AS Java for Administrators

NWA in NetWeaver 7.1

74

SAP Management Console in NetWeaver 7.1

Page 75: A Guide to Monitoring SAP Web AS Java for Administrators

NWA in Netweaver 7.1

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

75

Page 76: A Guide to Monitoring SAP Web AS Java for Administrators

What We’ll Cover …

Web AS Java

Visual Administrator

SAP NetWeaver Administrator

Central Monitoring

Other monitors

What's new?

Wrap-up

76

Page 77: A Guide to Monitoring SAP Web AS Java for Administrators

Resources

Steps to set up Central Monitoring

Monitoring Setup Guide for SAP NetWeaver 7.0

http://service.sap.com/operationsnw70*

Choose Monitoring

NW70 SP14 Help link

http://help.sap.com/saphelp_nw70/helpdata/en/2e/30e93adccb444b871f

3d4e7f905b84/frameset.htm

System monitoring

http://service.sap.com/monitoring*

Java Monitoring:

http://sdn.sap.com

Choose SAP NetWeaver Capabilities > Lifecycle Management > Operations

> Monitoring

77

* Requires login credentials to the SAP Service Marketplace

Page 78: A Guide to Monitoring SAP Web AS Java for Administrators

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

78

Page 80: A Guide to Monitoring SAP Web AS Java for Administrators