Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

# /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>
where node1 and node2 are the nodes in the Source Disk Site.
4. Activate the CVM disk group in the Source Disk Site 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. NOTE: Skip the following steps if you want to use the storage devices as raw CVM volumes.
To configure the storage devices using CFS:
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>
where node1 and node2 are the nodes in the Source Disk Site.
Configuring the storage device for complex workload at the target disk site using
CFS or SG SMS CVM
To import CVM disk groups on the nodes in the target disk site and to create CFS disk group and
mount point MNP packages:
1. From the CVM master node at the target disk site, 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\
<node 1><node 2>
where node1 and node2 are the nodes at the target disk site.
3. Activate the complex workload disk groups in the CFS sub-cluster.
# cfsdgadm activate <cvm_dg_name>
Configuring storage devices for complex workload 95