Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

Configuring complex workload packages to use SG SMS CVM or Veritas CVM
When a storage used by complex workload is CVM disk groups, the complex workload packages
must be configured to depend on the CVM disk group multi-node package. With this package
dependency, the complex workload will not run until its dependent CVM disk group multi-node
package is up, and will halt before the CVM disk group multi-node package is halted.
Set up the following dependency conditions in the Serviceguard package configuration file:
DEPENDENCY_NAME <cvm_dg_pkg_name_dep>
DEPENDENCY_CONDITION <cvm_dg_pkg_name>=UP
DEPENDENCY_LOCATION SAME_NODE
Configuring complex workload packages to use SLVM
When a storage used by complex workload is configured on SLVM volume groups, the complex
workload package must be configured to activate and deactivate the required storage in the
package configuration file.
For example, modify the package configuration file to activate the volume group in shared mode
and set vg in the for SLVM volume groups.
vg <vg_name>
vgchange_cmd "vgchange -a s
Halting the complex workload at the Source Disk Site
To create an identical complex workload at the target disk site, you must first halt the complex
workload at the source disk site.
For example,
1. Halt the complex workload stack on the replication source disk site node using cmhaltpkg
command.
2. When using CFS or CVM, deport the disk groups at the replication source disk site nodes.
# vxdg deport <cvm_dg_name>
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, split the replication links.
# symrdf -g <device_group> split -v
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
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>
Setting up the complex workload redundantly in Metrocluster 43