Monitoring and Administration with SAP on DB2



Similar documents
SAP DBA COCKPIT Flight Plans for DB2 LUW Database Administrators

A Practical Guide to Backup and Recovery of IBM DB2 for Linux, UNIX and Windows in SAP Environments Part 1 Backup and Recovery Overview

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

SAP HANA SPS 09 - What s New? Backup/Recovery

Role-Based Security Concept for Database Users on IBM DB2 for Linux, UNIX, and Windows

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

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

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

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Using Database Performance Warehouse to Monitor Microsoft SQL Server Report Content

Database Upgrade Guide Upgrading to Version 10.5 of IBM DB2 for Linux, UNIX, and Windows

DB2 Database Layout and Configuration for SAP NetWeaver based Systems

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

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

Then, you ll learn how to monitor the Backup or Recovery, find out to check what might be a bottleneck, find out how to solve typical issues.

Setup Guide Central Monitoring of SAP NetWeaver Proces Integration 7.3 with SAP Solution Manager 7.1. Active Global Support February 2011

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

IBM DB2 specific SAP NetWeaver Business Warehouse Near-Line Storage Solution

SAP HANA Backup and Recovery (Overview, SPS08)

DBACockpit for Oracle. Dr. Ralf Hackmann SAP AG - CoE EMEA Tech Appl. Platf. DOAG St. Leon-Rot 02. July 2013

Oracle 11g Database Administration

SAP Performance Review/System Health Check

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

Oracle Database 10g: New Features for Administrators

OMU350 Operations Manager 9.x on UNIX/Linux Advanced Administration

How To Manage Work Mode On An It Calendar On An Apa System

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

How To Manage An Sap Solution

SYSTEM ADMINISTRATION AGENDA WINDOWS SQL SERVER

Oracle Database 12c: Performance Management and Tuning NEW

Administration GUIDE. SharePoint Server idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 201

Welcome to the presentation. Thank you for taking your time for being here.

Backup and Recovery of SAP Systems on Windows / SQL Server

Different Types of Alerts for Process Chains. Table of Content

DB2 Backup and Recovery

Microsoft SQL Database Administrator Certification

Netezza PureData System Administration Course

So far in the first three chapters of this book we have studied an overview of SAP

Upgrading Good Mobile Messaging and Good Mobile Control Servers

Database Administration Guide SAP on IBM DB2 for Linux, UNIX, and Windows

Oracle Database 12c: Administration Workshop NEW

DBA Cockpit for Oracle

Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides

Data Consistency Management Overview January Customer

Business Intelligence Platform Installation Guide for Windows

Oracle Recovery Manager

SAP NetWeaver Information Lifecycle Management

EVENT LOG MANAGEMENT...

Oracle Database 12c: Administration Workshop NEW. Duration: 5 Days. What you will learn

StreamServe Persuasion SP5 Control Center

Welcome to: Overview of DB2 Universal Database

Backup and Recovery...

Oracle Database 12c: Admin, Install and Upgrade Accelerated

Ultimate Guide to Oracle Storage

SAP Crystal Server Document Version: SAP Crystal Server Installation Guide for Windows

Globalnest SAP Technical Services

Streamline SAP HANA with Nearline Storage Solutions by PBS and IBM Elke Hartmann-Bakan, IBM Germany Dr. Klaus Zimmer, PBS Software DMM127

Course 55115: Planning, Deploying and Managing Microsoft Project Server 2013

A Step-By-Step Guide to Configuring a WebSphere Portal v8.0 Cluster

Audit TM. The Security Auditing Component of. Out-of-the-Box

How to Configure Solution Manager 7.1 Technical Monitoring for an SAP HANA Database

IBM DB2 Lab - ITFac. Lab 02: Getting started with DB2. Information Management Cloud Computing Center of Competence IBM Canada Lab

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

Processed on SAP Solution Manager Service Center Release EHP 1 for Solution Manager 7.0 Telephone Service Tool 701_2011_1 SP0 Fax

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

SAP Note FAQ: SAP HANA Database Backup & Recovery

Availability Monitoring using Http Ping

Oracle 11g DBA Training Course Content

Solution Documentation for Custom Development

The safer, easier way to help you pass any IT exams. SAP Certified Application Associate - SAP HANA 1.0. Title : Version : Demo 1 / 5

ROADMAP TO DEFINE A BACKUP STRATEGY FOR SAP APPLICATIONS Helps you to analyze and define a robust backup strategy

OpenAdmin Tool for Informix (OAT) October 2012

HR Data Retrieval in a LDAP- Enabled Directory Service

MS-55115: Planning, Deploying and Managing Microsoft Project Server 2013

Oracle Database 12c: Performance Management and Tuning NEW

DB2 backup and recovery

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD.

1. This lesson introduces the Performance Tuning course objectives and agenda

OnCommand Unified Manager

Backup Tab. User Guide

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

11. Oracle Recovery Manager Overview and Configuration.

MONITORING PERFORMANCE IN WINDOWS 7

Backup Tab. User Guide

EventSentry Overview. Part I About This Guide 1. Part II Overview 2. Part III Installation & Deployment 4. Part IV Monitoring Architecture 13

Quick Beginnings for DB2 Servers

SAP Solution Manager - Content Transfer This document provides information on architectural and design questions, such as which SAP Solution Manager

Lesson Plans Microsoft s Managing and Maintaining a Microsoft Windows Server 2003 Environment

Informatica Data Replication FAQs

Backup Exec 12.5 Icons Glossary

Mind Q Systems Private Limited

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop II - LVC. 5 Jours [35 Heures]

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

ORACLE DATABASE 11G: COMPLETE

IBM Sterling Control Center

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

The Road to Technical Monitoring with SAP Solution Manager

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Transcription:

Monitoring and Administration with SAP on DB2 Introduction to the DBA Cockpit Ralf Stauffer Development Architect, SAP AG SAP on DB2 for Linux, UNIX, and Windows

Agenda 1. Managing System Landscapes 2. Initial Setup 3. Monitoring 4. Administration 5. Documentation SAP 2009 / Page 2

Managing System Landscapes Using the System Landscape Directory Data providers send database and connection data Automatically update of SLD at start of the application instance Configuration of DBA Cockpit systems from SLD Configuration Sys1 Sys2... DBA Cockpit Configuration I/F SLD I/F SLD DB DB DB SAP 2009 / Page 3

Managing System Landscapes- Integration with SolutionManager One central system for monitoring Common view of system landscape Integrated setup Evaluation of database alerts Navigation from SolutionManager Diagnostics into DBA Cockpit Using central monitoring is the recommended way for old SAP releases Configuration Sys1 Sys2... DBA Cockpit Configuration I/F SLD I/F SLD SolutionManager DB DB DB SAP 2009 / Page 4

Managing System Landscapes - Details Functionality RZ20 Monitoring Historized performance and space data Integration with central planning calendar Usable for any DB2 database Almost no difference between ABAP/local System, Java No RFC necessary Restrictions by Kind of Application Database Release... For more information see SAP Note 1124987 SAP 2009 / Page 5

Initial Setup SAP Prerequisites (I) Standard Jobs of common basis SAP_COLLECTOR_FOR_PERFMONITOR Scheduled via SM36 - Button Standard Jobs on main screen Dispatching control via table TCOLL Maintenance of TCOLL via report RSCOLL40 TCOLL contents described in note 12103 Performs history collection, cleanup actions etc. SAP_CCMS_MONI_BATCH_DP Scheduled via RZ21 ( Menu Technical Infrastructure -> Local Method Execution - >Activate Background Dispatching ) Schedules Alert Data Collectors of RZ20 for all observed Databases SAP 2009 / Page 6

Initial Setup SAP Prerequisites (II) DBA Planning Calendar Minimum is REORGCK for all Tables Job which provides REORG Recommendations Current Table Sizes Exceptional Table Conditions Optional: Compression Check Results (not a regular task) Monitoring Infrastructure SAP Table Functions Retention periods of history data AUTOMAINTENANCE settings SAP 2009 / Page 7

Monitoring - Sources All data is retrieved by SQL means using DB2 Snapshot table functions SNAP_GET_... DB2 Administrative table functions Special SAP table functions installed by SAPINST or manually SAP 2009 / Page 8

Monitoring Performance Ad Hoc Data Snapshot data are available on different levels globally by database (partition) by bufferpools by application/statement by tablespace by table (only subset) SQL Cache Monitor to identify expensive SQL statements SAP 2009 / Page 9

Monitoring Workload Management Data Data provided by Workload Management (WLM) Standard setup provided by SAP Setup can be changed via the DBA Cockpit Uses DB2 event monitors to collect statistical data and threshold violations SAP 2009 / Page 10

Monitoring - Space Tables System catalog information REORG recommendations Space calculations (now provided by DB2 and exact!) RUNSTATS settings Information from ADMIN_GET_TAB_INFO Tablespaces and Containers Checkpoint Mechanism similar to Reset Logics of Snapshots (may be used e.g for client copy) SAP 2009 / Page 11

Monitoring Backup and Recovery Based on evaluation of backup history Customer should not prune history by himself Automatic Prune is done by background job Analyzing log file status is closely related to db2 logfile management, SAP Admin Tools are no longer supported Useful when analyzing alert Missing Log Files SAP 2009 / Page 12

Monitoring Configuration Controlling DB/DBM Parameters DPF: Delta display for different settings across partitions Registry settings with deviations from SAP standard System Catalog Information for DB Partitions Buffer Pools SAP 2009 / Page 13

Monitoring Historization Local Historization Performed via SAP Jobs in the SolutionManager system History data is stored in the managing system Hard-coded evaluation screens Performance Warehouse Performed as part of the extractor framework provided by SolMan Data is stored in the SolutionManager BW Flexible evaluation based on BW reporting tools SAP 2009 / Page 14

Monitoring RZ20 Common available monitoring infrastructure Scheduling via background dispatcher of alert monitor Configuration via transaction RZ21 No CEN for Remote Database necessary, only local contexts! Database Content Setup of standardized monitoring tree (Automatically, at change of system cfg) Data providers for monitoring attributes Additional, database specific configuration via DBA Cockpit This configuration should normally not be changed Simplified UI within DBA Cockpit Access to monitoring tree via transaction RZ20 for testing Select SAP CCMS Monitor Templates Database Menu Extras > Activate Maintenance Function Menu Edit > Nodes(MTE) > Start method > Start data-collection method SAP 2009 / Page 15

Adminstration - General Authorizations Central enabling/disabling via profile parameter dbs/db6/ccms_maintenance User related via authorization objects / profiles / roles S_ADMI_FCD for protection of transaction codes S_DATASET for access to files on application servers S_LOG_COM for execution of logical commands S_RZL_ADM for CCMS administration Uses special connection for local systems with different user, typically db2<sid> Database Administration Functions for Tablespaces DB Partitions Buffer Pools DB/DBM Parameters Advisory Information with generated SQL statement Auditing ALL changes of database objects via DBA Cockpit are logged in the DBA Audit Log NO logging of manual changes via CLP or other DB2 means! SAP 2009 / Page 16

Administration Using the Planning Calendar Simply spoken an additional layer on top of SM36/SM37 for maintaining DB related tasks Uses a set of configuration and runtime information tables All job output directed to SM37 job log Each job writes status record to special protocol table Initial setup with job wizard Be aware of other DB related background jobs when planning Cleanup/Reset according to note 592974 SAP 2009 / Page 17

Administration Jobs in the Planning Calendar RUNSTATS Depending on DB CFG AUTORUNSTATS switch Normally only Single Table RUNSTATS should be used Be careful if profiles are existing Special Settings might be overwritten by DB2 Autorunstats and vice versa Is automatically run after REORG jobs of DB13 Problem if DB2 profiles are used (needs synchronized with DBSTATC) REORG Depending on DB CFG AUTOREORG switch REORG of tablespaces to reduce High-Water Mark (better use DB6CONV) Single Table Reorg Backup All current backup are supported Backup to different media (Tape, TSM, VendorLib, Snapshot Backup) SAP 2009 / Page 18

Administration Jobs in the Planning Calendar REORGCHK Must always run! Must be scheduled once per week Calculates data for SYSCAT and one schema (see Connection Configuration) Resulting Data is stored to special tables DB6TREORG and DB6IREORG Index sizes are not per index, only globally available Compression check only from time to time, too expensive Special BW Jobs, partly not schedulable by DB13 Jobs of MDC Advisor SAP 2009 / Page 19

Administration Using the Planning Calendar Viewing of Jobs Quick monitoring via Jobs -> DBA Log All jobs executed by SAP standard jobs (History, parameter changes ) All jobs scheduled via DB13 All tools started manually from outside All DPW data collectors State <undefined> indicates severe error (program aborted) Job Scheduling Initial setup via wizard Use of Recurrence Patterns Availability of Jobs depends on SAP and DB2 Release and on DB CFG SAP 2009 / Page 20

Administration SAP RUNSTATSvs. DB2 Autorunstats When Which SAP Scheduling via DB13 Runstats_All and Runstats_DBSTATC Exceptions defined by DBSTATC DB2 Scheduling by DB2, Controlled by Online Maintenance Window Exceptions defined by Autorunstats Policies How Why Default is basic table with detailed index, special handling by DBSTATC Thresholds for UDI counters defined in DB13 Default is distributed table with detailed index, special handling by defining profiles Thresholds for UDI counter fix, special treatment of large tables Result Each table has statistics age <= 1 week, heavily changed <= 1 day Only for tables with changes, no guaranteed time, but normally faster SAP 2009 / Page 21

Administration SAP REORG vs. DB2 Autoreorg When Which SAP Scheduling via DB13 Autoreorg Exceptions defined by DB13 Size Threshold DB2 Scheduling by DB2, Controlled by Online and Offline Maintenance Window Exemptions defined by Autoreorg Policies How Why Depending on REORGCHK recommendations Flagged by Reorgchk_All job Depending on REORGCHK recommendations, more precise for index reorgs (better evaluation of F7, F8) Flagged by REORGCHK SAP 2009 / Page 22

Documentation SDN under http://www.sdn.sap.com/irj/sdn/db6 Important SAP notes 1027146 Database administration and monitoring in the DBA Cockpit 1027336 DB6: New functions in the DBA Cockpit (incl. PDF Version of Online Dokumentation) 1124987 DB6: Availability of administration functions 1268290 DB6: Scheduling the job "REORGCHK for all tables 1314750 DB6: DBA Cockpit Correction Collection SAP Basis 7.00 / 7.10 1309424 DB6: DBA Cockpit Correction Collection SAP Basis 7.01 / 7.11 SAP 2009 / Page 23