System Monitoring Plug-in Installation Guide for IBM DB2 Database
Release 5 (220.127.116.11.0)
This document provides a brief description about the Oracle System Monitoring Plug-in for IBM DB2 Database, details on the versions the plug-in supports, prerequisites for installing the plug-in, and step-by-step instructions on how to download, install, verify, and validate the plug-in.
The Oracle System Monitoring Plug-in for IBM DB2 Database extends Oracle Enterprise Manager Grid Control to add support for managing IBM DB2 Database instances. By deploying the plug-in in your Grid Control environment, you gain the following management features:
Monitor DB2 Database instances.
Gather configuration data and track configuration changes for DB2 Database instances.
Raise alerts and violations based on thresholds set on monitored targets and configuration data.
Provide rich out-of-box reports based on the gathered data.
Support monitoring by a remote Agent. For remote monitoring, the agent need not be on the same host as IBM DB2.
The plug-in supports monitoring of IBM DB2 instances on Linux, Unix, and Microsoft Windows.
This plug-in supports the following versions of products:
Enterprise Manager Grid Control 10.2.0.1 or higher - Oracle Management Service and Oracle Management Agent
The following versions of IBM DB2 Universal Database (UDB) for Linux, UNIX, and Windows (LUW):
Version 8.2 FixPak 4 (equivalent to version 8.1 FixPak 11)
Version 8.2 FixPak 3 (equivalent to version 8.1 FixPak 10)
Version 8.2 FixPak 2 (equivalent to version 8.1 FixPak 9)
The following prerequisites must be installed before you can use the plug-in:
Oracle Enterprise Manager Grid Control 10.2.0.2 or higher
IBM DB2 Universal JDBC Type 4 driver for IBM DB2 Database (see "Setting up the JDBC Driver")
IBM DB2 Universal Database
The JDBC driver is available from IBM, and consists of the following files that the Agent must be able to access:
To set up the IBM DB2 Universal Type 4 JDBC driver, do the following:
Create a jdbcdriver directory under agent/sysman/ and place the .jar files listed above in that directory.
Add the location of each individual driver .jar file to the classpath.lst file under the $ORACLE_HOME/sysman/config directory.
If the Agent is installed on a system that is part of an OS cluster, then you need to edit the classpath.lst file under the $ORACLE_HOME/<node_name>/sysman/config directory, where node_name is the name of the system where the Agent is installed.
If the classpath.lst file does not exist, create the file. For example, the classpath.lst file in a UNIX environment might appear as shown in the following example:
After you ensure that the prerequisites are met, follow these steps to deploy the plug-in:
Download the IBM DB2 Database Plug-in archive to your desktop or computer on which the browser is launched. You can download the archive from the Oracle Technology Network (OTN).
Log in to Enterprise Manager Grid Control as a Super Administrator.
Click the Setup link in the upper right corner of the Grid Control Home page, then click the Management Plug-ins link on the left side of the Setup page.
Click Browse and select the plug-in archive.
Click List Archive.
Select the plug-in and click OK.
Verify that you have set preferred credentials on all Agents where you want to deploy the plug-in.
In the Management Plug-ins page, click the icon in the Deploy column for the DB2 Database plug-in. The Deploy Management Plug-in wizard appears.
Click Add Agents, then select one or more Agents to which you want to deploy the plug-in. The wizard reappears and displays the Agent you selected.
Click Next, then click Finish.
If you see an error message stating that the preferred credential is not set up, go to the Preferences page and add the preferred credentials for the Agent target type.
After successfully deploying the plug-in, follow these steps to add the plug-in target to Grid Control for central monitoring and management:
From the Agent home page where the plug-in was deployed, select the IBM DB2 Database target type from the Add drop-down list, then click Go. The Add IBM DB2 Database page appears.
Provide the following information for the properties:
Name — Name for the plug-in
JDBC URL — URL name for the DB2 JDBC Driver connectivity in the form:
The JDBC URL argument represents a data source. Parameter definitions are as follows:
jdbc:db2 — Indicates that the connection is to a DB2 UDB server.
server — Domain name or IP address of the database server.
port — TCP/IP server port number assigned to the database server, which is an integer between 0 and 65535.
database — Database alias, which refers to the DB2 database catalog entry on the DB2 client.
The database name is determined by the DB2 server being used:
DB2 for Linux, Unix, and Windows Servers — If the connection is to DB2 UDB for Linux, UNIX, and Windows servers, database is the database name defined during installation.
JDBC Driver — Name of the DB2 Universal JDBC Driver. You load the driver by invoking the Class.forName method:
Username — Valid user name for the database
Password — Password for the user
Click Test Connection to make sure the parameters you entered are correct.
Reenter the encrypted parameters from step 2 if the connection test was successful, then click OK.
Note:After you deploy and configure the plug-in to monitor one or more targets in the environment, you can customize the monitoring settings of the plug-in. This alters the collection intervals and threshold settings of the metrics to meet the particular needs of your environment. If you decide to disable one or more metric collections, this could impact the reports that the metric is a part of.
After waiting a few minutes for the plug-in to start collecting data, follow these steps to verify and validate that Enterprise Manager is properly monitoring the plug-in target:
Click the IBM DB2 Database target link from the Agent home page Monitored Targets table. The IBM DB2 Database home page appears.
Verify that no metric collection errors are reported in the Metrics table.
Ensure that reports can be seen by selecting the Reports property page.
Ensure that configuration data can be seen by clicking the View Configuration link in the Configuration section. If configuration data does not immediately appear, click Refresh in the View Configuration page.
Follow these steps to undeploy the plug-in from an Agent:
Log in to Enterprise Manager Grid Control as a Super Administrator.
Select the Targets tab, then the All Targets subtab.
Select the DB2 Database Plug-in target and click Remove. You must do this step for all instances of the plug-in.
Make sure that the preferred credentials are set on the Agents where the plug-in is deployed.
Click the Setup link in the upper right corner of the All Targets page, then click the Management Plug-ins link on the left side of the Setup page. The Management Plug-ins page appears.
Click the icon in the Undeploy column for the IBM DB2 Database plug-in. The Undeploy Management Plug-in page appears.
Check all the Agents that are currently deployed with the DB2 Database Management plug-in and click OK.
You must undeploy the plug-in from every Agent in the system to completely remove it from the enterprise.
Select the IBM DB2 Database Management Plug-in on the Management Plug-ins page and click Delete.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at
Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.
Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.
System Monitoring Plug-in Installation Guide for IBM DB2 Database, Release 5 (18.104.22.168.0)
Copyright © 2007, Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software—Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.