Using Serviceguard Extension for RAC, 2nd Edition, February 2005 Update

Table Of Contents
Maintenance and Troubleshooting
Managing the Shared Storage
Chapter 3 85
The above example marks the volume group as non-shared and not
associated with a cluster.
Activating an LVM Volume Group in Shared Mode
Activation and deactivation of shared volume groups is normally done
through a control script. If you need to perform activation from the
command line, you can issue the following command from each node to
activate the volume group in shared mode. (The node on which you first
enter the command becomes the server node.)
# vgchange -a s -p /dev/vg_ops
The following message is displayed:
Activated volume group in shared mode.
This node is the Server.
When the same command is entered on the second node, the following
message is displayed:
Activated volume group in shared mode.
This node is a Client.
NOTE Do not share volume groups that are not part of the RAC configuration.
Deactivating a Shared Volume Group
Issue the following command from each node to deactivate the shared
volume group:
# vgchange -a n /dev/vg_ops
Remember that volume groups remain shareable even when nodes enter
and leave the cluster.
NOTE If you wish to change the capacity of a volume group at a later time, you
must deactivate and unshare the volume group first. If you add disks,
you must specify the appropriate physical volume group name and make
sure the /etc/lvmpvg file is correctly updated on both nodes.