Installing and Configuring MC/ServiceGuard NFS

Configuring an MC/ServiceGuard NFS Package

Creating the Cluster Configuration File and Bringing Up the Cluster

To create the cluster configuration file, verify the cluster and package configuration files, and run the cluster, perform the following steps:

1.Use the cmquerycl command in the following manner to create the cluster configuration file from your package configuration files. You must run this command on all nodes in the cluster:

cmquerycl -v -C /etc/cmcluster/nfs/cluster.conf -n basil -n sage -n thyme

2.Set the FIRST_CLUSTER_LOCK_VG and

MAX_CONFIGURED_PACKAGES variables in the cluster.conf script on each node.

3.Verify the cluster and package configuration files on each node using the following command:

cmcheckconf -k -v -C /etc/cmcluster/nfs/cluster.conf -P /etc/cmcluster/nfs/nfs1.conf -P /etc/cmcluster/nfs/nfs2.conf ...

4.Activate the cluster lock volume group (corresponding to the

FIRST_CLUSTER_LOCK_VG value) on one node using the following command:

vgchange -a y /dev/vg_nfsu01

5.Verify and apply the cluster and package configuration files using the following command:

cmapplyconf -v -C /etc/cmcluster/nfs/cluster.conf -P /etc/cmcluster/nfs/nfs1.conf -P /etc/cmcluster/nfs/nfs2.conf ...

6.Deactivate the cluster lock volume group using the following command:

vgchange -a n /dev/vg_nfsu01

7.Run the cluster using the following command: cmruncl -v-f

Chapter 2

51

Page 51
Image 51
HP Serviceguard Toolkit for NFS manual Run the cluster using the following command cmruncl -v-f