Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Understanding Serviceguard Software Components
How Packages Run
Chapter 3 71
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.
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.
Package Control Script Error and Exit Conditions
Table 3-3 shows the possible combinations of error condition, failfast
setting and package movement for failover packages.
Table 3-3 Error Conditions and Package Movement for Failover Packages
Package Error Condition Results
Error or
Exit Code
Node
Failfast
Enabled
Service
Failfast
Enabled
Linux
Status
on
Primary
after
Error
Halt
script
runs
after
Error
or Exit
Package
Allowed to
Run on
Primary
Node after
Error
Package
Allowed
to Run on
Alternate
Node
Service
Failure
YES YES system
reset
No N/A (system
reset)
Yes
Service
Failure
NO YES system
reset
No N/A (system
reset)
Yes
Service
Failure
YES NO Running Yes No Yes
Service
Failure
NO NO Running Yes No Yes
Run Script
Exit 1
Either
Setting
Either
Setting
Running No Not changed No
Run Script
Exit 2
YES Either
Setting
system
reset
No N/A (system
reset)
Yes
Run Script
Exit 2
NO Either
Setting
Running No No Yes