Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Configuring Packages and Their Services
Generating the Package Configuration File
Chapter 6218
To generate a configuration file that contains all the optional
modules:
cmmakepkg $SGCONF/pkg1/pkg1.conf
To create a generic failover package (that could be applied without
editing):
cmmakepkg -n pkg1 -m sg/failover $SGCONF/pkg1/pkg1.conf
To generate a configuration file for a failover package that uses
relocatable IP addresses and runs an application that requires file
systems to be mounted at run time (enter the command all on one
line):
cmmakepkg -m sg/failover -m sg/package_ip -m sg/service
-m sg/filesystem -m sg/volume_group
$SGCONF/pkg1/pkg1.conf
To generate a configuration file for a failover package that runs an
application that requires another package to be up (enter the
command all on one line):
cmmakepkg -m sg/failover -m sg/dependency -m sg/service
$SGCONF/pkg1/pkg1.conf
Next Step
The next step is to edit the configuration file you have generated; see
“Editing the Configuration File” on page 219.