Managing MC/ServiceGuard NFS for Linux, December 2001

Installing and Configuring MC/ServiceGuard NFS for Linux
Configuring a MC/ServiceGuard NFS Package
Chapter 2 27
Editing the Package Control Scripts (pkg.cntl)
The following steps describe the required modifications to the Package
Control Scripts. Make one Package Control Script for each package.
1. Specify the configuration file that will be used to define the MD raid
devices for each package. For example:
RAIDTAB=”/usr/local/cmcluster/conf/raidtab.sg”
2. Specify which MD devices are used by this package. For example:
MD[0]=/dev/md0
MD[1]=/dev/md1
The MD devices are defined in the RAIDTAB file specified in Step 1.
3. Create a separate VG[n] variable for each volume group. For
example:
VG[0]=vg01
VG[1]=vg02
4. Create a separate LV[n], FS[n], FS_TYPE[n], and
FS_MOUNT_OPT[n] variable for each volume group and file system
that will be mounted on the server. For example:
LV[0]=/dev/vg01/lvol1;FS[0]=/ha_root;
FS_TYPE[0]=ext2;FS_MOUNT_OPT[0]=-o rw
LV[1]=/dev/vg01/lvol2;FS[1]=/users/scaf;
FS_TYPE[0]=ext2;FS_MOUNT_OPT[1]=-o rw
LV[2]=/dev/vg02/lvol1;FS[2]=/ha_data;
FS_TYPE[0]=ext2;FS_MOUNT_OPT[2]=-o rw
This example defines the variable for three NFS mounted file
systems, ha_root, users/scaf, and ha_data.
5. Specify the IP address for the package and the address of the subnet
to which the IP address belongs. For example:
IP[0]=15.13.114.243
SUBNET[0]=192.100.112.0
The IP address you specify is the relocatable IP address for the
package. NFS clients that mount the file systems in the package will
use this IP address to identify the server. You should configure a
name for this address in the DNS or NIS database, or in the
/etc/hosts file.