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

1. Import the diskgroup:
# vxdg -stfC import <cvm_dg_name>
2. Create a package configuration file:
# cmmakepkg -m sg/cfs_all /etc/cmcluster/cfspkg1.ascii
3. Edit the following package parameters in the cfspkg1.ascii package configuration file:
node_name <node3>
node_name <node4>
package_name <siteB_cfs_pkg_name>
cvm_disk_group <cvm_dg_name>
cvm_activation_mode <cvm_mount_point>
cfs_volume <cvm_dg_name>/<cvm_dg_vol_name>
cfs_mount_options "node3=cluster node4=cluster"
cfs_primary_policy
Where node3 and node4 are the nodes at the recovery cluster.
Do not configure any mount specific attributes like cfs_mount_point and
cfs_mount_options if the storage deployment requires only CVM raw volumes.
4. Check the package configuration file:
# cmcheckconf -P cfspkg1.ascii
5. Apply the package configuration file:
# cmapplyconf -P cfspkg1.ascii
6. Run the package:
# cmrunpkg <siteB_cfs_pkg_name>
Configuring the Storage Device using CFS in a Legacy Style Package
NOTE: HP recommends you to use the modular style of packaging.
Complete the following procedure to import CVM disk groups on the nodes in the recovery cluster
and to create CFS disk group and mount point MNP packages:
1. From the CVM master node at the recovery cluster, import the disk groups used by the complex
workload.
# vxdg -stfC import <cvm_dg_name>
2. 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 that belong to the recovery cluster.
3. Activate the complex workload disk groups in the CFS sub-cluster.
# cfsdgadm activate <cvm_dg_name>
4. Create the mount point directories for the complex workload cluster file systems.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/<cvm_dg_name>
5. 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>
Support for Complex Workloads in a Continentalclusters Environment using SADTA 137