Managing HP Serviceguard A.11.20.00 for Linux, June 2012
IMPORTANT: See “Cluster Configuration Parameters ” (page 80) for important information about
node names.
See “About Cross-Subnet Failover” (page 117) for considerations when configuring cross-subnet
packages, which are further explained under “Cross-Subnet Configurations” (page 23).
auto_run
Can be set to yes or no. The default is yes.
For failover packages, yes allows Serviceguard to start the package (on the first available node
listed under node_name) on cluster start-up, and to automatically restart it on an 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 100).
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
• A generic resource fails
• 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 160) 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.
Setting node_fail_fast_enabled to yes ensures that the package can fail over to another
node even if the package cannot halt successfully. Be careful when using
node_fail_fast_enabled, as it will cause all packages on the node to halt abruptly. For more
information, see “Responses to Failures ” (page 66) and “Responses to Package and Service
Failures ” (page 68).
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.
160 Configuring Packages and Their Services