SAP Performance Review/System Health Check



Similar documents
DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop

How To Manage An Sap Solution

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.

Performance and scalability of a large OLTP workload

z/vm Capacity Planning Overview SHARE 117 Orlando Session 09561

Big Data Storage in the Cloud

z/vm Capacity Planning Overview

Oracle Networking and High Availability Options (with Linux on System z) & Red Hat/SUSE Oracle Update

Predictive Analytics And IT Service Management

Data Warehousing With DB2 for z/os... Again!

z/vm and Linux on zseries Performance Monitoring An Update on How and With What Products

Utility Mainframe System Administration Training Curriculum

IBM DB2: LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs

Virtual Networking with z/vm Guest LANs and the z/vm Virtual Switch

CICS Transactions Measurement with no Pain

CA Explore Performance Management for z/vm

User Guide for VMware Adapter for SAP LVM VERSION 1.2

IBM Software Group. Lotus Domino 6.5 Server Enablement

V01. IBM zseries Expo April 16-20, 2007 Munich, Germany

Running a Workflow on a PowerCenter Grid

System z Batch Network Analyzer Tool (zbna) - Because Batch is Back!

Upcoming: Oracle Database 12.1 Support Update for Linux on System z

CA Insight Database Performance Monitor for DB2 for z/os

Crystal Reports Server 2008

IBM Tivoli Storage Manager for Linux Version Installation Guide IBM

Managing z/vm & Linux Performance Best Practices

DBAs having to manage DB2 on multiple platforms will find this information essential.

DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs

Who is my SAP HANA DBA? What can I expect from her/him? HANA DBA Role & Responsibility. Rajesh Gupta, Deloitte. Consulting September 24, 2015

Netezza PureData System Administration Course

Virtual Networking with z/vm Guest LAN and Virtual Switch

Making z/vm and Linux Guests Production Ready Best Practices

Monitoring and Administration with SAP on DB2

Implementing Tivoli Storage Manager on Linux on System z

Managing z/vm and Linux Performance Best Practices

2 Performance Indicators for BWP

Challenges of Capacity Management in Large Mixed Organizations

Experiences with Using IBM zec12 Flash Memory

Workflow Templates Library

The Top 10 Things DBAs Should Know About Toad for IBM DB2

Origins of Operating Systems OS/360. Martin Grund HPI

Mainframe. Large Computing Systems. Supercomputer Systems. Mainframe

Fine-Tune Performance of Enterprise Portal 6.0

IBM Lotus Enterprise Integrator (LEI) for Domino. Version August 17, 2010

Redbooks Paper. Local versus Remote Database Access: A Performance Test. Victor Chao Leticia Cruz Nin Lei

Capacity Planning for 1000 virtual servers (What happens when the honey moon is over?) (SHARE SESSION 10334)

PERFORMANCE TUNING ORACLE RAC ON LINUX

EZManage V4.0 Release Notes. Document revision 1.08 ( )

Linux on z/vm Configuration Guidelines

Virtualization: TCP/IP Performance Management in a Virtualized Environment Orlando Share Session 9308

SHARE in Pittsburgh Session 15591

ABAP SQL Monitor Implementation Guide and Best Practices

Java DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860

The team that wrote this redbook Comments welcome Introduction p. 1 Three phases p. 1 Netfinity Performance Lab p. 2 IBM Center for Microsoft

SQL diagnostic manager Management Pack for Microsoft System Center. Overview

z/os Performance Monitoring Tools Shoot-Out: ASG, BMC, CA, Rocket

CA Workload Automation Agent for Databases

IBM Tivoli Storage Manager for Linux Version Installation Guide IBM

Preparing a SQL Server for EmpowerID installation

CA Unified Infrastructure Management

: C_TADM SAP Certified Technology Associate System Administration (Oracle DB) with SAP NetWeaver 7.0 EhP2. Title : Version : Demo

Mind Q Systems Private Limited

Exploiting z/os Tales from the MVS Survey

opensm2 Enterprise Performance Monitoring December 2010 Copyright 2010 Fujitsu Technology Solutions

Configuring Apache Derby for Performance and Durability Olav Sandstå

Oracle Database 12c: Performance Management and Tuning NEW

Best Practices for DB2 on z/os Performance

Tips on Monitoring and Managing your z/vm and Linux on System z

Oracle on System z Linux- High Availability Options Session ID 252

Mainframe alternative Solution Brief. MFA Sizing Study for a z/os mainframe workload running on a Microsoft and HP Mainframe Alternative (MFA)

DB2 Database Layout and Configuration for SAP NetWeaver based Systems

CA Nimsoft Monitor. Probe Guide for Active Directory Server. ad_server v1.4 series

EMC Unisphere for VMAX Database Storage Analyzer

Key Metrics for DB2 for z/os Subsystem and Application Performance Monitoring (Part 1)

AD207: Advances in Data Integration with Lotus Enterprise Integrator for Domino 6.5. Sarah Boucher, Manager Enterprise Integration Development

Using Database Performance Warehouse to Monitor Microsoft SQL Server Report Content

Chapter 3 Operating-System Structures

SAP DBA COCKPIT Flight Plans for DB2 LUW Database Administrators

Monitoring z/vm and z/linux. Jürgen Hofmann

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Private Cloud for WebSphere Virtual Enterprise Application Hosting

How To Tune A Database 2

VIRTUALIZATION AND CPU WAIT TIMES IN A LINUX GUEST ENVIRONMENT

Performance Management for

Using SQL Server Database Compression with SAP NetWeaver

IBM License Metric Tool Version Installing with embedded WebSphere Application Server

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

Hot Tips from Cheryl & Frank

Best practices. Performance monitoring in a data warehouse. IBM Smart Analytics System

Upgrade Guide. Product Version: Publication Date: 02/11/2015

One of the database administrators

Understanding Linux on z/vm Steal Time

Guide SHARE Europe, Warwick 30 Jan 2003 Malcolm Beattie Linux Technical Consultant IBM EMEA Enterprise Server Group

Customer Experiences With Oracle on Linux on System z

SupportPac CB12. General Insurance Application (GENAPP) for IBM CICS Transaction Server

Java DB2 Developers Performance Best Practices

Using Virtualization to Help Move a Data Center

SHARING: NEW FLEXIBILITY. Sysplex and DB2: Version 4 Data Sharing

IOmark-VM. DotHill AssuredSAN Pro Test Report: VM a Test Report Date: 16, August

Transcription:

Albert Rodi Consulting IT Specialist IBM e-business Technical Sales IBM Corporation 1507 LBJ Freeway Dallas, TX 75381-9054 (972) 280-4791 adrodi@us.ibm.com Copyright 2005 IBM Solutions Technical Sales (STS) Page 1 of 24 6/24/2005

INTRODUCTION A Performance Review/System Health Check is intended to provide a review of the R/3 environment with a focus on the infrastructure, performance, and setup considerations. The review is conducted on the z/os Database Server and the SAP Application Server. The purpose of this document is to identify the steps required to conduct an SAP Performance Review/System Health Check on a production SAP system. A standard checklist of items is used in the analysis and the results can be documented in a report. Copyright 2005 IBM Solutions Technical Sales (STS) Page 2 of 24 6/24/2005

HARDWARE CONFIGURATION DATA The purpose of this section is to identify the base hardware configuration of the SAP Production System. zseries Data Base Server Model: z/os LPAR Host Name: Storage Subsystem - Description/Model/Capacity: Application Servers - Description/Model/ Host Names: Network Connectivity between Application Servers and Data Base Server: SAP Local Printer Name (for use during the Health Check): Copyright 2005 IBM Solutions Technical Sales (STS) Page 3 of 24 6/24/2005

SOFTWARE CONFIGURATION DATA The purpose of this section is to identify the base software configuration of the SAP Production System. SAP SID (System Identifier): SAP BASIS Release: SAP Kernel Release: Central Instance on zlinux/linux Distribution (if applicable): z/os Version: DB2 Version/PUT Level: z/os Production LPAR Name: LPAR Setup (Weight, Logical Engines, Central Storage) for each LPAR: Copyright 2005 IBM Solutions Technical Sales (STS) Page 4 of 24 6/24/2005

Application Servers OS Version: SAP PTF Checker operational?: z/os PARMLIB Dataset Name: z/os PROCLIB Dataset Name: ICLI Started Task Procedure Name: DB2 High Level Qualifier for Dataset Allocation: DB2 STEPLIB Dataset Name: ICF Catalog Name: z/os TCPIP PROFILE Dataset Name: Copyright 2005 IBM Solutions Technical Sales (STS) Page 5 of 24 6/24/2005

BASE REVIEW TASK LIST The purpose of this section is to identify the checks associated with a base review of the environment. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. SAP BASIS Support Package Level Refer to SAP Service Marketplace Packages and Patches Application Server Platform ID Transaction System Status ICLI Server Level Identified in ICLI Message Log or Applied ICLI PTF Identify Missing R/3 Transports Transaction SE09 OSS Notes 101217/407663/427748 R/3 Kernel Release Download latest from SAP Service Marketplace Review Developer Work File Messages for error or warning messages (e.g. buffer table overflows, memory issues) Transactions AL11/ST11 Copyright 2005 IBM Solutions Technical Sales (STS) Page 6 of 24 6/24/2005

Review z/os Console Messages Transaction ST04 or z/os SDSF Utility Review ICLI Server Log Messages Available through Unix System Services Review ICLI Environment File Available through Unix System Services Compare with SAP Planning Guide Review ICLI Server Log Filesystem Available through Unix System Services Review management methodology for ICLI Server Log Files Review ICLI Server Started Task JCL and Parameters Compare with SAP Planning Guide Check REGION Parameter Copyright 2005 IBM Solutions Technical Sales (STS) Page 7 of 24 6/24/2005

Review R/3 System Log Transaction SM21 Review DB2 MSTR Job Log SDSF or z/os Console Copyright 2005 IBM Solutions Technical Sales (STS) Page 8 of 24 6/24/2005

APPLICATION SERVER TASK LIST The purpose of this section is to conduct a review of various aspects of the Application Server environment. Perform these checks for each production Application Server. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review TCPIP Parameters Compare with SAP Connectivity Guide CPU Busy consistently >= 70%? Transaction ST06 Pages out/second consistently > 10,000/hour? Transaction ST06 CPU Load average consistently >= 3? Transaction ST06 Lengthy I/O Waits? Transaction ST06 Physical memory available consistently < 1 GB? Transaction ST06 High value for physical memory free? Transaction ST06 Consistently low values for free swap space? Transaction ST06 Compare Roll Area used to shared memory allocation Transaction ST02 Copyright 2005 IBM Solutions Technical Sales (STS) Page 9 of 24 6/24/2005

Review SAP Buffers Transaction ST02 # swaps, hit ratios Review ICLI Ping times Review Instance profile Transaction ST04 ~1ms for GbE, <1ms for HiperSockets Transaction SE38 (Report RSPFPAR) Transaction RZ10 OSS Note 70964 Review memory parameters for 64 bit application server OSS Note 789477 Verify work processes are recycled OSS Note 182207 Review number and type of work processes - too few? too many? Transaction SM50, SM51, SM66 Review SAP scheduled batch jobs against the recommendation Transaction SM37 OSS Note 16083 Review use of Batch Server Groups with Logon Groups Transaction SM36, SMLG Copyright 2005 IBM Solutions Technical Sales (STS) Page 10 of 24 6/24/2005

Review SAP Alert Monitor Transaction RZ20 Review ABAP Dump data Transaction ST22 Review Data Base update failures Transaction SM13 Review lock entries being held for lengthy periods Transaction SM12 Application Table Buffer Review Transaction ST10 Identify problem tables - tables in the wrong buffer, buffered tables that should be removed from the buffer, nonbuffered tables that are candidates for buffering. Tables accessed primarily through ABAP SELECT do not access single record buffer. Tables with a high number of changes may not be good candidates for buffering. Copyright 2005 IBM Solutions Technical Sales (STS) Page 11 of 24 6/24/2005

WORKLOAD ANALYSIS TASK LIST The purpose of this section is to conduct a review of the overall dialog workload performance. An appropriate timeframe with a representative workload should be selected. Perform these checks for each production Application Server. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review Average response time Wait time Load time Roll wait time Roll in time CPU time DB request time Lock time Transaction ST03 ~ 1 second ~ 1% of average response time < 10% of average response time ~ 40% of average response time ~ 40-50% of average response time < 1% of average response time Database Access Direct Read Sequential Read Changes Transaction ST03 ~ 2 ms ~ 5 ms ~ 25 ms Review ratio of Database Calls (R/3 Application DB Calls) to Database Physical Accesses (Calls to DB2) Transaction ST03 DB Calls/DB Accesses ~ 1/10 Copyright 2005 IBM Solutions Technical Sales (STS) Page 12 of 24 6/24/2005

Z/OS TASK LIST The purpose of this section is to conduct a review of the z/os environment. Perform these checks through the TSO interface of the Data Base server. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review Unix System Services parameters in the BPXPRMxx member of PARMLIB Compare with SAP Planning Guide Review JES2 PARMLIB member or JES3 PARMLIB initialization parameter CIPARM Is SWA=ABOVE on STCCLASS macro (JES2)? Is CIPARM set to place SWA above the line (position 1 of PARM = 4,5,6, or 7) (JES3)? Review assigned dispatching priorities SDSF Copyright 2005 IBM Solutions Technical Sales (STS) Page 13 of 24 6/24/2005

Review Workload Manager Service Policy WLM Compare with SAP Planning Guide Review JCL parameters for IRLM started task PC=YES, DEADLOK=5,1 Review SMFPRMxx member of PARMLIB OSS Note 173547 DDCONS=NO Check for unnecessary traces as documented in Planning Guide Is DB2 ICF Catalog in VLF cache? Use z/os Command : F CATALOG,REPORT,CACHE Review TCPIP parameters in TCPIP profile dataset Verify MTU matches application server Command netstat -d (OMVS) netstat de (TSO) Copyright 2005 IBM Solutions Technical Sales (STS) Page 14 of 24 6/24/2005

ZLINUX TASK LIST The purpose of this section is to conduct a review of the zlinux environment if it is used for application server processing. If not, then this section can be skipped. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review OSS Notes which list supported Linux distributions, PTFs, kernel level, kernel parameters, RPM packages, z/vm PTFs, and the zlinux timer patch OSS Notes 563060, 81737, 386605 Command: rpm -qa -i {sapinit, saplocales, deflt, glibc, cpint, snmp (for IDI), java} Review the filesystems and check space Command: df -k Review the minimum/maximum virtual storage size of the Linux guest machine VM Directory file Review the Java version Command: java - version Review the SuSE support document identified in OSS Note 81737 OSS Note 81737 Additional Notes for installing SAP R/3 4.6 and up on the Linux Enterprise Server 8 (9) for zseries Review SG24-6926 Performance Measurement/Tuning of zlinux Under z/vm Redbook SG24-6926 Copyright 2005 IBM Solutions Technical Sales (STS) Page 15 of 24 6/24/2005

Review the z/vm LPAR setup -CPU Resources (# IFLs) - Sufficient real memory to back the virtual storage requirements of the Linux guests? - If using expanded storage for z/vm paging, the recommendation is 75% central and 25% xstore Review the zlinux setup - Required swap space for 64 bit kernel = 20GB - Minidisk caching should be turned off for swap minidisks (read ratio is not balanced by write path length) Command Q MDC RDEV xxxx - VDISK consumes real storage, do not use if storage constrained in z/vm - Verify zlinux guests are not spending time in eligible list, especially E3. This points to resource constraints, with the guest machine not getting to the dispatch list - Linux uses aggressive caching techniques which can consume large amounts of virtual storage, causing real storage contention and paging. Increasing the virtual size of a machine does not necessarily imply improved performance. Use the Linux free and vmstat commands to monitor. Use the z/vm command CP IND to monitor VM virtual storage under the 2GB line (some control blocks reside under 2GB) Copyright 2005 IBM Solutions Technical Sales (STS) Page 16 of 24 6/24/2005

RMF TASK LIST The purpose of this section is to identify the key RMF indicators to review for performance analysis. This data is available from the RMF III Monitor and the following RMF Reports: CPU Activity, DASD, and Paging. The time period to be reviewed should match the same period selected for the Workload Analysis review. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review LPAR setup - weights, # logical engines, capping RMF CPU Activity Report Partition Report Identify CPU contention and shortages Review UIC values for central storage shortages RMF III RMF CPU Activity Report LPAR Busy vs MVS Busy Queue Lengths RMF Paging Activity Report Review DASD utilization and concurrent activity RMF III Delay Reports DUSG%, DDLY% Review channel utilization RMF III Channel Path Activity Report Review WLM goals and results for service classes RMF Workload Activity Report Goal Mode Copyright 2005 IBM Solutions Technical Sales (STS) Page 17 of 24 6/24/2005

DB2 TASK LIST The purpose of this section is to conduct a review of the DB2 for z/os environment. These checks are performed from both the SAP interface and the TSO DB2I interface. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Perform BufferPool Review/Analysis Transaction DB2B Review BufferPool Performance Review BufferPool average synchronous I/O delay, maximum delay Determine any DB2 Page Sets with large number of extents or Page Sets requiring an image copy or reorg Hit Ratios, Sequential vs Random access, Exceeded Thresholds Random Hit Ratio > 95% Hit Ratio > 90% DB2 Command : - DISPLAY BUFFERPOOL(BPx) LSTATS Average synchronous I/O time ~ 5ms Average asynchronous I/O time ~ 10 ms Transaction RZ08 - SAP Alert Monitor Transaction DB02 Are DB2 Catalog statistics maintained? OSS Notes 113008, 83335, 132424, 116698 SAP DBA Guide Review DB2 Global Times Transaction ST04 Other time <= 10 %? Suspended time <= 50%? Processing time >= 50%? Copyright 2005 IBM Solutions Technical Sales (STS) Page 18 of 24 6/24/2005

Verify BufferPools, EDM Pool are in DataSpaces, no HiperPool assignments for zseries technology ZPARM Macro EDMDSPAC Command : DISPLAY BUFFERPOOL Review DSNZPARM values Compare against SAP DBA Guide Verify VBLOG tables are converted to 4K Pages OSS Note 122599 Transaction SE11 (Table VBDATA) Review Data Dictionary and DB2 for missing indexes or inconsistent objects OSS Notes 117219, 33814 Verify Trace Class(30) IFCID(318) is started to trace statements in Dynamic Cache START TRACE(P) CLASS(30) IFCID(318) DEST(SMF) Check for existence of DB2 Lockwaits Transaction ST04 Verify that jobs RSDBA_COLLECT_HOURLY and RSDBA_COLLECT_DAILY are scheduled Transaction SM37 SAP DBA Guide Review EDM Pool Activity Review Dynamic Statement Cache Transaction ST04 Full Conditions = 0 Requests not found <= 1% SUM(CT + PT Pages) <= 50% of Pool SUM(DBDs + CT Pages) <= 40% of Pool Transaction ST04 Global Hit Ratio >= 97% Copyright 2005 IBM Solutions Technical Sales (STS) Page 19 of 24 6/24/2005

Review Locking Activity Review Logging Activity Review Subsystem Services Transaction ST04 Timeouts < 10 per day Rollbacks < 10 per day DEADLOCKS = 0 IRLM Latch Contention <= 10% of all IRLM requests Transaction ST04 Reads satisfied from archive logs = 0 Unavailable buffers = 0 Transaction ST04 One Checkpoint every 10-15 minutes Review Open/Close Activity Transaction ST04 Review number of open datasets Review the use of DB2 Data Compression Column COMPRESS in Catalog Table SYSIBM.SYSTABLEPART Copyright 2005 IBM Solutions Technical Sales (STS) Page 20 of 24 6/24/2005

DATA SHARING TASK LIST The purpose of this section is to conduct a review of the SAP environment if implemented in a DB2 Data Sharing setup. If not, then this section can be skipped. These checks are performed from both the SAP interface and the TSO interface. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Check ICLI Setup Check for BufferPool Tuning 2 ICLI Servers per SAP app server 1 primary ICLI and 1 standby ICLI See SAP Planning Guide Transaction DB2B VBLOG Setup OSS Note 116698 or SAP DBA Guide Check that Logon Load Balancing is setup and Batch Scheduling Groups are setup Check that VB Dispatching has been implemented DBM1 Virtual Storage Review Check SYSPLEX Failover setup Transaction SMLG Transaction SM61 Transaction RZ10 Tables ASGRP and APSRV See SAP Planning Guide RMF Virtual Storage Report for Address Space DBM1 See SAP Planning Guide Transaction RZ10 Optionally perform a Cost of Data Sharing Analysis Check overall health of Data Sharing complex Requires spreadsheets from Data Sharing Workshop taught by Competency Center Analyze CPU costs of Data Sharing Command : DISPLAY GROUP DETAIL Copyright 2005 IBM Solutions Technical Sales (STS) Page 21 of 24 6/24/2005

Check for retained database locks Command : DISPLAY DATABASE LOCKS Check coupling facility and links - Structure status CPU Utilization Storage Consumption Availability/Performance of paths to the CF Command : D XCF,STR RMF III SYSPLEX Options 5 & 6 Copyright 2005 IBM Solutions Technical Sales (STS) Page 22 of 24 6/24/2005

APPLICATION SQL TASK LIST The purpose of this section is to conduct a high level review of the SAP Dynamic Statement Cache to look for statements that might be candidates for improved optimization or that have the greatest impact. This review is performed from the SAP interface. Column 1 of each check is the task to perform or the resource to review, and column 2 identifies supporting or additional information related to the task. Review Dynamic Statement Cache for inefficient and costly SQL Execute EXPLAIN against suspect statements to review the access path Identify improvements for changes to the access path (recode the SQL, execute RUNSTATS, index changes, etc) Transaction ST04 Sort statements by multiple characteristics: number of executions, cpu used, number of getpages executed Look for: High number getpages/rows retrieved Lengthy CPU times to return low number of rows High ratio rows examined/rows retrieved Copyright 2005 IBM Solutions Technical Sales (STS) Page 23 of 24 6/24/2005

HEALTH CHECK USEFUL SAP TRANSACTIONS Background Processing Transactions SM37 SM61 Monitoring Transactions SM50 SM51 SM66 RZ03 RZ20 ST22 Performance Analysis Transactions STAD STAT STUN ST02 ST03 ST04 DB2 (*plus all underlying transactions) ST05 ST06 ST10 OS07 General System Administration Transactions SM21 SM12 SM13 AL11 ST11 SE38 System Configuration Transactions RZ10 Transport System Transactions SE01 SE09 Job Selection Background Controller List Work Process Overview SAP Instance List Systemwide Work Process Overview SAP Alert Monitor Review SAP Alert Monitor ABAP Dump Analysis Statistics Display for all Instances Local Statistics Display Performance Monitor Menu SAP Buffers Workload Analysis DB Performance Monitor Menu DB Administration for DB2 on z/os SQL Performance Trace Operating System Monitor Table Call Statistics z/os System Monitor SAP System Log Display Locks Display Update (VBLOG) Records Display SAP Directories Display Work Logs ABAP Editor Profile Parameter Maintenance Transport and Correction System Transport Organizer Copyright 2005 IBM Solutions Technical Sales (STS) Page 24 of 24 6/24/2005