HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11242
/var/opt/samba/<package name>
/var/opt/samba/<package name>/locks
/var/opt/samba/<package name>/logs
/var/opt/samba/<package name >/private
where <package name> is the name for cluster package for your
CIFS server. For example:
$mkdir /var/opt/samba/pkg1
$mkdir /var/opt/samba/pkg1/locks
$mkdir /var/opt/samba/pkg1/logs
$mkdir /var/opt/samba/pkg1/private
This step is IMPORTANT because these paths are referenced
by the MCServiceGuard cluster scripts, samba.cntl and
samba.mon.
2. Create a file /etc/opt/samba/smb.conf.<package> (For example,
/etc/opt/samba/smb.conf.pkg1) with the following lines:
[global]
workgroup = ha_domain
netbios name = ha_server1
interfaces = XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx
bind interfaces only = yes
# Make sure there are no directories named starting
# with “log.” if you plan to use “%m” this way
log file = /var/opt/samba/pkg1/logs/log.%m
lock directory = /var/opt/samba/pkg1/locks
pid directory = /var/opt/samba/pkg1/locks
smbpasswd file = /var/opt/samba/pkg1/private/smbpasswd
Replace the "XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx" with one
relocatable IP address and subnet mask for the MC ServiceGuard
package.
If /opt/samba/bin/samba_setup was run during installation as
suggested:
Take the workgroup line from the /etc/opt/samba/smb.conf file.
Add in the rest of your desired configuration items.
Take the NetBIOS name line from the same file, or, if there is no
NetBIOS name line, put in the UNIX host name for the server on
the NetBIOS name line.
Consider load balancing when creating the share paths.