Managing Serviceguard 13th Edition, February 2007

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6 261
the dependent application package loses access and cannot read and
write to the disk, it will fail; however that will not cause the DG or MP
multi-node package to fail.
NOTE Do not create or edit ASCII configuration files for the Serviceguard
supplied packages VxVM-CVM-pkg, SG-CFS-pkg, SG-CFS-DG-id#, or
SG-CFS-MP-id#. Create VxVM-CVM-pkg and SG-CFS-pkg by issuing the
cmapplyconf command. Create and modify SG-CFS-DG-id# and
SG-CFS-MP-id# using the cfs* commands listed in Appendix A.
With a multi-node package, if you set AUTO_RUN to YES, then an
instance can start on a new node joining the cluster. Otherwise, it will
not.
Configuring Failover Packages
Use the following procedure to create failover packages by editing and
processing a package configuration file.
1. First, create a subdirectory for each package you are configuring in
the /etc/cmcluster directory:
# mkdir /etc/cmcluster/pkg1
You can use any directory names you wish.
2. Next, generate a package configuration template for the package:
# cmmakepkg -p /etc/cmcluster/pkg1/pkg1.config
You can use any file names you wish for the ASCII templates.
3. Edit these template files to specify package name, prioritized list of
nodes (with 31 bytes or less in the name), the location of the control
script, and failover parameters for each package. Include the data
recorded on the Package Configuration Worksheet.
Configuring a Failover Package in Stages
It is recommended you configure failover packages in stages, as follows:
1. Configure volume groups and mount points only.