Sun Cluster 3.0 Data Services Developers' Guide

Setting Status and Status_msg

The Status and Status_msg properties are to be set by the resource monitor to reflect the monitor's view of the resource state. The API provides a function, scha_resource_setstatus, that sets these properties. See the scha_resource_setstatus(3HA) and scha_resource_setstatus(1HA) man pages for details.


Note -

Although scha_resource_setstatus is of particular use to a resource monitor, any program can call it.