Managing Serviceguard 12th Edition, March 2006
Cluster and Package Maintenance
Reconfiguring a Cluster
Chapter 7 347
Using Serviceguard Manager to Change the LVM Configuration
While the Cluster is Running
Select the cluster on the tree or map. Choose Configuring Serviceguard
from the Actions menu. (You need root permission on the cluster.) On the
Logical Volumes tab highlight the node to add or remove, and click Add
or Delete. Then click Apply. After Refresh, check the cluster’s Properties
to confirm the change.
You
cannot
change the cluster lock volume group or physical volume
configuration while the cluster is running.
NOTE If you are removing a volume group from the cluster configuration, make
sure that you also modify or delete any package control script that
activates and deactivates this volume group. In addition, you should use
the LVM vgexport command on the removed volume group from each
node that will no longer be using the volume group.
Using Serviceguard Commands to Change the LVM
Configuration While the Cluster is Running
From the LVM’s cluster, follow these steps:
1. Use the cmgetconf command to store a copy of the cluster's existing
cluster configuration in a temporary file. For example: cmgetconf
clconfig.ascii
2. Edit the file clconfig.ascii to add or delete volume groups.
3. Use the cmcheckconf command to verify the new configuration.
4. Use the cmapplyconf command to apply the changes to the
configuration and send the new configuration file to all cluster nodes.
NOTE If the volume group that you are deleting from the cluster 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.