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

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11244
# if [ ! -f ${WINBIND_PID_FILE} ]
# then
# sleep 1
# print "ERROR: ${WINBIND_PID_FILE} could not be
# found!"
# exit 1
# else
# WINBIND_PID=‘cat ${WINBIND_PID_FILE}‘
# findwbproc $WINBIND_PID
# if [ "$wbpid" = "" ] ; then
# if [ "$MAX_WINBIND_RETRYS" -gt 0 ] ; then
# logger -t "${NETBIOS_NAME}.mon" "${NETBIOS_NAME}
winbind daemon is not running. Restarting daemon."
# /opt/samba/bin/startwinbind
# if [ "$MAX_WINBIND_RETRYS" -ge 1 ] ; then
# (( MAX_WINBIND_RETRYS =
# MAX_WINBIND_RETRYS - 1 ))
# fi
# else
# sleep 1
# echo "ERROR: ${NETBIOS_NAME} winbindd not
# running!"
# exit 1
# fi
# fi
# fi
sleep $INTERVAL
done
Create the MC/ServiceGuard Binary Configuration File
NOTE In the following example, the cluster configuration file will be assigned
the name / etc/cmcluster/cluster.conf and the HA HP CIFS Server
package configuration file will be assigned the name
/etc/cmcluster/samba/sambapkg1/samba.conf. The actual cluster and
HA HP CIFS Server package configuration file names on your system
may be different.