Serviceguard NFS Toolkit A.11.11.06, A.11.23.05 and A.11.31.07 Administrator's Guide (September 2010)
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
Configuring Serviceguard NFS Legacy Package over CFS Packages
This section describes how to configure and start Serviceguard NFS toolkit packages in a
Serviceguard over CFS environment. It is assumed that you have already set up your Serviceguard
cluster, and have performed the steps listed in section “Before Creating a Serviceguard NFS
Legacy Package” (page 26) of this guide to configure the /etc/rc.config.d/nfsconf file,
start the NFS server, configure the disk hardware, and setup volume groups, logical volumes,
and file systems. It is assumed that you have set up CFS as documented in the Veritas Storage
Foundation Cluster File System Installation and Administration Guide, and that you have already
started the Serviceguard CFS multi-node packages.
In the example that follows, the CFS file systems are /cfs1 and /cfs2, and they correspond to
Serviceguard CFS multi-node packages SG-CFS-MP-1 and SG-CFS-MP-2. The cluster ASCII
configuration file is assumed to be /etc/cmcluster/cluster.conf. The cluster name is
cluster1 and there are two nodes, thyme and basil. If you run the cmviewcl command after
setting up the Serviceguard CFS packages, the output should show the following:
# cmviewcl
CLUSTER STATUS
cluster1 up
NODE STATUS STATE
thyme up running
NODE STATUS STATE
basil up running
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
SG-CFS-pkg up running enabled yes
SG-CFS-DG-1 up running enabled no
SG-CFS-MP-1 up running enabled no
SG-CFS-MP-2 up running enabled no
Configuring Serviceguard NFS Legacy Package over CFS Packages 37