Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Configuring Packages and Their Services
Editing the Configuration File
Chapter 6234
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” on page 239 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 on page 225), 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 (see page 224) 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: