Managing Serviceguard NFS for Linux, July 2007
Installing and Configuring Serviceguard NFS for Linux
Configuring a Serviceguard NFS Package
Chapter 232
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 occurrences of “/usr/local” with
“/opt”.
1. Create a separate VG[n] variable for each volume group. For
example:
VG[0]=vg01
VG[1]=vg02
2. 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[1]=ext2;FS_MOUNT_OPT[1]=”-o rw”
LV[2]=/dev/vg02/lvol1;FS[2]=/ha_data;
FS_TYPE[2]=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.
3. 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.
4. Specify that this package uses the high availability NFS server by
uncommenting the HA_APP_SERVER variable. Uncomment the
following line: