Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

# vgexport -s -p -m <mapfilename><vgname>
Make sure to copy the mapfiles to all of the three data centers nodes.
6. Import the LVM volume groups on all of the other nodes in DC1, DC2, and DC3 and backup
the LVM configuration.
NOTE: If you are using the March 2008 version or later of HP-UX 11i v3, you can skip the
mkdir and mknod commands; vgcreate (1m) will create the device file for you.
# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0xnn0000
# vgimport -s -m <mapfilename> <vgname>
# vgchange -a y <vgname>
# vgcfgbackup <vgname>
# vgchange -a n <vgname>
VxVM Configuration
Use the following procedure to create disk groups for VERITAS storage. The VxVM root disk group
(rootdg) may need to be created depending on the VxVM version. If rootdg is required, make sure
it has already been created on the system while configuring the storage.
On one node in the primary data center (DC1) do the following:
1. Initialize disks to be used with VxVM by running the vxdisksetup command only on one
node.
# /opt/VRTS/bin/vxdisksetup -i c5t0d0
2. Create the disk group to be used with the vxdg command only on one node.
# vxdg init logdata c5t0d0
3. Verify the configuration.
# vxprint -g logdata
4. Use the vxassist command to create logical volumes.
# vxassist -g logdata make logfile 2048m
5. Verify the configuration.
# vxprint -g logdata
6. Make the filesystem.
# newfs -F vxfs /dev/vx/rdsk/logdata/logfile
7. Create a directory to mount the volume group.
# mkdir /logs
8. Mount the volume group.
# mount /dev/vx/dsk/logdata/logfile /logs
9. Check if file system exits, then unmount the file system.
# umount /logs
10. Deport the disk group on the primary node.
# vxdg deport logdata
Installing and configuring the application at the primary cluster
An application must be installed and configured at both the sites in the primary cluster. The
application must be configured at the hot-standby site (DC2) nodes using the replicated disks at
DC2.
Configuring an P9000 or XP 3DC DR Solution 441