Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Cluster and Package Maintenance
Reconfiguring a Cluster
Chapter 7308
Using Serviceguard Commands to Change the LVM
Configuration While the Cluster is Running
Use the cmgetconf command to obtain a current copy of the cluster's
existing configuration. Example:
# cmgetconf -c clconfig.ascii
Edit the file clconfig.ascii to add or delete volume groups. Then use
the cmcheckconf command to verify the new configuration. Use the
cmapplyconf command to apply the changes to the configuration and
send the new configuration file to all cluster nodes.
Following is an example for adding two volume groups:
# cmcheckconf -C clconfig.ascii vgname1 vgname2
If there are a large number of volume groups, you can use a reference file
that lists all the volume groups. Example, using a reference file:
# cmcheckconf -C clconfig.ascii vgreferencefile
Following are examples of removing the volume groups that were added
in the preceding examples:
# cmcheckconf -C clconfig.ascii vgname1 -R vgname2
# cmcheckconf -C clconfig.ascii vgreferencefile
Use the cmapplyconf command to apply the changes to the configuration
and send the new configuration file to all cluster nodes. Syntax for the
options with cmapplyconf is the same as given for the cmcheckconf
command above.
NOTE If you are deleting from the cluster a volume group that is currently
activated by a package, the configuration will be changed but the
deletion will not take effect until the package is halted; thereafter, the
package will no longer be able to run without further modification, such
as removing the volume group from the package control script.
Changing the VxVM or CVM Storage Configuration
You can add VxVM disk groups to the cluster configuration while the
cluster is running. To add new CVM disk groups, the cluster must be
running.