Managing HP Serviceguard for Linux, Tenth Edition, September 2012

adoptive node if it fails. no prevents Serviceguard from automatically starting the package,
and from restarting it on another node.
This is also referred to as package switching, and can be enabled or disabled while the
package is running, by means of the cmmodpkg command.
auto_run should be set to yes if the package depends on another package, or is
depended on; see About Package Dependencies” (page 130).
For system multi-node packages, auto_run must be set to yes. In the case of a multi-node
package, setting auto_run to yes allows an instance to start on a new node joining
the cluster; no means it will not.
node_fail_fast_enabled
Can be set to yes or no. The default is no.
yes means the node on which the package is running will be halted (reboot) if the
package fails; no means Serviceguard will not halt the system.
If this parameter is set to yes and one of the following events occurs, Serviceguard will
halt the system (reboot) on the node where the control script fails:
A package subnet fails and no backup network is available
Serviceguard is unable to execute the halt function
The start or halt function times out
NOTE: If the package halt function fails with “exit 1, Serviceguard does not halt
the node, but sets no_restart for the package, which disables package switching,
setting auto_run (page 206) to no and thereby preventing the package from starting
on any adoptive node.
Setting node_fail_fast_enabled to yes prevents Serviceguard from repeatedly
trying (and failing) to start the package on the same node.
For system multi-node packages, node_fail_fast_enabled must be set to yes.
run_script_timeout
The amount of time, in seconds, allowed for the package to start; or no_timeout. The
default is no_timeout. The maximum is 4294.
If the package does not complete its startup in the time specified by
run_script_timeout, Serviceguard will terminate it and prevent it from switching to
another node. In this case, if node_fail_fast_enabled is set to yes, the node will
be halted (rebooted).
If no timeout is specified (no_timeout), Serviceguard will wait indefinitely for the
package to start.
Choosing Package Modules 207