Managing Serviceguard Sixteenth Edition, March 2009

resource_name
The name of a resource to be monitored.
resource_name, in conjunction with resource_polling_interval, resource_start and
resource_up_value, defines an Event Monitoring Service (EMS) dependency.
In legacy packages, RESOURCE_NAME in the package configuration file requires a
corresponding DEFERRED_RESOURCE_NAME in the package control script.
You can find a list of resources in Serviceguard Manager (Configuration -> Create
Package -> Monitored Resources -> Available EMS resources), or in
the documentation supplied with the resource monitor.
A maximum of 60 EMS resources can be defined per cluster. Note also the limit on
resource_up_value (see below).
The maximum length of the resource_name string is 1024 characters.
See “Parameters for Configuring EMS Resources” (page 165) for more information and
example.
resource_polling_interval
How often, in seconds, the resource identified by resource_name (page 276) is to be
monitored. Default is 60 seconds. The minimum value is 1. (There is no practical
maximum.)
resource_start
Specifies when Serviceguard will begin monitoring the resource identified by
resource_name. Valid values are automatic and deferred.
automatic means Serviceguard will begin monitoring the resource as soon as the
node joins the cluster.deferred means Serviceguard will begin monitoring the resource
when the package starts.
resource_up_value
Defines a criterion used to determine whether the resource identified by resource_name
is up.
Requires an operator and a value. Values can be string or numeric. The legal operators
are =, !=, >, <, >=, or<=, depending on the type of value. If the type is string, then only
= and != are valid. If the string contains white space, it must be enclosed in quotes.
String values are case-sensitive.
The maximum length of the entire resource_up_value string is 1024 characters.
You can configure a total of 15 resource_up_values per package. For example, if there is
only one resource (resource_name) in the package, then a maximum of 15
resource_up_values can be defined. If two resource_names are defined and one of them
has 10 resource_up_values, then the other resource_name can have only 5
resource_up_values.
276 Configuring Packages and Their Services