Managing HP Serviceguard A.12.00.00 for Linux, June 2014

Table 5 Package Failover Behavior (continued)
Parameters in Configuration FileSwitching Behavior
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 reset
(an immediate halt without a graceful
shutdown) on the node when a specific
service fails. Halt scripts are not run.
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
on the node when any service fails. An
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.
4.9.5 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
extended resource. This parameter requires an operator and a value. The operators ==, !=,
>, <, >=, and <= are allowed. Values must be positive integer values ranging from 1 to
2147483647.
The following is an example of how to configure simple and extended resources.
Simple generic resource:
generic_resource_name sfm_disk
generic_resource_evaluation_type before_package_start
Extended generic resource:
generic_resource_name cpu_lan
generic_resource_evaluation_type during_package_start
generic_resource_up_criteria <50
For more information on the generic resource parameters, see “Package Parameter Explanations
(page 184).
4.9.6 Configuring a Generic Resource
This section describes the step-by-step procedure to configure generic resources. You can also
configure generic resources from Serviceguard Manager. See the online help for instructions on
how to configure from Serviceguard Manager.
4.9 Package Configuration Planning 107