Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Understanding Serviceguard Software Components
How Packages Run
Chapter 370
Figure 3-16 Legacy Package Time Line for Halt Script Execution
At any step along the way, an error will result in the script exiting
abnormally (with an exit code of 1). Also, if the halt script execution is
not complete before the time specified in the halt_script_timeout, the
package manager will kill the script. During halt script execution,
messages are written to a log file. For legacy packages, this is in the
same directory as the run script and has the same name as the run script
and the extension .log. For modular packages, the pathname is
determined by the script_log_file parameter in the package
configuration file (see page 213). Normal starts are recorded in the log,
together with error messages or warnings related to halting the package.
NOTE This diagram applies specifically to legacy packages. Differences for
modular scripts are called out above.
Normal and Abnormal Exits from the Halt Script
The package’s ability to move to other nodes is affected by the exit
conditions on leaving the halt script. The following are the possible exit
codes:
0—normal exit. The package halted normally, so all services are
down on this node.