Sun Cluster Data Services Developer's Guide for Solaris OS

Callback Method Exit Codes

All callback methods have the same exit codes. These exit codes are defined to specify the effect of the method invocation on the resource state. The scha_calls(3HA) man page describes these exit codes in more detail.

The two major categories of exit codes are as follows:

The RGM also handles abnormal failures of callback method execution, such as timeouts and core dumps.

Method implementations must output failure information by using syslog() on each node or zone. Output written to stdout or stderr is not guaranteed to be delivered to the user, although it is currently displayed on the console of the local node.