Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

dependency_name SG-CFS-pkg_dep
dependency_condition SG-CFS-pkg=up
dependency_location same_node
5. Apply the newly created package configuration.
# cmapplyconf -v -P <cvm_dg_pkg_name>.conf
Configuring the storage device using SLVM
To create volume groups on the Source Disk Site:
NOTE: If you are using HP-UX 11i v3 March 2008 version or later, you can skip step 2;
vgcreate (1m) will create the device file for you.
1. Define the appropriate volume groups on each host system in the Source 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 entire cluster.
2. Create the volume group on the source volumes.
# pvcreate -f /dev/rdsk/cxtydz
# vgcreate /dev/<vg_name> /dev/dsk/cxtydz
3. Create the logical volume for the volume group.
# lvcreate -L XXXX /dev/<vg_name>
where XXXX indicates the size in MB.
4. Export the volume groups on the primary system without removing the special device files.
# vgchange -a n <vg_name>
# vgexport -s -p -m <map_file_name> <vg_name>
Ensure that you copy the mapfiles to all host systems.
5. On the nodes in the source disk site, import the volume group.
# vgimport -s -m <map_file_name> <vg_name>
6. On each node, ensure that the volume group to be shared is currently inactive on all the nodes.
# vgchange -a n /dev/<vg_name>
7. On the configuration node, make the volume group shareable by members of the source disk
site in the cluster.
# vgchange -S y -c y /dev/<vg_name>
This command must be run from the configuration node only, and the cluster must be running
on all the nodes for the command to succeed. Note that both the -S and the -c options are
specified. The -S y option makes the volume group shareable, and the -c y option causes
the cluster ID to be written out to all the disks in the volume group. In effect, this command
specifies the cluster to which a node must belong to get shared access to the volume group.
Configuring the complex workload stack at the Source Disk Site
Install and configure the complex workload on the nodes at the source disk site. Create Serviceguard
packages for the complex workload in the source disk site. This package must be configured to
run on the nodes in the source disk site.
The procedure to configure a complex workload stack at the source disk site differs, based on
CVM, CFS, and SLVM.
42 Configuring complex workloads using SADTA