Managing Serviceguard Fifteenth Edition, reprinted May 2008

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4 177
Serviceguard provides a set of parameters for configuring EMS (Event
Monitoring Service) resources. These are resource_name,
resource_polling_interval, resource_start, and
resource_up_value. Configure each of these parameters in the package
configuration file for each resource the package will be dependent on.
The resource_start parameter determines when Serviceguard starts
up resource monitoring for EMS resources. resource_start can be set
to either automatic or deferred.
Serviceguard will start up resource monitoring for automatic resources
automatically when the Serviceguard cluster daemon starts up on the
node.
Serviceguard will not attempt to start deferred resource monitoring
during node startup, but will start monitoring these resources when the
package runs.
The following is an example of how to configure deferred and
automatic resources.
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/lan0
resource_polling_interval 60
resource_start automatic
resource_up_value = up
NOTE For a legacy package, specify the deferred resources again in the package
control script, using the DEFERRED_RESOURCE_NAME parameter:
DEFERRED_RESOURCE_NAME[0]="/net/interfaces/lan/status/lan0"
DEFERRED_RESOURCE_NAME[1]="/net/interfaces/lan/status/lan1"