Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

IMPORTANT: VERITAS CVM disk groups must be configured in a dedicated modular multi-node
package using the cvm_dg attribute. This modular MNP package must be configured to have a
package dependency on the SG-CFS-pkg system multi-node package.
Metrocluster SADTA does not support configuring Legacy style packages for managing VERITAS
CVM disk groups.
Configuring the storage device using SLVM
To import volume groups on the nodes in the target disk site:
NOTE: If you are using the March 2008 version or later of HP-UX 11i v3, skip step 1; vgimport
(1m) will create the device file.
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 0xnn0000
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 mapfiles 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 33).
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 of the complex workload using the cmhaltpkg command.
When you use 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, login to the source disk site's 3PAR storage
system and reverse the direction of replication to bring it back to its original direction.
cli% setrcopygroup reverse <rc_volume_group_name>
cli% startrcopygroup <rc_volume_group_name>
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.
Configuring Site Controller package using command line interface
This section describes the procedure to configure the Site Controller package in a Metrocluster
using command-line interface. The procedure consists of three steps:
Configuring the Site Controller package for the complex workload 35