HP CIFS Server 3.0b Administrator's Guide version A.02.01.01
Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 11 233
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>
/var/opt/samba/<netbios name>/logs
/var/opt/samba/<netbios name>/private
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
$mkdir /var/opt/samba/ha_server1/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.<netbios name> (For
example, /etc/opt/samba/smb.conf.hp_server1) with the following
lines: