HP CIFS Server 3.0a Administrator's Guide version A.02.01

Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 13 237
3. /etc/opt/samba/smb.conf.ha_server3.
There will be three directories:
1. /var/opt/samba/ha_server1
2. /var/opt/samba/ha_server2
3. /var/opt/samba/ha_server3
...where the locks and log files will reside.
Complete the following for each CIFS package of your MC/ServiceGuard
cluster:
1. Create the following directories:
/var/opt/samba/<netbios name>
/var/opt/samba/<netbios name>
/locks/var/opt/samba/<netbios name>/logs
where <netbios name> is the name for your CIFS server. For
example:
$mkdir /var/opt/samba/ha_server1
$mkdir /var/opt/samba/ha_server1/locks
$mkdir /var/opt/samba/ha_server1/logs
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.<netbios name> (For
example, /etc/opt/samba/smb.conf.hp_server1) 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
log file = /var/opt/samba/ha_server1/logs/log.%m
lock directory = /var/opt/samba/ha_server1/locks
Replace the "XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx" with one (space
separated) relocatable IP address and subnet mask for the MC
ServiceGuard package.