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

Complete the following procedure to configure a storage device using CFS:
1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i <replicated_disk_1>
# /etc/vx/bin/vxdisksetup -i <replicated_disk_2>
2. Create a disk group for the complex workload data.
# vxdg s init <cvm_dg_name> <replicated_disk_1>\
<replicated_disk_2>
3. Create Serviceguard Disk Group MNP packages for the disk groups with a unique name in
the cluster.
# cfsdgadm add <cvm_dg_name> <cvm_dg_pkg_name> all=sw\
<node1> <node2>
In this command, <node1> and <node2> are nodes in the primary cluster.
4. Activate the CVM disk group in the primary cluster CFS sub-cluster.
# cfsdgadm activate <cvm_dg_name>
5. Create a volume from the disk group.
# vxassist -g <cvm_dg_name> make <cvm_dg_vol_name> 4500m
6. Create a file system using the created volume.
# newfs -F vxfs \
/dev/vx/rdsk/<cvm_dg_name> / <cvm_dg_vol_name>
7. Create mount points for the complex workload data and set appropriate permissions.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/<cvm_dg_name>
8. Create the Mount Point MNP package with a unique name in the cluster.
# cfsmntadm add <cvm_dg_name> <cvm_dg_vol_name>\
/cfs/<cvm_dg_name> <cfs_mount_point_pkg_name> all=rw\
<node1> <node2>
In this command, <node1> and <node2> are nodes in the primary cluster.
Configuring the Storage Device using SG SMS CVM in a Legacy Style Package
NOTE: HP recommends you to use the modular style of packaging.
Complete the following procedure on the CVM cluster master node in the primary cluster to setup
the CVM disk group volumes:
1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i <replicated_disk_1>
# /etc/vx/bin/vxdisksetup -i <replicated_disk2>
2. Create a disk group for the complex workload data.
# vxdg s init <cvm_dg_name> <replicated_disk_1>\
<replicated_disk_2>
3. Create Serviceguard Disk Group MNP packages for the disk groups with a unique name in
the cluster.
# cfsdgadm add <cvm_dg_name> <cvm_dg_pkg_name> all=rw\
130 Designing Continentalclusters