Managing HP Serviceguard A.11.20.20 for Linux, March 2014

NOTE: Operators other than the ones mentioned above are not supported. This attribute does
not accept more than one up criterion. For example, >> 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 must 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.
6.1.4.35 vgchange_cmd
Replaces VGCHANGE, which is still supported for legacy packages; see “Configuring a Legacy
Package” (page 233). Specifies the method of activation for each Logical Volume Manager (LVM)
volume group identified by a vg entry.
The default is vgchange -a y.
6.1.4.36 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
).
6.1.4.37 File system parameters
A package can activate one or more storage groups on startup, and to mount logical volumes to
file systems. At halt time, the package script unmounts the file systems and deactivates each storage
group. All storage groups must be accessible on each target node.
For each file system (fs_name) you specify in the package configuration file, you must identify a
logical volume, the mount point, the mount, umount and fsck options, and the type of the file
system; for example:
fs_name /dev/vg01/lvol1
fs_directory /pkg01aa
fs_mount_opt "-o rw"
fs_umount_opt ""
186 Configuring Packages and Their Services