Managing Serviceguard Eighteenth Edition, September 2010

Figure 3-15 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(page 292). 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:
How Packages Run 87