4.Create the volume group:

vgcreate /dev/ccvg /dev/c0t10d0

5.Activate the volume group: vgchange -a y ccvg

6.Create the logical volume: lvcreate -L 250M ccvg

Run the following command to create a file system on the volume:

mkfs vxfs /dev/ccvg/lvol1

Complete the following procedure to export the volume group configuration and import the volume group on all the nodes at the recovery cluster:

1.On the node where you created the volume, deactivate the volume group and export the VG configuration in preview mode to a file:

vgchange -a n ccvg

vgexport -m /tmp/ccvg.map -p ccvg

2.Copy the file to all the nodes:

rcp /tmp/ccvg.map node1:/tmp

3.On each node, create the volume group directory and the group special file: mkdir /dev/ccvg

mknod /dev/ccvg/group c 64 0x060000

4.Import the volume group from the map file: vgimport -m /tmp/ccvg.map-v

Configuring a Monitor Package for the Maintenance Feature

Configure the Continentalclusters monitor package using the template scripts available in the /opt/ cmconcl/scripts/ directory:

1.Create the /etc/cmcluster/ccmonpkg directory on all nodes in the recovery cluster.

2.On any node in the recovery cluster, copy the package configuration and control file template from the /opt/cmconcl/scripts directory to the /etc/cmcluster directory:

cp /opt/cmconcl/scripts/ccmonpkg.*

3.In the ccmonpkg.cntl monitor package control file, specify the volume group for the VG parameter in the VOLUME GROUPS section:

VG[0]="ccvg"

4.In the ccmonpkg.cntl monitor package control file, specify a file system path and the logical volume name under the FILE SYSTEM section. The file system path should be the value configured for the CONTINENTAL_CLUSTER_STATE_DIR parameter in the Continentalclusters configuration file. This path should be created and reserved on all nodes in the Continentalcluster.

LV[0]=/dev/ccvg/lvol1;

FS[0]=/opt/cmconcl/statedir; FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"

5.Distribute the monitor package control file to all nodes in the recovery cluster.

6.Apply the monitor package configuration.

64 Designing Continentalclusters