Managing Serviceguard 14th Edition, June 2007
Configuring Packages and Their Services
Editing the Configuration File
Chapter 6 301
Editing the Configuration File
When you have generated the configuration file that contains the
modules your package needs (see “Generating the Package Configuration
File” on page 299), you need to edit the file to set the package parameters
to the values that will make the package function as you intend.
IMPORTANT Do not edit the package configuration file of a Veritas Cluster Volume
Manager (CVM) or Cluster File System (CFS) multi-node or system
multi-node package.
On systems that support CVM and CFS, create VxVM-CVM-pkg or
SG-CFS-pkg by means of the cmapplyconf command. Create and modify
SG-CFS-DG-id# and SG-CFS-MP-id# using the cfs commands listed in
Appendix A, “Serviceguard Commands,” on page 419.
It is a good idea to configure complex failover packages in stages, as
follows:
1. Configure volume groups and mount points only.
2. Check and apply the configuration; see “Verifying and Applying the
Package Configuration” on page 308.
3. Run the package and ensure that it can be moved from node to node.
NOTE cmcheckconf and cmapplyconf check for missing mount points,
volume groups, etc.
4. Halt the package.
5. Configure package IP addresses and application services.
6. Run the package and ensure that applications run as expected and
that the package fails over correctly when services are disrupted. See
“Testing the Package Manager” on page 386.
When you start editing the file, you should have your filled-out
package-configuration worksheet in hand; see “Package Configuration
File Parameters” on page 183.