Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Configuring Packages and Their Services
Editing the Configuration File
Chapter 6 219
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 217), you need to edit the file to set the package parameters
to the values that will make the package function as you intend.
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 225.
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 284.
When you start editing the file, you should have your filled-out
package-configuration worksheet in hand; see “Package Configuration
File Parameters” on page 127.
Use the following bullet points as a checklist, referring to the “Package
Parameter Explanations” on page 201, and the comments in the
configuration file itself, for detailed specifications for each parameter.
NOTE Optional parameters are commented out in the configuration file (with a
# at the beginning of the line). In some cases these parameters have
default values that will take effect unless you uncomment the parameter
(remove the #) and enter a valid value different from the default. Read