DB2 Version 10.1 for Linux, UNIX, and Windows

Determining the HADR standby database state

The state that a DB2® High Availability Disaster Recovery (HADR) standby database is in determines what operations it can perform. There are two recommended options for determining the state of the standby: the db2pd command and the MON_GET_HADR table function.

Procedure

To determine the state of an HADR standby database in a primary-standby HADR database pair: