Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00

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 the complex workload required storage 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 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 data replication must
first be split such that the target disk is in the Read/Write mode using pairsplit command.
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
Complete the following procedure 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.
40 Configuring complex workloads using SADTA