Managing HP Serviceguard A.12.00.00 for Linux, June 2014
3.4.10.1 Package Control Script Error and Exit Conditions
Table 3 shows the possible combinations of error condition, failfast setting and package movement
for failover packages.
Table 3 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
YesYesYesRunningEither SettingNoLoss of Network
Yes if
dependency met
Yes when
dependency is
again met
YesRunningEither SettingEither Settingpackage
depended on
failed
3.5 How the Network Manager Works
The purpose of the network manager is to detect and recover from network card failures so that
network services remain highly available to clients. In practice, this means assigning IP addresses
for each package to LAN interfaces on the node where the package is running and monitoring
the health of all interfaces, switching them when necessary.
NOTE: Serviceguard monitors the health of the network interfaces (NICs) and can monitor the
IP level (layer 3) network.
3.5 How the Network Manager Works 59