HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Configuring HA HP CIFS
Special Notes for HA HP CIFS Server
Chapter 7184
To do so, configure /var/opt/samba/locks/WINS.DAT to be a
symbolic link to a WINS.DAT file on a logical shared volume. HP
does not recommend putting the entire /var/opt/samba/locks
directory on a logical shared volume, because the locking data may
not be correctly interpreted after a failover.
• Samba as a Master Browser
If you configure your Samba server to be the domain master browser
by setting the domain master to yes, it will store the browsing
database in the /var/opt/samba/locks/BROWSE.DAT file. HP does
not recommend doing this in an HA configuration.
If you do so, you will probably want to configure
/var/opt/samba/locks/BROWSE.DAT as a symbolic link to a
BROWSE.DAT file on a logical shared volume. HP doesn’t
recommend putting the entire /var/opt/samba/locks directory on a
logical shared volume because the locking data may not be correctly
interpreted after a failover.
• Automatic Printer Sharing
If you configure your Samba server with a [printers] share to
automatically share all the printers on your HP-UX system, then you
will need to be certain that all your MC/ServiceGuard nodes have the
same HP-UX printers defined. Otherwise, when a failover occurs, the
list of shared printers for the Samba server will change, resulting in
problems on clients using those printers.
• Samba's LMHOSTS File
If you wish to use an LMHOSTS file to store the static addresses for
certain netbios names, HP recommends that you put the LMHOSTS
file on a logical shared volume. To do this you will need to specify a
different path for the LMHOSTS file using the -H option when
invoking nmbd. HP recommends that you put the LMHOSTS file on
a logical shared volume so that all the nodes can share it.
You will need to edit the MC/ServiceGuard scripts to add the -H
options to the places where nmbd is invoked directly. You will also
need to edit the /opt/samba/bin/startsmb script to add the -H
option to the places where nmbd is started.