HP CIFS Server 3.0a Administrator's Guide version A.02.01

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 13 245
...and sambapkg1,
NETBIOS_NAME=ha_server2
...for sambapkg2, etc.
2. Use the following template provided with samba.mon.
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
INTERVAL=30
MAX_NMBD_RETRYS=1
MAX_SMBD_RETRYS=1
##############################################
# Use the following for Winbind Configuration
# MAX_WINBIND_RETRYS =1
PATH=$PATH:/opt/samba/bin
error_msg()
{
print "$(date '+%b %e %X') - $1"
}
#
# Function findproc
#
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