#vgcreate /dev/vgname /dev/dsk/cxtydz
3.Create the logical volume(s) for the volume group.
4.Deactivate and export the Volume Groups on the primary system without removing the special device files.
#vgchange
Make sure that you copy the mapfiles to all of the host systems.
#vgexport
5.On the source disk site import the VGs on all of the other systems that might run the Serviceguard package and backup the LVM configuration.
#vgimport
#vgchange
#vgcfgbackup <vgname>
#vgchange
6.On the target disk site import the VGs on all of the systems that might run the Serviceguard recovery package and backup the LVM configuration.
#pairsplit
#vgimport
#vgchange
#vgcfgbackup <vgname>
#vgchange
#pairresync
It may be possible to skip the pairsplit/pairresync,. However, the vgimport command may take longer to complete and this will not activate the volume group to perform the vgcfgbackup. Perform the vgcfgbackup when the volume group is activated during the first recovery package activation.
When using the pairresync command to resynchronize PVOL/SVOL Continuous Access pairs, specify the
From
•LVM Migration from Legacy to Agile Naming Model
•
•Serviceguard Migration
•LVM Online Disk Replacement
Creating VxVM Disk Groups using Continuous Access P9000 or XP
If using VERITAS storage, use the following procedure to create disk groups. It is assumed a VERITAS root disk (rootdg) has already been created on the system where configuring the storage. The following section shows how to set up VERITAS disk groups. On one node do the following:
1.Create the device pair to be used by the package.
#paircreate
2.Check to make sure the devices are in the PAIR state.
#pairdisplay
Preparing the Cluster for Data Replication 177