|
Measures reported by IBMDB2RepStatTest
Replication is a process of maintaining a defined set of data in more than one location. It involves copying designated changes from one location (a source) to another (a target), and synchronizing the data in both locations. The source and target can be in logical servers (such as a DB2 database or a DB2 for OS/390 subsystem or data-sharing group) that are on the same machine or on different machines in a distributed network.
In a high availability environment, the standby servers should always be in sync with the primary database instance. For this, the replication should always be enabled on the primary and the standby servers should be connected to the primary at all times. If the replication fails even for a brief period or if the standby servers are not connected to the primary, the data in the standby servers will not be upto date. To avoid this, it is essential to monitor the replication status of the primary DB2 database instance. The IBMDB2RepStatTest helps administrators in this regard!
This test reports whether/not the replication process is enabled on the target database instance and also helps administrators figure out if the target database instance is the primary or not. Additionally, this test reports the connection status as well as replication status of the target database instance. Using this test, administrators can easily identify connectivity issues prevalent on the target database server and take remedial measures to resume the connection, if lost at the earliest.
Outputs of the test : One set of results for each database created on the target database server instance being monitored
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| ReplicationEnable |
Indicates whether/not replication is enabled on this database. |
|
The values that this measure can report and their corresponding numeric values are listed in the table below:
| Measure Value |
Numeric Value |
| Yes |
1 |
| No |
0 |
Note:
By default, the measure reports only the Measure Values provided in the table above to indicate whether/not replication is enabled on the database. In the graph of this measure however, the same is indicated using the numeric equivalents only. The detailed diagnosis of this measure
lists the IP address of the primary database, the IP address of the standby database and the synchronization mode between the primary and standby database. |
| IsPrimary |
Indicates whether/not this node is the primary database. |
|
The values that this measure can report and their corresponding numeric values are listed in the table below:
| Measure Value |
Numeric Value |
| Yes |
1 |
| No |
0 |
Note:
By default, the measure reports only the Measure Values provided in the table above to indicate whether/not the database is the primary database. In the graph of this measure however, the same is indicated using the numeric equivalents only. |
| ConnectionStatus |
Indicates the current connection status of this database. |
|
The values that this measure can report and their numeric equivalents are listed in the table below:
| Measure Value |
Numeric Value |
| Disconnected |
0 |
| Congested |
1 |
| Connected |
2 |
Note:
By default, the measure reports only the Measure Values provided in the table above to indicate the current connection status of this database. In the graph of this measure however, the same is indicated using the numeric equivalents only |
| ReplicationStatus |
Indicates the current replication status of this database. |
|
The values that this measure can report and their numeric equivalents are listed in the table below:
| Measure Value |
Numeric Value |
| Disconnected |
0 |
| Disconnected peer |
1 |
| remote catchup pending |
2 |
| remote catchup |
3 |
| local catchup |
4 |
| Peer |
5 |
Note:
By default, the measure reports only the Measure Values provided in the table above to indicate the current replication status of this database. In the graph of this measure however, the same is indicated using the numeric equivalentsonly. |
|