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 11248
for pkg2:
CONF_FILE=/etc/opt/samba/smb.conf.pkg2
LOG_FILE=/var/opt/samba/pkg2/logs
SMBD_PID_FILE=/var/opt/samba/pkg2/locks/smbd.pid
NMBD_PID_FILE=/var/opt/samba/pkg2/locks/nmbd.pid
#WINBIND_PID_FILE=/var/opt/samba/pkg2/locks/winbindd.pid
NOTE If you have an smb.conf file which makes use of winbind, you need
to uncomment these winbind lines for winbind support.
Create the MC/ServiceGuard Binary Configuration File
NOTE In the following example, the cluster configuration file will be assigned
the name / etc/cmcluster/cluster.conf and the HA HP CIFS Server
package configuration file will be assigned the name
/etc/cmcluster/samba/pkg1/samba.conf. The actual cluster and HA HP
CIFS Server package configuration file names on your system may be
different.
1. On alternate nodes create a cluster package directory:
mkdir /etc/cmcluster/samba/pkg1 or pkg2, pkg3..n
Copy the package scripts from the primary node.
rcp primary_node:/etc/cmcluster/samba/* \
alternate_node:/etc/cmcluster/samba
2. Use the cmquerycl command to create a cluster configuration file for
the CIFS server:
cmquerycl -v -C clucifs.conf -n primary_node -n \
alternate_node
3. Use the cmcheckconf command to verify the contents of your cluster
and package configuration. At this point it is assumed that you have
created your MCServiceGuard cluster configuration file (clucifs.conf)
through MCServiceGuard procedures.