Managing HP Serviceguard A.11.20.20 for Linux, May 2013

0—normal exit. The package halted normally, so all services are down on this node.
1—abnormal exit, also known as no_restart exit. The package did not halt normally.
Services are killed, and the package is disabled globally. It is not disabled on the current
node, however.
2 — abnormal exit, also known as restart exit. The package did not halt normally. Services
are killed, and the package is disabled globally. It is not disabled on the current node, however.
The package is allowed to run on an alternate node.
3—abnormal exit. The package did not halt normally and will be placed in the halt_aborted
state (page 200). The package switching is disabled and it will not failover to other nodes.
Timeout—Another type of exit occurs when the halt_script_timeout is exceeded. In this
scenario, the package is killed and disabled globally. It is not disabled on the current node,
however.
3.4.10.1 Package Control Script Error and Exit Conditions
Table 4 shows the possible combinations of error condition, failfast setting and package movement
for failover packages.
Table 4 Error Conditions and Package Movement for Failover Packages
ResultsPackage Error Condition
Package
Allowed to Run
on Alternate
Node
Package Allowed to
Run on Primary
Node after Error
Halt script
runs after
Error or Exit
Linux Status
on Primary
after Error
Service
Failfast
Enabled
Node Failfast
Enabled
Error or Exit Code
YesN/A (system reset)Nosystem resetYesEither SettingService Failure
YesNoYesRunningNoEither SettingService Failure
NoNot changedNoRunningEither SettingEither SettingRun Script Exit 1
YesN/A (system reset)Nosystem resetEither SettingYesRun Script Exit 2
YesNoNoRunningEither SettingNoRun Script Exit 2
YesN/A (system reset)Nosystem resetEither SettingYesRun Script
Timeout
NoNot changedNoRunningEither SettingNoRun Script
Timeout
NoYesN/ARunningEither SettingYesHalt Script Exit 1
NoYesN/ARunningEither SettingNoHalt Script Exit 1
YesYesN/ARunningEither SettingNoHalt Script Exit 2
NoYesN/ARunningNoNoHalt Script Exit 3
Yes, unless the
timeout
happened after
the cmhaltpkg
command was
executed.
N/A (system reset)N/Asystem resetEither SettingYesHalt Script
Timeout
NoYesN/ARunningEither SettingNoHalt Script
Timeout
YesN/A (system reset)Nosystem resetYesEither SettingService Failure
YesNoYesRunningNoEither SettingService Failure
YesN/A (system reset)Nosystem resetEither SettingYesLoss of Network
3.4 How Packages Run 61