HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11 245
RUN_SCRIPT /etc/cmcluster/samba/pkg1/samba.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/samba/pkg1/samba.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
...for pkg1, and
RUN_SCRIPT /etc/cmcluster/samba/pkg2/samba.cntl
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.