
8.Use the vgexport command with the
# vgexport
Make sure that you copy the map files to all of the nodes. The sample script Samples/ftpit shows a
9.
# vgchange
Configuring Volume Groups using PVLinks
Use the following steps to create volume groups for source volumes using PVLinks and export them for access by other nodes.
NOTE: Create volume groups only for source storage on a locally connected EVA unit. To create volume groups for source volumes on EVA unit located at the remote site, it is necessary to log onto a node located at that site before configuring the volume groups.
1.Define the appropriate Volume Groups on each node that run the application package with the following commands:
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0xnn0000
where the name /dev/vgname and the number nn are unique within the cluster.
2.Create the Volume Groups on the source volume, which uses PVLink for path failover. All the special device files names associated for the vdisk as identified in the section “Identifying Special Device Files for PVLinks Configuration”.
The following commands are an example of how VG using Pvlink is created for the vdisk identified by WWN
#pvcreate
#vgcreate /dev/vgname /dev/dsk/c16t0d1
#vgextend /dev/vgname /dev/dsk/c17t0d1
#vgextend /dev/vgname /dev/dsk/c18t0d1
#vgextend /dev/vgname /dev/dsk/c20t0d1
#vgextend /dev/vgname /dev/dsk/c12t0d1
#vgextend /dev/vgname /dev/dsk/c13t0d1
#vgextend /dev/vgname /dev/dsk/c14t0d1
#vgextend /dev/vgname /dev/dsk/c15t0d1
3.
#vgchange
4.Start the cluster and configure the Volume Groups.
#cmruncl (if cluster is not already up and running)
#vgchange
5.Test the Volume Groups activation with exclusive option.
#vgchange
6.Create a
#vgcfgbackup /dev/vgname
7.Use the vgexport command with
#vgexport
228 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA