HP CIFS Server 3.0f Administrator's Guide verison A.02.03

for pkg1,
IP[0]=1.13.17.21
SUBNET[0]=1.13.16.0
...for pkg2, etc.
4. If you want to use the HP CIFS Server monitor script, set the 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/samba/pkg1/samba.mon
for pkg1, and
SERVICE_NAME[0]=samba_mon2
SERVICE_CMD[0]=/etc/cmcluster/samba/pkg2/samba.mon
for pkg2.
5. If you have an smb.conf file which makes use of winbind, you need to uncomment these winbind lines
for winbind support in the cluster.
Edit the samba.mon Monitor Script
To configure the
samba.mon
Monitor Script file, you must complete the following tasks:
1. Use the following template provided with
samba.mon
.
for pkg1:
CONF_FILE=/etc/opt/samba/smb.conf.pkg1
LOG_FILE=/var/opt/samba/pkg1/logs
SMBD_PID_FILE=/var/opt/samba/pkg1/locks/smbd.pid
NMBD_PID_FILE=/var/opt/samba/pkg1/locks/nmbd.pid
#WINBIND_PID_FILE=/var/opt/samba/pkg1/locks/winbindd.pid
for pkg2:
CONF_FILE=/etc/opt/samba/smb.conf.pkg2
LOG_FILE=/var/opt/samba/pkg2/logs
SMBD_PID_FILE=/var/opt/samba/pkg2/locks/smbd.pid
NMBD_PID_FILE=/var/opt/samba/pkg2/locks/nmbd.pid
#WINBIND_PID_FILE=/var/opt/samba/pkg2/locks/winbindd.pid
NOTE: If you have an smb.conf file which makes use of winbind, you need to uncomment these
winbind lines for winbind support.
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/pkg1/samba.conf
. The actual cluster and HA HP CIFS Server package configuration
file names on your system may be different.
1. On alternate nodes create a cluster package directory:
mkdir /etc/cmcluster/samba/pkg1 or pkg2, pkg3..n
Copy the package scripts from the primary node.
rcp -r primary_node:/etc/cmcluster/samba/* \
Overview of HA HP CIFS Server 159