DB2 DPF Database Status Test

In a DB2 DPF (Database Partitioning Feature) environment, database status indicates the health and accessibility of each partition. Common statuses include Active, Quiesced, Rollforward Pending, or Backup Pending. Monitoring these ensures balanced workload distribution, high availability, and recovery readiness across nodes in a distributed database system.

This test monitors and reports the database status metrics which is essential for administrators to plan work on server.

Target of the test : A DB2 database server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every DB2 database server being monitored

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed

Host

The IP address of the DB2 server

Port

  • The port number through which the DB2 server communicates. The default port is 50000.
  • User

    Specify the name of the user who is authorized to access the target database server and collect the required metrics in this text box. You can create a separate user on the OS hosting the DB2 server for this purpose. The steps for the same are detailed in the Creating a Special User for Monitoring DB2 Server topic.

    Password

    Enter the password of the specified USER in the PASSWORD text box.

    Confirm Password

    Confirm the Password by retyping it in the Confirm Password text box.

    Database

    Specify the name of the database on the monitored DB2 server to be used by this test.

    Include DB

    Specify a comma-separated list of databases that you wish to monitor in the Include DB text box.

    Exclude DB

    Specify a comma-separated list of databases that need to be excluded from monitoring in the Exclude DB text box.

    SSL

    If the target database server is SSL-enabled, then set the SSL flag to Yes. If not, then set the SSL flag to No.

    Trust Store File Name

    This parameter is applicable only if the target DB2 database is SSL-enabled, if not, set this parameter to none. Specify the file name of the client-side SSL truststore that contains the server certificate required for establishing an SSL connection. The truststore is used to verify the identity of the server and enable a secure communication channel.

    By default, the truststore file should be placed in:<EG_INSTALL_DIR>/jre/lib/security/mytruststore.jks

    Here, mytruststore.jks is the Truststore file name. You may change this to any valid file name. By default, none is specified against this text box.

    Trust Store Password

    This parameter is applicable only if the target DB2 database is SSL-enabled, if not, set this parameter to none. If a Truststore File name is provided, then, in this text box, provide the password that is used to obtain the associated certificate details from the Truststore File. By default, this parameter is set to none.

    Confirm Password

    Confirm the Password by retyping it in the Confirm Password text box.

    Measurements made by the test
    Measurement Description Measurement Unit Interpretation

    Database Status

    Indicates the total number of successfully completed jobs.

     

    The States reported by this measure and their corresponding numeric equivalents are described in the table below:

    State Numeric Value
    Active 0
    Active Standby 1
    Standby 2
    Quiesce Pending 3
    Quiesced 4
    Roll Forward 5

    Note:

    By default, this measure reports the above-mentioned States while indicating the status of database server. However, in the graph of this measure, states will be represented using their corresponding numeric equivalents only.