HP CIFS Server 3.0b Administrator's Guide version A.02.01.01

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11238
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
#########################################################
# Use the following for Winbind Configurations
# WINBIND_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/
# winbindd.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/ .*//'`
}
##########################################################
# Winbind Configurations
# findwbproc() { # return pid of the named
process(es)
# wbpid=‘/usr/bin/ps -e |
# /usr/bin/grep " $1 " | grep "winbindd" |