Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA A.05.01

Configuring complex workload packages to use SG SMS CVM or Veritas CVM
When the 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 which requires the 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.
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, failover the DR Group to the target P6000/EVA using Command
View Server.
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
To configure 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:
Setting up the complex workload redundantly in Metrocluster 39