HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

HP CIFS Server as a Master Browser
If HP CIFS Server is configured as the domain master browser (that is, the domain master
support parameter is set to "yes"), the database will be stored in the /var/opt/samba/
locks/browse.tdb file. HP does not recommend doing this in an HA configuration.
However, if the CIFS Server is configured as the domain master browser, /var/opt/samba/
locks/browse.tdb should be set as a symbolic link to browse.tdb on the shared file
system. HP does not recommend putting the entire directory (/var/opt/samba/locks) on the
shared file system, as the locking data may not be correctly interpreted after a failover.
Automatic Printer Sharing
If network/shared printers are configured, ensure all nodes configured to run the HP CIFS
Server also have access to the printers. Otherwise, when a failover occurs, the list of shared
printers will differ across clustered nodes, resulting in problems for clients accessing those
printers.
HP CIFS Server's LMHOSTS File
If the file LMNHOSTS is used to store static addresses of netbios names, put this file in the
shared file system. When invoking nmbd, specify the path for LMNHOSTS with the -H option.
Ensure all package and tookit scripts include the -H option where nmbd is invoked. Also edit
the script /opt/samba/bin/startsmb to add the -H option where nmbd is invoked.
Example:
Assuming that the LMHOSTS file is in the /etc/cmcluster/smb1 directory, the following
lines need to be changed in hasmb.sh:
In the start_samba_server function, change as follows:
(old) /opt/samba/bin/nmbd -D -1${LOG_DIRECTORY} -s ${CONF_FILE}
(new) /opt/samba/bin/nmbd -D -1${LOG_DIRECTORY} -s ${CONF_FILE} \
-H /etc/cmcluster/smb1/lmhosts
For more information see lmhosts (1M) manpage.
136 Using SAMBA Toolkit in a Serviceguard Cluster