HP CIFS Server Administrator's Guide Version A.03.01.01 (5900-1282, May 2011)

...depending on which package you are currently working on.
2. Create a NODE_NAME variable for each node that will run the package. The first NODE_NAME
should specify the primary node. All other NODE_NAME variables should specify the alternate
nodes in the order in which they will be tried.
NODE_NAME ha_server1
NODE_NAME ha_server2
...for pkg1,
NODE_NAME ha_server2
NODE_NAME ha_server1
...for pkg2, etc.
3. Set the RUN_SCRIPT and HALT_SCRIPT variables to the full path name of the control script.
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
142 Configuring HA HP CIFS