Managing Serviceguard A.11.20, March 2013
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 (auto_run), thereby
preventing the package from starting on any adoptive 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 93) and “Responses to Package and Service Failures
” (page 95).
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 (HP-UX system reset).
If no timeout is specified (no_timeout), Serviceguard will wait indefinitely for the package to
start.
If a timeout occurs:
• Switching will be disabled.
• The current node will be disabled from running the package.
NOTE: VxVM disk groups are imported at package run time and exported at package halt
time. If a package uses a large number of VxVM disk, the timeout value must be large enough
to allow all of them to finish the import or export.
NOTE: If (no_timeout is specified, and the script hangs, or takes a very long time to complete,
during the validation step (cmcheckconf (1m)), cmcheckconf will wait 20 minutes to allow
the validation to complete before giving up.
halt_script_timeout
The amount of time, in seconds, allowed for the package to halt; or no_timeout. The default is
no_timeout. The maximum is 4294.
If the package’s halt process does not complete in the time specified by halt_script_timeout,
Serviceguard will terminate the package and prevent it from switching to another node. In this
case, if node_fail_fast_enabled (page 239) is set to yes, the node will be halted (HP-UX
system reset).
If a halt_script_timeout is specified, it should be greater than the sum of all the values
set for service_halt_timeout (page 248) for this package.
If a timeout occurs:
• Switching will be disabled.
• The current node will be disabled from running the package.
If a halt-script timeout occurs, you may need to perform manual cleanup. See “Package Control
Script Hangs or Failures” in Chapter 8. See also the note about VxVM under
run_script_timeout (page 240).
240 Configuring Packages and Their Services