Managing HP Serviceguard A.11.20.00 for Linux, June 2012
Table 6 Package Failover Behavior
Parameters in Configuration FileSwitching Behavior
Package switches normally after detection of
service or network failure, generic resource
• node_fail_fast_enabled set to no. (Default)
• service_fail_fast_enabled set to no for all services. (Default)
failure or when a configured dependency is
not met. Halt script runs before switch takes
place. (Default)
• auto_run set to yes for the package. (Default)
• failover_policy set to min_package_node.
Package fails over to the node with the fewest
active packages.
• failover_policy set to configured_node. (Default)
Package fails over to the node that is next on
the list of nodes. (Default)
• failback_policy set to automatic.
Package is automatically halted and restarted
on its primary node if the primary node is
available and the package is running on a
non-primary node.
Package can be manually returned to its
primary node if it is running on a non-primary
node, but this does not happen automatically.
• failback_policy set to manual. (Default)
• failover_policy set to configured_node. (Default)
All packages switch following a system reboot
on the node when a specific service fails. Halt
scripts are not run.
• service_fail_fast_enabled set to yes for a specific service.
• auto_run set to yes for all packages.
All packages switch following a system reboot
on the node when any service fails.
• service_fail_fast_enabled set to yes for all services.
• auto_run set to yes for all packages.
All packages switch following a system reset
(an immediate halt without a graceful
• service_fail_fast_enabled set to yes for a specific service.
• auto_run set to yes for all packages.
shutdown) on the node when a specific
service fails. Halt scripts are not run.
All packages switch following a system reset
on the node when any service fails. An
• service_fail_fast_enabled set to yes for all services.
• auto_run set to yes for all packages.
attempt is first made to reboot the system prior
to the system reset.
Failover packages can be also configured so that IP addresses switch from a failed NIC to a
standby NIC on the same node and the same physical subnet.
Parameters for Configuring Generic Resources
Serviceguard provides the following parameters for configuring generic resources. Configure each
of these parameters in the package configuration file for each resource the package is dependent
on.
• generic_resource_name: defines the logical name used to identify a generic resource in
a package.
• generic_resource_evaluation_type: defines when the status of a generic resource
is evaluated. This can be set to during_package_start or before_package_start.
If not specified, DPS is considered as default.
◦ during_package_start means the status of generic resources are evaluated during
the course of start of the package.
◦ before_package_start means resource monitoring must be started before the package
start and all the configured resources must be UP on a given node for the package to be
started on that node.
• generic_resource_up_criteria: defines a criterion to determine the 'up' condition for
a generic resource. It also determines whether a generic resource is a simple resource or an
96 Planning and Documenting an HA Cluster