HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Configuring HA HP CIFS
Overview of HA HP CIFS Server Active-Active
Chapter 7 171
When complete, each HPUX system will have a package using the
NetBIOS name for each node in the cluster, though only the package
with its own NetBIOS name will be active until a failover occurs.
For example, if you have a three node cluster, you will have three
packages on each of the three HPUX systems.
There will be three cluster directories:
1. /etc/cmcluster/samba/sambapkg1
2. /etc/cmcluster/samba/sambapkg2
3. /etc/cmcluster/samba/sambapkg3.
There will be three configuration files:
1. /etc/opt/samba/smb.conf.ha_server1,
2. /etc/opt/samba/smb.conf.ha_server2
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.