Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

Preparing the replicated disk at the target disk site
In the earlier procedures, the complex workload was created at the site with the source disk of the
replication disk group. Now, an identical complex workload using the target replicated disk must
be configured with the complex workload stack at the target disk site.
Before creating an identical complex workload at the target disk site, the target disk must be in
the Read/Write mode. To do this, login to the target disk site's 3PAR storage system. Stop the
Remote Copy volume group and reverse the direction of replication:
cli% setrcopygroup reverse -stopgroups <rc_volume_group_name>
Configuring the storage device for complex workload at the target disk site
The replicated disks used by the complex workload must be configured at the target disk site. The
procedure to configure the storage device depends on whether CFS, CVM, or SLVM is used.
Configuring the storage device using CFS or SG SMS CVM
Do the following on the CVM cluster master node in the target disk site:
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 "node3=sw node4=sw"
cfs_mount_point <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 target disk site.
Do not configure any mount specific attributes like cfs_mount_point, cfs_mount_options
if SG SMS CVM is configured as 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 VERITAS CVM
To import CVM disk groups on the nodes in the target disk site and to create Serviceguard CVM
disk group package:
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 modular MNP packages for the CVM disk group.
34 Configuring complex workloads using SADTA