HP CIFS Server 3.0a Administrator's Guide version A.02.01
Configuring HA HP CIFS
Overview of HA HP CIFS Server
Chapter 13238
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.
• Consider whether you need to locate your private files on a
shared volume, etc. You may want to review “Special Notes for
HA HP CIFS Server” found at the end of this section, now.
Make sure that the file name is in all lowercase letters (e.g.
/etc/opt/samba/smb.conf.ha_server1, NOT
/etc/opt/samba/smb.conf.HA_Server1) even if the NetBIOS
name of the server has capital letters. If capital letters are used
in the file name, failover will not work properly.
3. Move all relevant data to the HP CIFS Server package shared
volume.
Relevant data, consisting of all directories and files which will be
accessed using HP CIFS Server, should reside on shared volumes.
This data includes any shares created by the user. For example, if the
HP CIFS Server administrator creates a TEST=c:/tmp/test share,
then all the data from /tmp/test should reside on a shared logical
volume.
Below is an example of copied data from the required HP CIFS
Server directories to the logical volumes in the volume group
vgsamba. The same can be done for vgasambapkg2.
mkdir /tmp/share1_copy /tmp/share2_copy
mount /dev/vgsamba/lvol1 /tmp/share1_copy
mount /dev/vgsamba/lvol2 /tmp/share2_copy
cp -r /opt/share1/* /tmp/share1_copy
cp -r /homes/share2/* /tmp/share2_copy
umount /tmp/share1_copy
umount /tmp/share2_copy
rm -rf /tmp/share1_copy /tmp/share2_copy
4. Create a directory for HP CIFS Server cluster package: