Sun Cluster Data Services Developer's Guide for Solaris OS

Implementing a Fault Monitor

The DSDL absorbs much of the complexity of implementing a fault monitor by providing a predetermined model. A Monitor_start method starts the fault monitor, under the control of the PMF, when the resource starts on a node or a zone. The fault monitor runs in a loop as long as the resource is running on the node or zone.

The high-level logic of a DSDL fault monitor is as follows: