Managing HP Serviceguard A.11.20.20 for Linux, May 2013

enter values for service_fail_fast_enabled and service_halt_timeout if
you need to change them from their defaults.
service_restart if you want the package to restart the service if it exits. (A value of
unlimited can be useful if you want the service to execute in a loop, rather than exit
and halt the package.)
Include a service entry for disk monitoring if the package depends on monitored disks. Use
entries similar to the following:
service_name=cmresserviced_Pkg1
service_cmd=$SGBIN/cmresserviced /dev/sdd1
service_restart=””
See “Creating a Disk Monitor Configuration” (page 198) for more information.
To monitor a crucial resource as part of a package using generic resources, enter values for
the following parameters (page 184):
generic_resource_name to identify the generic resource in a package.
generic_resource_evaluation_type to define whether the status of the generic
resource must be evaluated during or before the package is started.
generic_resource_up_criteria to determine the status of a generic resource
based on the specified criterion.
See “Configuring a Generic Resource” (page 109) for more information.
If the package needs to activate LVM volume groups, configure vgchange_cmd, or leave the
default.
If the package needs to mount LVM volumes to file systems (other than Red Hat GFS; see
fs_type (page 188)), use the vg parameters to specify the names of the volume groups to be
activated, and select the appropriate vgchange_cmd.
Use the fs_ parameters (page 187) to specify the characteristics of file systems and how and
where to mount them. See the comments in the FILESYSTEMS section of the configuration
file for more information and examples.
Enter each volume group on a separate line, for example:
vg vg01
vg vg02
If your package mounts large number of file systems, consider increasing the values of the
following parameters:
concurrent_fsck_operations—specifies the number of parallel fsck operations
that will be allowed at package startup (not used for Red Hat GFS).
Red Hat GFS is not supported in Serviceguard A.11.20.00.
Specify the filesystem mount and unmount retry options. For Red Hat GFS (see fs_type
(page 188)), use the default (zero).
You can use the pev_ parameter to specify a variable to be passed to external scripts. Make
sure the variable name begins with the upper-case or lower-case letters pev and an underscore
( _). You can specify more than one variable. See About External Scripts” (page 127), and
the comments in the configuration file, for more information.
If you want the package to run an external pre-script” during startup and shutdown, use the
external_pre_script parameter (see (page 190)) to specify the full pathname of the script,
for example, $SGCONF/pkg1/pre_script1.
6.3 Editing the Configuration File 195