Using SAMBA Toolkit in a ServiceGuard for Linux (SG/LX) Cluster Version A.01.00, June 2003

Using SAMBA Toolkit in a ServiceGuard for Linux (SG/LX) Cluster Version A.01.00
Setting Up SAMBA Server Application for a SG/LX Cluster
Chapter 1 9
Setting Up SAMBA Server Application for a
SG/LX Cluster
Before creating and configuring a SAMBA SG/LX package, you need to
make sure that the following configuration tasks have completed for the
SAMBA server application:
When the SAMBA server is installed, the default SAMBA server may be
automatically configured to be started during system
startupviatherunlevel (rc) scripts in the /etc/rc.d directory. You have to
disable the auto-start of a SAMBA server if the SAMBA is planed as a
SG/LX package on the running node.
If you plan only a single SAMBA instance running in a cluster, all
default configuration of the standard SAMBA installation will be fitted
into this single instance. (You can choose to modify and use the default
configuration file, "/etc/samba/smb.conf".) Alternatively, you can
generate a new SAMBA configuration file for the SAMBA server.
If you want to have multiple SAMBA instances available and distributed
to cluster nodes, you need to make a base configuration file (which
contents are similar to the default SAMBA configuration.) for common
used by all SAMBA instances. Additionally, you must create a
sub-configuration file that contains SAMBA configuration for a specific
SAMBA logic instance. Each individual sub-configuration will be
included by the base configuration and, eventually, the base and sub
configurations will become a single configuration file for all SAMBA logic
instances of a single cluster node.
Here is a simple example of a multiple-instance configuration. Suppose,
for a two-node cluster, you want to have two SAMBA instances to
distribute to this two cluster nodes. (Each node owns one SAMBA
instance). Also, you want to share FS1 SMB/CIFS file system for the
first instance and FS2 SMB/CIFS file system for the second instance.
You can modify and use the default SAMBA configuration file
"/etc/samba/smb.conf" to be a base configuration file. After that, you need
to create two sub configuration files for each of two instances. The
contents of these two sub configuration files are as follows:
For the first instance:
[FS1]