Managing Serviceguard Nineteenth Edition, Reprinted June 2011
NOTE: You can add more than one module at a time.
Next Step
The next step is to edit the configuration file you have generated; see “Editing the Configuration
File” (page 242).
Editing the Configuration File
When you have generated the configuration file that contains the modules your package needs
(see “Generating the Package Configuration File” (page 241)), 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.
Create SG-CFS-pkg by means of the cmapplyconf command. Create and modify
SG-CFS-DG-id# and SG-CFS-MP-id# using cfs* commands.
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”
(page 245).
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 ” (page 308).
Use the following bullet points as a checklist, referring to the “Package Parameter Explanations”
(page 222), 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
the surrounding comments in the file, and the explanations in this chapter, to make sure you
understand the implications both of accepting and of changing a given default.
In all cases, be careful to uncomment each parameter you intend to use and assign it the value
you want it to have.
• package_name. Enter a unique name for this package. Note that there are stricter formal
requirements for the name as of A.11.18.
• package_type. Enter failover, multi_node, or system_multi_node.
(system_multi_node is reserved for special-purpose packages supplied by HP.) Note that
there are restrictions if another package depends on this package; see “About Package
Dependencies” (page 128).
See “Types of Package: Failover, Multi-Node, System Multi-Node” (page 217) for more
information.
• node_name. Enter the name of each cluster node on which this package can run, with a
separate entry on a separate line for each node.
242 Configuring Packages and Their Services