HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Configuring HA HP CIFS
Configure a Highly Available HP CIFS Server
Chapter 7 161
1. Set the PACKAGE_NAME variable.
PACKAGE_NAME Sambapkg
2. Create a NODE_NAME variable for each node that will be running
the package. The first NODE_NAME variable should specify the
primary node. All other NODE_NAME variables should specify
alternate nodes in the order in which they are to be tried.
NODE_NAME node1
NODE_NAME node2
3. Set the RUN_SCRIPT and HALT_SCRIPT variables to the full path
name of the control script.
RUN_SCRIPT /etc/cmcluster/samba/samba.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/samba/samba.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
4. Set the SERVICE_NAME variable to samba_mon.
SERVICE_NAME samba_mon
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
5. Set the SUBNET variable to the subnet that will be monitored for
the package, as in the following example:
SUBNET 15.13.2.0
6. The following initialization settings will cause a package failover to
occur if there is a node or network failure, even if the HP CIFS
Server monitor script is not being used.
PKG_SWITCHING_ENABLED YES
NET_SWITCHING_ENABLED YES
7. If the NODE_FAIL_FAST_ENABLE variable is set to NO, the node
is not brought down when the package goes down.
NODE_FAIL_FAST_ENABLED NO
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 for the HP CIFS Server directories:
VG[0]=/dev/vgsamba