Register a DB2 database

You can use mass registration to registrations to register multiple database instances, or you can register database instances using scripts that call the DPA API.

To register a DB2 database for DPA to monitor:

  1. On the DPA homepage, click Register DB Instance for Monitoring.
  2. Under Self-Managed, click DB2 UDB.
  3. Click Next.
  4. Complete the wizard panels as described in the following table.
Panel Instructions
DB2 Configuration Settings

SolarWinds DPA requires the DB2 instance-wide parameter {DFT_MON_STMT} to be turned on to collect monitoring data. Follow the on-screen instructions to check and set the parameter.

If {DFT_MON_STMT} is set to OFF, you can use SolarWinds DPA to register the database instance. Later, you can set it to ON and restart the database instance during an approved maintenance window. In the meantime, the database shows a status of Idle.

Enter Monitored Database Instance Connection Information

Enter the host name or IP address and port of the DB2 server.

Enter the DB2 database for SolarWinds DPA to monitor in the Database field. SolarWinds DPA collects information from all DB2 instances in a cluster configuration for the specified database.

If the connection information changes for the DB2 server, all databases on that instance must be updated separately through the Update Database Instance Connection Wizard.

SolarWinds DPA can monitor all databases in the specified instance, or an individual database.

  • SolarWinds DPA 9.0 and later monitors all DB2 databases in the specified instance.
  • Do you want to monitor a single database in an earlier version of SolarWinds DPA? See Switch to DB2 instance-wide monitoring.
  • To monitor a single database, each database must be registered separately through this wizard, even if multiple databases are contained on a single DB2 server instance.
  • For instance-wide monitoring, one database must be registered for the SolarWinds DPA connection.

Enter SYSADM credentials for SolarWinds DPA to monitor the database instance.

Do you want more information on the DB2 permissions needed by SolarWinds DPA for the monitoring user? See Required DB2 permissions needed by DPA for monitoring.

Enter the Monitoring User

Create or specify the account that DPA will use to gather information. To ensure that the account has the required permissions, SolarWinds recommends creating a new account.

To create a new account:

  1. Next to Create Monitoring User, click Yes.
  2. Select the Authentication method, and enter the user name and password.

To specify an existing account:

  1. Next to Create Monitoring User, click No.
  2. Enter the user name and password.

SolarWinds DPA requires the monitoring user to have SA_ROLE and MON_ROLE privileges for data collection.

SolarWinds DPA ignores data on the monitored database instance from the specified monitoring user. Make sure the monitoring user will not cause load on the monitored instance.

Oracle Repository Tablespace

If your repository database is not Oracle, the wizard skips this step.

Choose the tablespace in the repository database to store DPA performance data for this monitored instance.

By default, the performance data is stored in the default tablespace of the repository user. However, data for monitored instances can be stored in separate tablespaces.

Select the Alert Groups

If you have no Alert Groups set up, or if this new database instance does not match the database type of the Alert Group, the wizard skips this step.

Alert Groups simplify alert configuration and help make alerting more consistent across the monitored database instances.

Select the Alert Groups you want the new database instance to join.

Summary Review the information and click Register Database Instance.
Database Instance Registration Complete Click Finish to return to the DPA homepage.

If you register a database instance within the 14-day trial period, DPA begins monitoring the instance immediately. After the trial period, you must activate a license to monitor the database instance.