e2e _troubleshootingguideehp1

19
SAP Solution Manager 7.0 EhP1 End-to-End Diagnostics Trouble Shooting Guide missing data in service session from BI/CCDB Version 1.1, December 2009

Upload: tamerelzaghal

Post on 28-Mar-2015

372 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: E2E _TroubleShootingGuideEhP1

SAP Solution Manager 7.0 EhP1

End-to-End Diagnostics

Trouble Shooting Guide missing data in

service session from BI/CCDB

Version 1.1, December 2009

Page 2: E2E _TroubleShootingGuideEhP1

END-TO-END DIAGNOSTICS

TROUBLE SHOOTING GUIDE MISSING DATA IN SERVICE SESSION FROM BI/CCDB

Typographic Conventions Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

Type Style Represents

Example Text

Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options.

Cross-references to other documentation.

Example text

Emphasized words or phrases in body text, graphic titles, and table titles.

EXAMPLE TEXT

Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE.

Example

text Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools.

Example

text Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation.

<Example

text> Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system.

EXAMPLE

TEXT Keys on the keyboard, for example, F2 or ENTER.

Page 3: E2E _TroubleShootingGuideEhP1

END-TO-END DIAGNOSTICS

TROUBLE SHOOTING GUIDE MISSING DATA IN SERVICE SESSION FROM BI/CCDB

Contents

1 Introduction ......................................................................................................................................... 4

1.1 How to Use this document ........................................................................................................... 4

1.2 Technical Infrastructure ............................................................................................................... 4

1.3 Required Software Components .................................................................................................. 4

1.4 Technical Infrastructure ............................................................................................................... 5

2 Trouble Shooting ................................................................................................................................. 6

2.1 Checking Workload Data .............................................................................................................. 6 2.1.1 E2E Workload Analysis application .......................................................................................... 6 2.1.2 Listcube ................................................................................................................................... 6

2.2 Checking Configuration Data ....................................................................................................... 8

2.3 General checks ........................................................................................................................... 10 2.3.1 Extractor Framework Administration ...................................................................................... 10 2.3.2 Diagnostics Setup Wizard and results .................................................................................... 11 2.3.3 Landscape Browser ............................................................................................................... 11 2.3.4 Selfcheck ............................................................................................................................... 12

2.4 Step by Step analysis ................................................................................................................. 13 2.4.1 Retrieving the correct LongSid ............................................................................................... 13 2.4.2 Retrieving the time frame ....................................................................................................... 14 2.4.3 Retrieving the BI RFC Destination and the User .................................................................... 14 2.4.4 Required Authorizations ......................................................................................................... 14 2.4.5 Missing configuration data ...................................................................................................... 14 2.4.6 Missing performance data ...................................................................................................... 16

3 Known Issues .................................................................................................................................... 18

3.1 Service Session........................................................................................................................... 18 3.1.1 Missing JDK information......................................................................................................... 18 3.1.2 Incomplete Instance name for double stack systems ............................................................. 18 3.1.3 Authorization Problem ............................................................................................................ 18 3.1.4 Multiple entries with no aggregated data ................................................................................ 19

Page 4: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 4

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

1 Introduction

1.1 How to Use this document

The purpose of this document is to help you with the troubleshooting of automatic service sessions like EarlyWatch

Alert (EWA) in the Solution Manager and the Solution Manager Diagnostics.

1.2 Technical Infrastructure

In order to generate an EarlyWatch Alert (EWA) for non-ABAP components, Solution Manager 7.01 is required.

Solution Manager comprises of both an ABAP and a Java stack. On the Java stack of the Solution Manager, Solution

Manager Diagnostics (SMD) is installed, which is used to collect centrally data of all managed non-ABAP systems.

Several other service sessions like EarlyWatch, GoingLive Analysis or GoingLive Verification use the same technique.

The ABAP stack is used as:

- Persistency for configuration data in the configuration and change DB (CCDB)

- Persistency for performance data in the Solution Manager BI

- Extractor Framework(EFWK), that schedules and triggers several extractors

- Service Session Workbench to generate the Service Report

Within the SMD several extractors exist that call several SMD Agent Applications (Agelets) or reading data from the

Wily Introscope Enterprise Manager (IS EM). The SMD Agelets in turn can collect data either from file system (FS)

or directly from managed system.

The EWA Session is usually scheduled on a weekly basis and reading the data from CCDB and BI if the session is

processed either in transaction DSA or by the job 'SM:EXEC SERVCICES'. Other sessions read the data during

initialization of the session or when a check is processed.

1.3 Required Software Components

Resulting from the technical scenario described above, the software components are required for sessions for non-

ABAP components as described in and the referenced notes of the Solution Manager release of note 1010428. For

EhP1 for example it is note 1274287.

Page 5: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 5

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

1.4 Technical Infrastructure

There is no special setup step required for EWA but the following requirements must be fulfilled:

The setup of the managing system (SAP Solution Manger) has to be executed successfully

(Transaction SOLMAN_SETUP).

The setup steps for the managed systems have to be executed successfully and they have to report their data

correctly to SMD and Introscope as described in the setup guide of SMD that can be found in the Service

Marketplace http://service.sap.com/diagnostics -> Installation and Configuration -> End-to-End Root Cause Analysis

System Landscape Setup Guide

Page 6: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 6

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2 Trouble Shooting

In this chapter it is described how to check some settings for a managed J2EE Engine. It would be similar for other

software components.

2.1 Checking Workload Data

The E2E Workload Analysis application reads also data from BI therefore it is a good starting point to check if

performance data for a system is available in the E2E Workload Analysis.

2.1.1 E2E Workload Analysis application

In the Root Cause Analysis Work Center (which is assigned with role SAP_SMWORK_DIAG) choose:

1. End-To-End Analysis

2. Your POWL Query or predefined Query (like Java Systems)

3. The relevant System

4. The Button Workload Analysis

In the E2E Workload Analysis Application open the tab strip for the main instance and choose the appropriate time

frame from the Service Session (see also 2.4.2Retrieving the time frame).

When data can be displayed in the E2E Workload Analysis Application but not in the service session something with

the RFC connection is wrong (RFC Destination does not work, RFC User does not have enough authorizations...).

2.1.2 Listcube

If no HTTP connection is possible one can also check the content of the BI with transaction LISTCUBE. Performance

data is available in Infocube 0SMD_PE2H (for hourly values) and 0SMD_PE2D (for daily aggregations). First all

metrics will be written into the hour cube 0SMD_PE2H and are aggregated by housekeeping job into day cube

Page 7: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 7

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

0SMD_PE2D.

For Infocube 0SMD_PE2H choose the following selection

Metric Type: HTTP SESSIONS

System ID: <LSID>

Calendar Day: <startday> to <endday> (see chapter 2.4.2Retrieving the time frame)

If no data is available for this selection check that:

Introscope extractors are scheduled (see chapter 2.4.6Missing performance data)

Data is available in Introscope at all.

For Infocube 0SMD_PE2D choose the following selection

Metric Type: JAVA MEMORY USAGE

System ID: <LSID>

Calendar Day: <startday> to <endday> (see chapter 2.4.2Retrieving the time frame)

If no data is available for this selection check that:

Page 8: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 8

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

Data is available in Infocube 0SMD_PE2H with the same selection. If data is just missing in infocube 0SMD_PE2D

then something with the house keeping job is wrong. Check the job logs and spool output of job

E2E_HK_CONTROLLER.

Introscope extractors are scheduled (see chapter 2.4.6Missing performance data)

Data is available in Introscope at all.

When data can is available in the Infocubes but not in the service session something with the RFC connection is

wrong (RFC Destination does not work, RFC User does not have enough authorizations...).

2.2 Checking Configuration Data

The Change Reporting application reads also data from CCDB therefore it is a good starting point to check if

configuration data for a system is available in the Change Reporting.

In the Root Cause Analysis Work Center (which is assigned with role SAP_SMWORK_DIAG) choose:

1. System Analysis

2. Your POWL Query or predefined Query (like Java Systems)

3. The relevant System

4. The Button Change Reporting

Page 9: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 9

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

Below the system there are different levels where configuration data is collected (Main Instance, Host, Instance,..).

If there is no data available follow chapter 2.4.3 But when data can be displayed in the Change Reporting but not in the

service session something with the RFC connection is wrong (RFC Destination does not work, RFC User does not

have enough authorizations...).

Page 10: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 10

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2.3 General checks

This part contains several checks that can be executed when no performance data or configuration data is available.

The most important entries in the RCA Workcenter are:

- Extractor Framework Administration

- Diagnostics Setup

- System Browsing

- Diagnostics Self-Check

2.3.1 Extractor Framework Administration

Start application Extractor FWK Administration from the RCA workcenter

(URL:http://<smd_host_FQN:<port>/sap/bc/webdynpro/sap/wd_efwk_adminui_config) to check if extractors for a

system are scheduled, running and if they return data. If extractors are stopped ore banned they can be restarted here.

The required extractors are described in the chapters below.

Page 11: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 11

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2.3.2 Diagnostics Setup Wizard and results

Select the System and check the setup results:

2.3.3 Landscape Browser

Under System Browsing you can check several attributes of a system as it is available in the Landscape API.

Important attributes for a technical system are:

- Installation Path

- Instance Number

If these attributes are not filled repeat the setup.

Page 12: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 12

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2.3.4 Selfcheck

With the self check you can check the status and settings of the managing system as well as the managed system.

Each self check has a status and a short explanation what to do in case of an error.

Page 13: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 13

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2.4 Step by Step analysis

This chapter describes step by step what can be done if no performance or configuration data for NON-ABAP systems

like J2EE engine is available.

2.4.1 Retrieving the correct LongSid

Data in BI and in CCDB is persisted by the long SID (up to 8 characters) of a technical system therefore it is important

to first detect the correct long SID from Service session.

You can reach the service session from transaction DSWP:

Open the attribute editor in the service session (Goto-> Technical Functions-> Attribute Editor) and choose the correct

context and the context instance (e.g J2EESYSTEM for J2EE Engine). The long sid is stored in the attribute LSID:

Page 14: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 14

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

2.4.2 Retrieving the time frame

Open the attribute editor and choose the context SESSION -> GENERAL. The attributes that are used for

selecting data from BI are ~analysis_startday and ~analysis_endday.

2.4.3 Retrieving the BI RFC Destination and the User

This chapter describes some steps that can be executed if performance data is available in the E2E Workload Analysis

application but not in the service session.

Performance data is read from the BI via an RFC Destination. The destination is maintained during setup and can be

identified with SE16 in table E2E_WA_CONFIG for the entry TYPE = SAP_BID_M.

Take the value from the field String and check the destination in transaction SM59.

2.4.4 Required Authorizations

This chapter describes the authorizations required in the Solution Manager Client as well as in the BI Client.

Authorizations in Solution Manager Client

The user who is executing the session needs the role SAP_SM_BI_EXTRACTOR. Ensure that the profile is generated

and assigned to the user. For scheduled service sessions (like EWA) the user of the job SM:EXEC SERVICES needs

this role as well (see also note 1294282).

Authorizations in BI Client

Performance data is read from the BI via an RFC Destination. The user in the RFC Destination is entered during the

setup and needs the role SAP_BI_E2E.

2.4.5 Missing configuration data

This chapter describes some steps that can be executed if configuration data is not available in the Change Reporting

application. For further details please refer to the trouble shooting guides in the Service Marketplace under

Page 15: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 15

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

http://service.sap.com/diagnostics -> More documents -> Media Library -> E2E Change Analysis Troubleshooting

Guide

Checking CCDB Extractors

If no entries are returned repeat the setup of the managed system (2.3.2Diagnostics Setup Wizard and results).

In case no HTTP connection is possible check in transaction SE16 in table E2E_ACTIVE_WLI if CCDB Extractors are

scheduled for the managed system. Use these selection criteria: EVENT_TYPE_ID

SID <LSID>

INSTNO

PRPPMSID

MIPPMSID

PPPMSID

CVPPMSID

MAINEXTRACTOR

EXTRACTOR E*CCDB*

If no entries are returned repeat the setup of the managed system (2.3.2Diagnostics Setup Wizard and results).

Page 16: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 16

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

Check if the field Active is set to X.

Most of the configuration data in the service sessions are read from File System Extractor (see screenshot above).

Therefore this is the most important CCDB extractor for the service sessions.

2.4.6 Missing performance data

This chapter describes some steps that can be executed if performance data is not available in the E2E Workload

Analysis application. For further details please refer to the trouble shooting guides in the Service Marketplace under

http://service.sap.com/diagnostics -> More documents -> Media Library -> E2E Workload Analysis Troubleshooting

Checking Introscope Extractors

Page 17: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 17

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

Start application Extractor FWK Administration from the RCA work center:

If no entries are returned repeat the setup of the managed system (2.3.2Diagnostics Setup Wizard and results).

Select one extractor and display the log.

In case no HTTP connection is possible check in transaction SE16 in table E2E_ACTIVE_WLI if Introscope Extractors

are scheduled for the managed system. Use these selection criteria: EVENT_TYPE_ID

SID <LSID>

INSTNO

PRPPMSID

MIPPMSID

PPPMSID

CVPPMSID

MAINEXTRACTOR

EXTRACTOR E2E_JAVA_EXTRACTOR_IF

If no entries are returned repeat the setup of the managed system (2.3.1Diagnostics Setup Wizard and results). At

least two entries for a J2EE engine should be returned (one for host specific data where no PPMSID field is filled and

one for the J2EE engine where field CVPPMSID is not empty see also screenshot above).

If table E2E_ACTIVE_WLI contains all the required extractors you can check in SE16 for table E2E_EFWK_STATUS

how many records have been read for the last execution. Use the same selection criteria as for table 2E_ACTIVE_WLI.

Example of a result: EXTRACTOR E2E_JAVA_EXTRACTOR_IF

EXTRACTORCLASS com.sap.sup.admin.bwextract.E2eWAIntroscopeExtractor

METRIC

TIMESTART 20081215064546

TIMESTOP 20081215064548

COLLECT

STATUS

PRIORITY 0

RC 00

MESSAGE

LASTRUNTIME 1

LASTRECORDS 36

The field LASTRECORDS contains the number of retrieved metrics.

Page 18: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 18

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

3 Known Issues

3.1 Service Session

The E2E Workload Analysis application reads also data from BI therefore it is a good starting point to check if

performance data for a system is available in the E2E Workload Analysis.

3.1.1 Missing JDK information

In Check 56 (Support Package Maintenance) of group SMD_J2EE the JDK information is not displayed although the

configuration could be read.

Reason: The Store type has been changed.

Solution: The problem is fixed with ST-SER 2008_2 SP3.

3.1.2 Incomplete Instance name for double stack systems

In Check 87 (Servers in current Landscape) of group EW_ROOT the instance name is truncated e.g. instead of

host123_C11_00 the name contains only host123_C11_

Reason: The setup for that system hasn't been executed (See also 2.3.2Landscape Browser).

Solution: Execute the setup wizard for that system (2.3.1Diagnostics Setup Wizard and results). With ST-SER 2008_2

SP3 an incomplete instance name will not be created anymore.

3.1.3 Authorization Problem

Performance data can be displayed in the E2E Workload Analysis application but the service session does not contain

data.

Reason: The user in the RFC Destination for reading the BI data does not have sufficient RFC authorizations for FUGR

RSDRI.

Solution: With BI_CONT 7.04 SP04 respective. 7.05 SP00 the role SAP_BI_E2E contains the required authorization.

Work-arround: enhance the role SAP_BI_E2E for authorization object S_RFC with FUGR RSDRI or assign another

profile (like S_BI-WX_RFC) to the user.

Page 19: E2E _TroubleShootingGuideEhP1

End-to-End Diagnostics 19

Trouble Shooting Guide missing data in service session from BI/CCDB

©SAP AG 2008

3.1.4 Multiple entries with no aggregated data

Sometimes it happens that metric data are displayed twice and it seems data is not correct aggregated. In general this

could happen for all kind of data.

Example:

Solution:

Note 1392762 has to be applied in the Solution Manager BI for the info provider 0SMD_PE2D.