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

IMPORTANT: VERITAS CVM disk groups must be configured in a dedicated modular MNP
package using the cvm_dg attribute. This modular MNP package must be configured to have a
package dependency on the SG-CFS-pkg SMNP package.
Metrocluster SADTA does not support configuring Legacy style packages for managing VERITAS
CVM disk groups.
Configuring the Storage Device using SLVM
Complete the following procedure to import volume groups on the nodes in the target disk site:
1. Define the appropriate volume groups on each host system in the target disk site.
# mkdir /dev/<vg_name>
# mknod /dev/<vg_name> /group c 64 0xn0000
where the name /dev/<vg_name> and the number nn are unique within the cluster.
2. Export the volume groups on the source disk site without removing the special device files.
# vgchange -a n <vg_name>
# vgexport -s -p -m <map_file_name> <vg_name>
Ensure that the map files are copied to all the nodes in the target disk site.
3. On the target disk site, import the VGs on all systems that will run the Serviceguard complex
workload package.
# vgimport -s -m <map_file_name> <vg_name>
Configure the Identical Complex Workload Stack at the Recovery SIte
The complex workload must be packaged as Serviceguard MNP packages. This step creates the
complex workload stack at the target disk site that will be configured to be managed by the Site
Controller Package. For more information on configuring the complex workload stack, see the
section “Configuring the Complex Workload Stack at the Source Disk Site” (page 351).
Halting the Complex Workload on the Recovery Site
You must halt the complex workload stack on the recovery site so that it can be restarted at the
source disk site. Halt all the packages related to the complex workload using the cmhaltpkg
command. When using CVM or CFS, run the vxdg deport command to deport the disk groups
at the nodes in the replication target disk.
After halting the complex workload on the recovery site, you must re-synchronize the target disk
from the source disk for the replication that was split using the procedures listed in the section
“Preparing the Replicated Disk at the Target Disk Site” (page 352).
Configuring the Site Controller Package for the Complex Workload
The Site Controller Package and the Site Safety Latch for the disaster tolerant complex workload
are the final components to be configured. Site controller package can be created using the Package
Easy Deployment feature available in Serviceguard Manager version B.03.10. For more details,
see Using Easy Deployment in Serviceguard and Metrocluster Environments on HP-UX 11i v3
available at http://www.hp.com/go/ hpux-serviceguard-docs —> HP Serviceguard.
This section describes the procedure to configure the Site Controller Package in a Metrocluster
using command-line interface.
Configuring Complex Workloads using Site Aware Disaster Tolerant Architecture 355