HP CIFS Server 3.0k Administrator's Guide version A.02.04
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/samba/pkg2/samba.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
...for pkg2, etc.
4. Set the SERVICE_NAME variable to samba_mon
SERVICE_NAME samba_mon1
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
...for pkg1, and
SERVICE_NAME samba_mon2
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
...for pkg2, etc.
5. Set the SUBNET variable to the subnet that will be monitored for the package, as in the
following example:
SUBNET 1.13.2.0
Edit the samba.cntl Control Script
To configure the samba.cntl Control Script file, you must complete the following tasks:
1. Create a volume group of either logical volume groups or VxVM volume groups for the HP
CIFS Server directories. For example,
VG[0]=/dev/vg01 # for LVM volume group
DG[0]=/dev/vx/dg01 # for VxVM volume group
...for pkg1, and
VG[0]=/dev/vg02 # for LVM volume group
DG[0]=/dev/vx/dg02 # for VxVM volume group
...for pkg2, etc.
2. Create a separate LV[n] and FS[n] variable for each volume group and file system that
will be mounted on the server. For example,
for pkg1:
for LVM volume group
LV[0]=/dev/vg01/lvol1;FS[0]=/your/data1;
FS_MOUNT_OPT[0]="-o rw" FS_UMOUNT_OPT[0]="";
FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
LV[1]=/dev/vg01/lvol2;FS[1]=/your/data2;
FS_MOUNT_OPT[0]="-o rw" FS_UMOUNT_OPT[0]="";
FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
for VxVM volume group
LV[0]=/dev/vx/dg01/lvol1;FS[0]=/your/data1;
FS_MOUNT_OPT[0]="-o rw" FS_UMOUNT_OPT[0]="";
FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
LV[1]=/dev/vx/dg01/lvol2;FS[1]=/your/data2;
174 Configuring HA HP CIFS