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>

Make sure that you copy the mapfiles to all host systems.

#vgexport -s -p -m <map_file_name> <vg_name>

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 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 is issued from the configuration node only, and the cluster must be running on all nodes for the command to succeed. Note that both the -Sand the -coptions 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 in order to obtain shared access to the volume group.

Configuring the Complex Workload Stack at the Source Disk Site

Install and configure the complex workload on 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.

Following are the topics discussed in this section:

“Configuring Complex Workload Packages to Use CFS in Legacy Style Package” (page 351)

“Configuring Complex Workload Packages to Use SG SMS CVM or Veritas CVM” (page 352)

“Configuring Complex Workload Packages to use SLVM” (page 352)

Configuring Complex Workload Packages to Use CFS in Legacy Style Package

NOTE: HP recommends you to use the modular style of packaging.

When the complex workload required storage is configured on a Cluster File System (CFS), the complex workload package must be configured to depend on the CFS mount point MNP package through package dependency. With package dependency, the Serviceguard package that starts

Configuring Complex Workloads using Site Aware Disaster Tolerant Architecture 351