HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Configuring HA HP CIFS
Overview of HA HP CIFS Server Active-Active
Chapter 7176
4. Specify the relocatable IP address and the address of the subnet to
which the IP address belongs:
IP[0]=15.13.171.20
SUBNET[0]=15.13.168.0
for sambapkg1,
IP[0]=15.13.171.21
SUBNET[0]=15.13.168.0
...for sambapkg2, etc.
5. If you want to use the HP CIFS Server monitor script, set the
NFS_SERVICE_NAME variable to the value of the SERVICE_NAME
variable in the package configuration file samba.conf.
SERVICE_NAME[0]=samba_mon1
SERVICE_CMD[0]=/etc/cmcluster/sambapkg1/samba.mon
6. Use the following as a template for customer_defined_run_cmds.
NETBIOS_NAME=ha_server1
CONF_FILE=/etc/opt/samba/smb.conf.${NETBIOS_NAME}
LOG_FILE=/var/opt/samba/${NETBIOS_NAME}/log
SMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/smbd.
pid
NMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/nmbd.
pid
findproc() { # return pid of the named
process(es)
pid=`/usr/bin/ps -e |
/usr/bin/grep "$1" | grep "mbd" |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
}
function customer_defined_run_cmds
{
# ADD customer defined run commands.
nmbd -D -l ${LOG_FILE} -s ${CONF_FILE}
smbd -D -s ${CONF_FILE}
test_return 51
}