
SSH public key successfully set!
4.Repeat the steps from 2 to 3 for the other storage system.
5.Repeat the steps from 1 to 4 on all nodes in the cluster.
Defining Storage Units
Both LVM and VERITAS VxVM storage can be used in disaster tolerant clusters. The following sections show how to set up each type of volume group:
Creating and Exporting LVM Volume Groups
To create and export LVM volume groups:
NOTE: If you are using the March 2008 version or later of
Perform the following steps on the source disk site:
1.Define the appropriate Volume Groups on each host system that might run the application package
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0xnn0000
where the name /dev/vgname and the number nn are unique within the entire cluster.
2.Create the Volume Group on the source volumes.
#pvcreate
#vgcreate /dev/vgname /dev/disk/disk3
NOTE: From
3.Create the logical volumes for the volume group.
# lvcreate
where xxxx indicates size in MB.
4.Create the filesystem.
#newfs
5.Deactivate and export the Volume Groups on the primary system without removing the special device files.
#vgchange
#vgexport
Make sure that you copy the mapfiles to all of the host systems.
6.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
320 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy