Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

complex workload will not run until its dependent CFS mount point MNP package is up, and will
halt before the CFS mount point MNP package is halted.
Set up the following dependency conditions in the Serviceguard package configuration file:
DEPENDENCY_NAME <cfs_mp_pkg_name_dep>
DEPENDENCY_CONDITION <cfs_mp_pkg_name>=UP
DEPENDENCY_LOCATION SAME_NODE
Configuring Complex Workload Packages to Use SG SMS CVM or Veritas CVM
When the complex workload required storage is configured on CVM disk groups, the complex
workload package must be configured to depend on the CVM disk group multi-node package
through package dependency. With package dependency, the Serviceguard package that starts
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 control script for Legacy style packages and in the package configuration file for Modular
style packages.
As an example, let us consider a Legacy complex workload package. Modify the package control
script to activate the volume group in shared mode and set VG in the package control script for
SLVM volume groups.
VG[0]=<vg_name>
VGCHANGE="vgchange -a s
Halting the Complex Workload at the Source Disk Site
After creating the complex workload database on the source disk site, you must halt it to replicate
it on the target disk site. You need to first halt the complex workload stack on the node in the source
disk site. When using CVM or CFS, run the vxdg deport command to deport the disk groups
at the nodes in the replication source disk.
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. A complex workload stack was also created at the site. Now, an identical
complex workload using the target replicated disk must be configured with the complex workload
stack at the target disk site.
Prior to 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. The procedure to split the replication
depends on the type of arrays that are configured in the environment. Based on the arrays in your
352 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture