Managing Serviceguard NFS for Linux, September 2006

Installing and Configuring Serviceguard NFS for Linux
Configuring a 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.
NOTE The following procedures assume your environment is RedHat. If your
environment is SLES, replace all occurences of “/usr/local” with
/opt”.
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