Managing HP Serviceguard for Linux Ninth Edition, April 2009

For each service the package will run:
enter the service_name (for example, a daemon or long-running process)
enter the service_cmd (for example, the command that starts the process)
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 220) 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 210)), 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 210) 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 uses a large number of volume groups or disk groups, or mounts
a 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).
concurrent_mount_and_umount_operations—specifies the number of parallel
mount operations allowed during package startup and unmount operations
during package shutdown.
Specify the filesystem mount and unmount retry options. For Red Hat GFS (see
fs_type (page 210)), 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 137), and the comments in the configuration file, for more information.
218 Configuring Packages and Their Services