Disaster recovery rehearsal in Continentalclusters
10
6. Use the following procedure to import volume groups on the remaining nodes of Houston cluster
(i.e, HOUnode2):
#mkdir /dev/vgcc
#mknod /dev/vgcc/group c 64 0xnn0000
7. Import the volume group vgcc:
#vgimport –s -m mapfile /dev/vgcc
Configure the monitor package with the shared disk
On each cluster set up with the monitor package, reconfigure the monitor package to activate the
volume group configured with the shared disk in exclusive mode and mount the Continentalclusters
state filesystem directory that was created on the shared disk.
It is assumed that the monitor package ccmonpkg is already configured and running on HOUnode1
and that its package control file ccmonpkg.cntl is located at /etc/cmcluster/ccmonpkg.
Note: Starting with Continentalclusters version A.08.00, packages in Continentalclusters can be configured as modular
packages. HP recommends configuring the monitor package as a modular package.
When using modular style monitor package, use the following steps to reconfigure the
monitor package.
1. Obtain the package configuration for the monitor package using cmgetconf –p ccmonpkg.
2. Provide the name of the volume group used for state directory as a value to the parameter “vg”.
For example, vg = “vgcc”.
3. Provide the name of the logical volume used for the state directory as a value to the parameter
“fs_name”. For example, fs_name = “/dev/vgcc/lvol1”.
4. Provide the absolute path of the state directory as the value for the parameter “fs_directory”.
For example, fs_directory = “/opt/cmconcl/statedir”.
5. Provide the type of the file system used for the state directory as the value for the parameter
“fs_type”. For example, fs_type = “vxfs”.
6. Provide proper values for the parameters fs_mount_opt, fs_umount_opt and fs_fsck_opt.
For example, fs_mount_opt = “-o rw”.
When using legacy style monitor package, use the following steps on HOUnode1 to re-configure the
monitor package:
1. Edit the Monitor package control file /etc/cmcluster/ccmonpkg/ccmonpkg.cntl, and under the
section VOLUME GROUPS configure the volume group as follows:
VG[0]=“vgcc” and verify that the statement VGCHANGE="vgchange -a e" is uncommented.
2. Edit the Monitor package control file, and under the section FILE SYSTEM configure the file system
path and logical volume name, as follows:
LV[0]=/dev/vgcc/lvol1; FS[0]=/opt/cmconcl/statedir; FS_MOUNT_OPT[0]="-o rw";
FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
3. Distribute the monitor package control file to all nodes in the recovery cluster.
4. Halt the ccmonpkg running on HOUnode1 and apply the monitor package configuration.