All callback methods have the same exit codes defined to specify the effect of the method invocation on the resource state. The scha_calls(3HA) man page describes all these exit codes. The exit codes are:
0 – Method succeeded
Any nonzero value – Method failed
The RGM also handles abnormal failures of callback method execution, such as time outs and core dumps.
Method implementations must output failure information using syslog(3) on each node. Output written to stdout or stderr is not guaranteed to be delivered to the user (though it currently is displayed on the console of the local node).