Managing MC/ServiceGuard NFS A.11.11.03 and A.11.23.02 (March 2004)
Installing and Configuring MC/ServiceGuard NFS
Configuring an MC/ServiceGuard NFS Package
Chapter 2 35
Editing the Control Script (nfs.cntl)
The control script, nfs.cntl, is different as of the A.11.11.02 and
A.11.00.05 releases. For MC/ServiceGuard NFS Toolkit A.11.00.04 or
lower for HP-UX 11.0 or MC/ServiceGuard NFS Toolkit A.11.11.01 or
lower for HP-UX 11i v1 using MC/ServiceGuard A.11.09 (or below)
framework, see “Editing nfs.cntl for NFS Toolkit A.11.00.04 and
A.11.11.01 (or lower)” on page 37 to edit the control script, nfs.cntl.
Editing nfs.cntl for NFS Toolkit A.11.00.05 and A.11.11.02 (and
above).
Starting with MC/ServiceGuard A.11.13, a package can have LVM
volume groups, CVM disk groups and VxVM disk groups.
Example steps:
1. Create a separate VG[
n
] variable for each LVM volume group that is
used by the package:
VG[0]=/dev/vg01
VG[1]=/dev/vg02
...
2. Create a separate VXVM_DG[
n
] variable for each VxVM disk group
that is used by the package:
VXVM_DG[0]=dg01
VXVM_DG[1]=dg02
...
3. Create a separate LV[
n
] and FS[
n
] variable for each volume
group/disk group and file system that will be mounted on the server:
For the LVM example, if this package uses the file systems pkg1a
and pkg1b, which are mounted on the logical volumes lvol1 and lvol2
with read and write options enter:
LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a;
FS_MOUNT_OPT[0]="-o rw"
LV[1]=/dev/vg01/lvol2; FS[1]=/pkg1b;
FS_MOUNT_OPT[1]="-o rw"
For the VxVM example, if this package uses the file systems pkg1a
and pkg1b, which are mounted on the volumes lvol1 and lvol2 with
read and write options enter:
B5140-90017.book Page 35 Thursday, January 22, 2004 3:10 PM