Managing Serviceguard 12th Edition, March 2006

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6 285
To configure monitoring within the package for a registered resource,
enter values for the following parameters.
RESOURCE_NAME. Enter the name of a registered resource that is
to be monitored by Serviceguard.
RESOURCE_POLLING_INTERVAL. Enter the time between attempts
to assure that the resource is healthy.
RESOURCE_UP_VALUE. Enter the value or values that determine
when the resource is considered to be up. During monitoring, if a
different value is found for the resource, the package will fail.
RESOURCE_START. 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 does 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.
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