Managing HP Serviceguard for Linux Ninth Edition, April 2009

is passed the parameter start; when it halts, it is
passed the parameter stop.)
LV The name of a logical volume hosting a file
system that will be mounted by the package.
FS The name of the mount point for a file system to
be mounted by the package.
VGCHANGE As vgchange_cmd (page 208).
Generating the Package Configuration File
When you have chosen the configuration modules your package needs (see “Choosing
Package Modules” (page 190)), you are ready to generate a package configuration file
that contains those modules. This file will consist of a base module (failover, multi-node
or system multi-node) plus the modules that contain the additional parameters you
have decided to include.
Before You Start
Before you start building a package, create a subdirectory for it in the $SGCONF
directory, for example:
mkdir $SGCONF/pkg1
(See “Understanding the Location of Serviceguard Files” (page 147) for information
about Serviceguard pathnames.)
cmmakepkg Examples
The cmmakepkg command generates a package configuration file. Some examples
follow; see the cmmakepkg (1m) manpage for complete information. All the examples
create an editable configuration file pkg1.conf in the $SGCONF/pkg1 directory.
214 Configuring Packages and Their Services