![](/images/new-backgrounds/1308322/308322171x1.webp)
Sample Configurations
Example Four - Two Servers with NFS
NFS Control Scripts for pkg01
The nfs.cntl Control Script
This section shows the NFS control script (nfs1.cntl) for the pkg01 package in this sample configuration. Only the
PATH=/sbin:/usr/bin:/usr/sbin:/etc:/bin
VGCHANGE=”vgchange | # Default |
CVM_ACTIVATION_CMD="vxdg
VG[0]=nfsu01
LV[0]=/dev/nfsu01/lvol1; FS[0]=/hanfs/nfsu011; FS_MOUNT
VXVOL="vxvol
FS_UMOUNT_COUNT=1
FS_MOUNT_RETRY_COUNT=0
IP[0]=15.13.114.243
SUBNET[0]=15.13.112.0
function customer_defined_run_cmds
{
/etc/cmcluster/nfs/nfs1_xmnt start
remsh basil /etc/cmcluster/nfs/nfs1_xmnt start
}
The function customer_defined_run_cmds calls a script called nfs1_xmnt. This script
86 | Chapter 3 |