NOTE: Operators other than the ones mentioned above are not supported. This attribute does not accept more than one up criterion. For e.g., >> 10, << 100 are not valid.

Though values ranging from 1 to 2147483647 can be entered with the above mentioned operators, the below four conditions are not allowed to be set:

<1, > 2147483647, >= 1 and <= 2147483647 This is because:

If you specify generic_resource_up_criteria < 1 or > 2147483647, for the status of a resource to be 'up' you cannot enter values to satisfy the up_criteria condition. Hence, the resource can never be 'up'.

Similarly, if you specify generic_resource_up_criteria >= 1 or <= 2147483647, the status will always be 'up' as the criteria is always met. You cannot enter values to dissatisfy the up_criteria to bring the resource status to 'down'.

generic_resource_up_criteria is an optional attribute. It determines whether a given generic resource is a simple generic resource or an extended generic resource.

It is not specified for a simple resource, but is required for an extended resource.

A single package can contain both simple and extended resources.

A given resource cannot be configured as a simple generic resource in one package and as an extended generic resource in another package. It has to be either simple or extended in all packages.

A single package can have a combination of generic resources of evaluation type before_package_start and during_package_start.

See “Using the Generic Resources Monitoring Service” (page 57) for more information.

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 136) for more information and example.

resource_polling_interval

How often, in seconds, the resource identified by resource_name (page 246) 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.

246 Configuring Packages and Their Services

Page 246
Image 246
HP Serviceguard manual Resourcename, Name of a resource to be monitored, Resourcepollinginterval, Resourcestart