Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4 159
Parameters for Configuring EMS Resources
Serviceguard provides a set of parameters for configuring EMS
resources. These are RESOURCE_NAME, RESOURCE_POLLING_INTERVAL,
RESOURCE_START, and RESOURCE_UP_VALUE. Enter these parameters to
the package configuration file for each resource the package will be
dependent on. The DEFERRED_RESOURCE_NAME is added to the package
control script for any resource that has a RESOURCE_START setting of
DEFERRED.
The RESOURCE_START option is used to determine when Serviceguard
should start up resource monitoring for EMS resources. The
RESOURCE_START option can be set to either AUTOMATIC or DEFERRED.
If AUTOMATIC is specified, Serviceguard will start up resource monitoring
for these resources automatically when the Serviceguard cluster daemon
starts up on the node. If resources are configured AUTOMATIC, you do not
need to define DEFERRED_RESOURCE_NAME in the package control script.
If DEFERRED is selected, Serviceguard will not attempt to start resource
monitoring for these DEFERRED resources during node start up. However,
these DEFERRED resources must be specified in the package control script,
setting the DEFERRED_RESOURCE_NAME parameter, so that the DEFERRED
resources will be started up from the package control script during the
package run time.
The following is an example of how to configure DEFERRED and
AUTOMATIC resources. In the package configuration file, specify resources
as follows:
RESOURCE_NAME /net/interfaces/lan/status/lan0
RESOURCE_POLLING_INTERVAL 60
RESOURCE_START DEFERRED
RESOURCE_UP_VALUE = UP
RESOURCE_NAME /net/interfaces/lan/status/lan1
RESOURCE_POLLING_INTERVAL 60
RESOURCE_START DEFERRED
RESOURCE_UP_VALUE = UP
RESOURCE_NAME /net/interfaces/lan/status/lan2
RESOURCE_POLLING_INTERVAL 60