
IMPORTANT: From
•LVM Migration from Legacy to Agile Naming Model
•
•Serviceguard Migration
•LVM Online Disk Replacement
Importing Volume Groups on Nodes at the Same Site
Use the following procedure to import volume groups on cluster nodes located at the same site as the EVA on which you are doing the Logical Volume Manager configuration. The sample script mk2imports can be modified to automate these steps.
NOTE: Before running vgimport, it is necessary to create the directory under the /dev directory and create the group file.
1.Define the Volume Groups on all nodes at the same site that will run the Serviceguard package.
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0xnn0000
2.Import the Volume Groups on all nodes at the same site that will run the Serviceguard packages.
#vgimport
NOTE: Use the vgimport
3.Activate the Volume Groups and back up the configuration.
#vgchange
#vgcfgbackup /dev/vgname
See the sample script Samples/mk2imports.
4.
# vgchange
NOTE: Exclusive activation must be used for all volume groups associated with packages that use EVA. The design of Metrocluster Continuous Access EVA assumes that only one node in the cluster will have a Volume Group activated at a time.
Importing Volume Groups on Nodes at the Remote Site
Use the following procedure to import volume groups on all cluster nodes located at the site of the remote EVA. The sample script mk2imports can be modified to automate these steps.
1.Define the Volume Groups on all nodes at the remote site that will run the Serviceguard package.
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0xnn0000
2.Import the Volume Groups on all nodes at the remote site that will run the Serviceguard packages.
#vgimport
230 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA