1 IBM DB2 Database Plug-in Overview and Prerequisites
The following topics are provided:
IBM DB2 Database Plug-in Overview and Feature Summary
The System Monitoring Plug-in for IBM DB2 Database extends Enterprise Manager to add support for managing IBM DB2 Universal Database (UDB) for Linux, UNIX, and Windows (LUW) database instances. By deploying the plug-in in your Enterprise Manager 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. Local Agent is an agent running on the same host as the DB2 database. Remote Agent is an agent running on a host that is different from the host where DB2 database is running.
-
Collect and display top SQL statements and their related statistics, including CPU Time and Execution Count, of your IBM DB2 Database.
-
Collect and display information regarding the top Lock Wait Events in IBM DB2, including top Wait Count by Table and top Wait Times. Optionally, kill a blocking application directly from the Analysis page.
-
Utilization of Enterprise Manager jobs to start and stop the IBM DB2 database. These jobs are not only accessible from the Enterprise Manager Jobs Library but also from the IBM DB2 plug-in's UI home page.
-
Expose vital IBM DB2 Database metrics in the form of easy-to-use charts and tables.
-
Monitor IBM DB2 High Availability and Disaster Recovery (HADR) status, including replication role, sync mode, and connection status.
-
Monitor database backup status and alert on databases that have not been backed up recently.
Platforms Supported
The plug-in supports monitoring of IBM DB2 Universal Database (LUW) on all the platforms where IBM DB2 Universal Database can be installed.
Supported Versions
The IBM DB2 Database plug-in supports the following versions of products:
-
Enterprise Manager 24ai:
-
The plug-in is certified for the latest release of Oracle Enterprise Manager and higher (Oracle Management Server (OMS) and Oracle Management Agent).
-
-
Version 11.5 and 12.1 of single-partition IBM DB2 Universal Database (UDB) for Linux, UNIX, and Windows (LUW).
-
IBM DB2 configured for High Availability and Disaster Recovery (HADR).
Note:
- The plug-in supports only single-partition DB2 databases. Multi-partition (DPF) environments are not supported. If the plug-in detects more than one database partition during target addition, an error is raised and the target cannot be added.
- Earlier versions of this plug-in supported DB2 versions 9.1 through 10.5. Those versions are no longer supported. If you are monitoring a DB2 database running version 11.1 or earlier, you must upgrade the database to version 11.5 or later before using this version of the plug-in.
IBM DB2 Database Plug-in Prerequisites
The following prerequisites must be met before you can use the plug-in:
Setting Up the JDBC Driver
The JDBC driver is available from IBM, and consists of the following files that the Agent must be able to access:
-
db2jcc4.jar(required) -
db2jcc_license_cu.jar(optional — included in classpath if present)
To set up the AGENT_BASE_DIR directory for the IBM DB2 Universal Type 4 JDBC driver:
- If it does not already exist, create the directory
$AGENT_BASE_DIR/plugins/dependencies/oracle.em.sidb/jdbcdriver/. - Copy the JDBC driver files into the directory
$AGENT_BASE_DIR/plugins/dependencies/oracle.em.sidb/jdbcdriver/.
Note:
The db2jcc4.jar file is the IBM Data Server Driver for JDBC and SQLJ (Type 4). This is the required driver. Earlier versions of this plug-in referenced db2jcc.jar, which is no longer supported. Ensure that you are using db2jcc4.jar.
The db2jcc_license_cu.jar license file is optional. If present in the driver directory, it will be automatically included in the classpath.
Deploying the Plug-in
You can deploy the plug-in to an Oracle Management Service instance using the Enterprise Manager console, or using the Enterprise Manager Command-Line Interface (EMCLI). While the console enables you to deploy one plug-in at a time, the command line interface mode enables you to deploy multiple plug-ins at a time, thus saving plug-in deployment time and downtime, if applicable.
See the Managing Plug-ins chapter in the Oracle Enterprise Manager Administrator's Guide for instructions on deploying the plug-in.
Upgrading the Plug-in
The Self Update feature allows you to expand Enterprise Manager's capabilities by updating Enterprise Manager components whenever new or updated features become available. Updated plug-ins are made available via the Enterprise Manager Store, an external site that is periodically checked by Enterprise Manager to obtain information about updates ready for download. See the Updating Enterprise Manager chapter in the Oracle Enterprise Manager Administrator's Guide for steps to update the plug-in.
Undeploying the Plug-in
See the Managing Plug-ins chapter in the Oracle Enterprise Manager Administrator's Guide for steps to undeploy the plug-in.