Setup for Remote Monitoring and Administration of DB2 for z/os



Similar documents
Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

Configuring Distribution List in Compliant User Provisioning

How To Configure MDM to Work with Oracle ASM-Based Products

Analyzing Sales Data for Choosing Forecast Strategies

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

Methodology to Implement SAP Process Integration

Utilities for downloading and uploading OO ABAP classes in XML format

Roster Configuration (Payroll) in SAP ECC 6.0 Tips & Tricks

Developing Applications for Integration between PI and SAP ERP in Different Network Domains or Landscapes

How to configure BusinessObjects Enterprise with Citrix Presentation Server 4.0

Posting Messages into XI

Backup & Restore with SAP BPC (MS SQL 2005)

Extract Archived Data from SAP ERP

3 rd party Service Desk interface

Implementing Outlook Integration for SAP Business One

Performance Best Practices Guide for SAP NetWeaver Portal 7.3

CREATING A PURCHASE ORDER STORE RECORD WEB SERVICE

prioritize XI messages on integration server

SAP Master Data Governance- Hiding fields in the change request User Interface

How to Configure and Trouble Shoot Notification for Process Control 2.5

Budget Control by Cost Center

Ronald Bueck SBO Product Definition

How To Balance In Sap Bw

DBA Cockpit for Oracle

E-Recruiting Job Board Integration using XI

Siteco Relies on SDN for its SAP CRM 5.0 Upgrade

Integrate Third Party Collaboration Tools in the SAP NetWeaver Portal. SAP NetWeaver Product Management

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

SAP NetWeaver MDM 5.5 SP3 SAP Portal iviews Installation & Configuration. Ron Hendrickx SAP NetWeaver RIG Americas Foundation Team

Data Archiving in CRM: a Brief Overview

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

How To... Call BEx Web Applications from SAP BusinessObjects Dashboards (Xcelsius) and vice versa

Enabling Full-Text Search for Business Objects in mysap ERP

How To... Integrate Custom Formulas into the Formula Builder

User Experience in Custom Apps

HR400 SAP ERP HCM Payroll Configuration

Problems with your Data Model in SAP NetWeaver MDM Do s and Don ts

Enterprise Software - Applications, Technologies and Programming

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Integrating Easy Document Management System in SAP DMS

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Integration of SAP Netweaver User Management with LDAP

Process Archiving using NetWeaver Business Process Management

Understanding HR Schema and PCR with an Example

Integration of SAP central user administration with Microsoft Active Directory

USDL XG WP3 SAP use case. Kay Kadner

Debugging Portal Applications

Sales Rush Sales Order Processing S01- Lean Baseline Package. SAP Lean Baseline Package Version: V1.500 Country: UK Language: EN Date: February 2006

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

SAP Central Process Scheduling (CPS) 8.0 by Redwood

Data Source Enhancement Using User Exit

ARCHIVING OF IDOCS IN SAP

How to Create Web Dynpro-Based iviews. Based on SAP NetWeaver 04 Stack 09. Jochen Guertler

Log Analysis Tool for SAP NetWeaver AS Java

Third Party Digital Asset Management Integration

How to Schedule Report Execution and Mailing

Intelligent Business Operations Chapter 1: Overview & Strategy

Global Transport Label - General Motors -

OData in a Nutshell. August 2011 INTERNAL

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

SAP Sales and Operations Planning Software Product (xsop)

Accounts Receivable. SAP Best Practices

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Monitoring and Management of Landscapes with SAP NetWeaver Administrator. Dieter Krieger, SAP AG

Variable Exit in Sap BI How to Start

How to Create a Support Message in SAP Service Marketplace

SAP Service Tools for Performance Analysis

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

Sending Additional Files from SAP Netweaver PI to third Party System

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Workflow extended notifications

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

mysap ERP Talent Management Dr. Christian Acosta-Flamma

SAP CCMS Monitors Microsoft Windows Eventlog

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

Consume an External Web Service in a Nutshell with good old ABAP

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

Using SAP Logon Tickets for Single Sign on to Microsoft based web applications

BW Workspaces Use Cases

Sample Universe on Microsoft OLAP Cube

K in Identify the differences between the universe design tool and the information design tool

BC407 Reporting: QuickViewer, InfoSet Query and SAP Query

SAP NetWeaver BRM 7.3

SAP Portfolio and Project Management

Single Sign-On between SAP Portal and SuccessFactors

SAP SYSTEM MEASUREMENT GUIDE

How-to-Guide: Middleware Settings for Download of IPC Configuration (KB) Data from R/3 to CRM System

Transcription:

Setup for Remote Monitoring and Administration of DB2 for z/os Applies to: This article applies to all SAP products based on the SAP NetWeaver 7.0 application server ABAP and higher. This includes also all Enhancement Packages for SAP NetWeaver 7.0 and higher. Summary This document describes the prerequisites and steps for setting up the monitoring and administration of remote DB2 for z/os subsystems. Authors: Dr. Matthias Gimbel, Senior Developer, SAP AG, Germany Dirk Nakott, Software Engineer, IBM Deutschland Research & Development GmbH Created on: 28. July 2009 Author Biographies Matthias Gimbel works as a team lead for SAP monitoring and administration on System z in the SAP Lab in Rot. He studied Computer Science at the University of Karlsruhe and earned his PhD in the area of Parallel Database Systems in 2004. He joined SAP in 2005 and worked in the BW area before taking over responsibility for monitoring. Matthias can be reached at matthias.gimbel@sap.com. Dirk Nakott divides his time between the IBM Böblingen Lab and the SAP Lab in Rot and works on all aspects of SAP monitoring and administration (CCMS) of DB2 for z/os. He studied Computer Science at the University of Stuttgart and joined IBM in 1998. Prior to IBM, he worked five years in computing and development centers of other companies in the database area. Dirk can be reached at nakott@de.ibm.com. 2009 SAP AG 1

Table of Contents Definitions and Prerequisites... 3 General Setup... 3 Bind Call Level Interface (CLI) with db2radm... 3 Define a Remote Connection in DBACOCKPIT... 4 Define a Remote System in DBACOCKPIT... 7 Monitoring Setup... 9 Job Control Language (JCL) Settings... 9 SAP Collector Settings... 10 Administration... 11 Activate Alert Data Collection (DSNACCOR)... 11 DB13 Planning Calendar... 12 Use of Remote Connections... 12 General... 12 Monitoring... 12 Administration with DB13 Jobs... 13 SAP Alert Router... 14 High Availability of Remote Connections... 14 Appendix... 15 List of Tables Used for Monitoring and Administration... 15 Copyright... 16 2009 SAP AG 2

Definitions and Prerequisites In the subsequent chapters, we will use the following terminology: The term subsystem refers to a DB2 database subsystem, whereas system stands for an SAP System. There are two different types of systems: The monitoring system and the monitored system. The monitoring system is the one used to display the monitoring results, and to schedule and run administration jobs. It must be an SAP product based on SAP NetWeaver 7.0 application server ABAP or higher. It needs to have the support package level listed in SAP note 1229346. In addition to this, we recommend having the support package level listed in SAP note 1310148. The monitored system can be any SAP product running on a DB2 for z/os database subsystem. It is also referred to as remote system. The following procedure describes the steps to be performed in the monitoring system. The SAP product installed in the monitored subsystem does not need to be touched. General Setup Bind Call Level Interface (CLI) with db2radm Note: This step is only necessary if CLI is not already bound in the monitored DB2 subsystem (for example, for SAP Java installations). If you want to access the monitored subsystem remotely through a DB2 Connect gateway (fat client) and, in parallel, through the IBM DB2 Driver for ODBC and CLI (thin client), call db2radm from a system using the fat client. If db2radm is called from a thin client, fewer packages will be bound. Use the following db2radm command: db2radm -m db2i -C <collection> -H <DB2 host> -P <DB2 port> -L <DDF location> -S <Subsystem name> -U <Connect User> -Q <SAP schema> -u <DB2 sysadm user> -p <DB2 sysadm password> -B force -G only -W secondary_only You can choose the collection name as you like. However, the following naming convention is recommended: SAP<DB2 Connect Release><U> If the SAP installation is a Unicode installation, use U at the end. Example 1: SAP non-unicode installation with DB2 V8.1 SAP0801 Example 2: SAP Unicode installation with DB2 V9.1 SAP0901U 2009 SAP AG 3

Define a Remote Connection in DBACOCKPIT Start transaction DBACOCKPIT in the monitoring SAP system and select DB Connections. 2009 SAP AG 4

Select Add to insert a new database connection. 2009 SAP AG 5

Select DB2 for z/os as the database system and enter values into the required fields. Note: The connection name must not start with CCMS_DB2_. The DB2 location must be entered in the field labeled Database Name. Save and Test the connection. 2009 SAP AG 6

Define a Remote System in DBACOCKPIT Start DBACOCKPIT and press System Configuration to define the remote SAP system. 2009 SAP AG 7

Select Add to insert the new system. Enter the required fields. In the field System you can enter the same name as the previously defined database connection. If the remote system is a BW system, you also need to define the RFC destination in addition to the database connection. This is necessary for the RUNSTATS jobs (transaction DB13). Select Save and change to the new defined system. This can take a couple of seconds because the DBACOCKPIT requires a set of tables that is created automatically in the remote system. The creator (schema) of all tables is the schema name which has been defined for the remote connection. 2009 SAP AG 8

Monitoring Setup Job Control Language (JCL) Settings The jobs that need to be submitted in order to set up monitoring require a minimum number of settings. Select Configuration and JCL Settings in the DBACOCKPIT navigation tree. Press Profile to define the profile settings. The profile settings are stored in the remote system in table DB2JOB. Enter values for the marked fields on the General tabstrip. Press Save and return to the previous screen. Select the Password button to set the password for the stored procedure user you entered in the General tabstrip. The password is encrypted and stored in the monitoring system. Leave this screen to return to the navigation tree. 2009 SAP AG 9

SAP Collector Settings The SAP Collector (SAPCL) is a stored procedure. It collects performance data from the DB2 subsystem. To make SAPCL accessible for DB2, you must store the SAPCL files in the HFS and then link them into the DB2 load libraries. In addition, the SAPCL tables need to be defined and the access privileges granted. All this can be done using buttons Step 1 to Step 6. Restart transaction DBACOCKPIT and change to the remote system. This is necessary because the JCL settings from the previous section are not active without restarting the DBACOCKPIT. Select Configuration and SAP Collector Settings in the navigation tree. The fields are supplied with default values. Check the values and make changes where necessary. Ensure that the SAPCL files sapdb2cl and DBRM.db2cldb are located in the specified HFS path. Press the buttons Step 1 to Step 6 in ascending order. For further information on SAPCL, required permissions, and configuration options, refer to the SAP Database Administration Guide for DB2 for z/os, Chapter Monitoring and Performance. 2009 SAP AG 10

Administration Activate Alert Data Collection (DSNACCOR) The DB2 stored procedure DSNACCOR is used for collecting data for tablespaces and index spaces that require RUNSTATS, REORG, or COPY. The DB13 jobs RUNSTATS on obj. needing new statistics, Online reorg on suggested tablespaces, Online reorg on suggested indexes, and Backup of suggested object are based upon the results of DSNACCOR. Switch on Collect Alert Data in the system configuration on one of the monitoring systems and save the changed configuration. In order to activate the alert collection, make sure that the Control Center stored procedures are completely installed, as described in the chapter Stored Procedure Enablement of the SAP Database Administration Guide for DB2 for z/os. 2009 SAP AG 11

DB13 Planning Calendar DB13 provides a number of different administration jobs. With the Support Package level listed in SAP note 1229346, the following jobs are supported: Backup of suggested objects RUNSTATS on obj. needing new statistics Rebuilding of one SAP index Update statistics for all SAP objects Update statistics for one SAP object With Support Package level listed in SAP note 1310148 and 1362838, the following jobs are supported: Backup System at DB2 System Level Backup for all SAP tablespaces Backup of suggested objects Increm. backup for all SAP tablespaces Online reorg of one SAP index Online reorg of one SAP tablespace Online reorg on suggested indexes Online reorg on suggested tablespaces RUNSTATS on obj. needing new statistics Rebuilding of one SAP index Update statistics for all SAP objects Update statistics for one SAP object Use of Remote Connections General This section discusses the need for multiple remote connections to a monitored system. If multiple connections are required, this implies that for each remote connection a remote system has to be defined. For details, refer to the section General Setup. Monitoring For remote monitoring, you must define one remote connection to the monitored system. This applies to SAP ABAP systems, to SAP Java systems, and to SAP double stack systems. It also applies to DB2 data sharing systems. If the monitored system contains a schema that belongs to an ABAP system, we recommend using this schema in the definition of the remote connection. 2009 SAP AG 12

Administration with DB13 Jobs Depending on the SAP installation, it may be necessary to define one or two remote connections to the monitored system. This is irrespective of the number of DB2 data sharing members. The table below illustrates this: Monitored SAP ABAP system Monitored SAP Java system Monitored SAP double stack system DB13 job Remote connection to ABAP schema Remote connection to Java schema Remote connection to ABAP schema Remote connection to Java schema Backup System at DB2 System Level X X X Backup for all SAP tablespaces X X X Backup of suggested objects X X X Increm. backup for all SAP tablespaces X X X Online reorg of one SAP index X X X X Online reorg of one SAP tablespace X X X X Online reorg on suggested indexes X X X 1 Online reorg on suggested tablespaces X X X 1 RUNSTATS on obj. needing new statistics X X X 1 Rebuilding of one SAP index X X X X Update statistics for all SAP objects X X X 1 Update statistics for one SAP object X X X X 1 see OSS note 1278135 2009 SAP AG 13

SAP Alert Router Starting, checking, and stopping the Alert Router requires a direct connection to the subsystem on which the Alert Router runs. Hence, if DB2 data sharing is used, the definition of a remote connection is necessary to start and stop the SAP Alert Router for each DB2 data sharing member from the monitoring system. Note: This behavior is different from the local case. For local data sharing, the monitoring system automatically generates connections with the naming convention CCMS_DB2_<SSID> to all members of the data sharing group. Therefore, this name prefix is reserved for such connections and must not be used for manually created connections. High Availability of Remote Connections Today, remote connections (also known as secondary connections) are not high available. If the host or the DB2 subsystem that has been defined in the DBACOCKPIT (DB connections) is not available, the remote connection cannot connect. In this case, the action requiring the remote connection fails. The mechanism for primary connections using connect.ini does not apply to secondary connections. 2009 SAP AG 14

Appendix List of Tables Used for Monitoring and Administration Here is a list of the tables that are created at the remote system: Table Name Function DB2CCMO_IN1 DB2CCMO_IN2 For calling the stored procedure DSNACCMO and for storing the results of DSNACCMO DB2CCMO_PARMS DB2CCMO_OUTTS DB2CCMO_ERROR DB2CCMO_OBJERR DB2UTILS_PARMS DB2UTILS_OUT For calling the stored procedure DSNUTILS and for storing the results of DSNUTILS DB2JOB For storing DB2J profile parameters DB2MISC DB2CCDAILY DB2CCHOUR For storing the results of the stored procedure DSNACCOR DBSTATC DB2REOTS DB2REOIX Filled with data from DB2CCDAILY and used from DB13 jobs RUNSTATS on obj. needing new statistics, Online reorg on suggested tablespaces, Online reorg on suggested indexes DB2NORUN Used by DB13 jobs DB2ALERTSLIMITS DB2TREORG 2009 SAP AG 15

Copyright 2009 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, System i, System i5, System p, System p5, System x, System z, System z9, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2009 SAP AG 16