HP CIFS Server 3.0b Administrator's Guide version A.02.01.01
Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11 241
filesystems to be unmounted and failed over to the adoptive
node. Package failover may not occur if any of the filesystems
mounted by the sambapkg cannot be unmounted.
Edit the samba.mon Monitor Script
To configure the samba.mon Monitor Script file, you must complete the
following tasks:
1. Set the NETBIOS_NAME variable to your NetBIOS name.
NETBIOS_NAME=ha_server1
...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"
}