Detecting an unplanned outage
Procedure
- Db2 fault monitor facility
-
The Db2 fault monitor facility keeps Db2 database instances up and running. When the Db2 database instance to which a Db2 fault monitor is attached terminates unexpectedly, the Db2 fault monitor restarts the instance. If your database solution is implemented in a cluster, you should configure the cluster managing software to restart failed database instances instead of the Db2 fault monitor.
- Heartbeat monitoring in clustered environments
-
Cluster managing software uses heartbeat messages between the nodes of a cluster to monitor the health of the nodes. The cluster manager detects that a node has failed when the node stops responding or sending any messages.
- Monitoring Db2 High Availability Disaster Recovery (HADR) databases
-
The HADR feature has its own heartbeat monitor. The primary database and the standby database each expect heartbeat messages from the other at regular intervals.