Managing Serviceguard Eighteenth Edition, September 2010

cmcheckconf -v -P $SGCONF/pkg1/pkg1.conf
Errors are displayed on the standard output. If necessary, re-edit the file to correct any
errors, then run cmcheckconf again until it completes without errors.
The following items are checked:
The package name is valid, and at least one node_name entry is included.
There are no duplicate parameter entries (except as permitted for multiple volume
groups, etc.)
Values for all parameters are within permitted ranges.
Configured resources are available on cluster nodes.
File systems and volume groups are valid (for a modular package, cmcheckconf
checks that volume groups are already configured into the cluster).
Services are executable.
Any package that this package depends on is already part of the cluster
configuration.
For more information, see the manpage for cmcheckconf (1m) and “Checking Cluster
Components” (page 337).
When cmcheckconf has completed without errors, apply the package configuration,
for example:
cmapplyconf -P $SGCONF/pkg1/pkg1.conf
This adds the package configuration information to the binary cluster configuration
file in the $SGCONF directory (normally /etc/cmcluster) and distributes it to all
the cluster nodes.
NOTE: For modular packages, you now need to distribute any external scripts
identified by the external_pre_script and external_script parameters.
But if you are accustomed to configuring legacy packages, note that you do not have to
create a separate package control script for a modular package, or distribute it manually.
(You do still have to do this for legacy packages; see “Configuring a Legacy Package”
(page 375).)
Adding the Package to the Cluster
You can add the new package to the cluster while the cluster is running, subject to the
value of MAX_CONFIGURED_PACKAGES in the cluster configuration file. See Adding
a Package to a Running Cluster” (page 388).
How Control Scripts Manage VxVM Disk Groups
VxVM disk groups (other than those managed by CVM) are outside the control of the
Serviceguard cluster. The package control script uses standard VxVM commands to
318 Configuring Packages and Their Services