Managing HP Serviceguard A.11.20.20 for Linux, May 2013

To generate a configuration file adding the Persistent Reservation module to an existing
package:
cmmakepkg -i $SGCONF/pkg1/pkg1.conf -m sg/pr_cntl
To create a serviceguard-xdc package in serviceguard-xdc environment:
cmmakepkg -m sg/all -m xdc/xdc pkg_xdc.conf
cmcheckconf -P pkg_xdc.conf
cmapplyconf -P pkg_xdc.conf
6.2.3 Next Step
The next step is to edit the configuration file you have generated; see “Editing the Configuration
File” (page 193).
6.3 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 191)), 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
(page 196).
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 249).
Use the following bullet points as a checklist, referring to the “Package Parameter Explanations
(page 174), 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 or 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 112).
See Types of Package: Failover, Multi-Node, System Multi-Node” (page 170) for more
information.
6.3 Editing the Configuration File 193