Managing HP Serviceguard for Linux, Tenth Edition, September 2012

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.
vgchange_cmd
Replaces VGCHANGE, which is still supported for legacy packages; see “Configuring a
Legacy Package” (page 271). Specifies the method of activation for each Logical Volume
Manager (LVM) volume group identified by a vg entry.
The default is vgchange -a y.
vg
Specifies an LVM volume group (one per vg, each on a new line) on which a file system
(other than Red Hat GFS; see fs_type) needs to be mounted. A corresponding
vgchange_cmd (see above) specifies how the volume group is to be activated. The
package script generates the necessary filesystem commands on the basis of the fs_
parameters (see “File system parameters).
Choosing Package Modules 219