HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 2012)

NOTE: To use a shared file system, you must make all necessary preparations for the file system
creation prior to creating the Samba toolkit package. For a local configuration, you must install
and configure Samba in the same location on both the primary and all backup nodes and set up
identical (or equivalent) configuration files in the same directory on all nodes. For a shared
configuration, one or more shared file systems is used. You must ensure that all the required
components which are on shared storage will be available at the same time. Also, you must
configure shared volume groups on all nodes in the cluster. To configure a shared file systems,
you must create volume groups and logical volumes on the shared disks and construct a new file
system for each logical volume for the Server Message Block (SMB) or Common Internet File System
(CIFS) file system (and Samba configuration files).
Supported Configuration
This section explains the following supported configurations for Samba toolkit packages:
Local configuration
Shared configuration
Multiple instance configuration
NOTE: When a Samba toolkit package is extended to one or more additional nodes, the same
SMB or CIFS file system and configuration file structure must be used on all nodes, regardless of
whether this is a local or a shared configuration. For a Samba local or shared configuration:
Each node must have the same version of the Samba application.
Each node must have the same configuration directory where identical copies of the
configuration files for each instance are placed in the local or shared hard disk.
Each node must have the same SMB or CIFS file system directories to access the same shared
storage.
Local Configuration
In a typical local configuration, all SMB or CIFS file systems are shared between the nodes. Identical
copies of the Samba server configuration files reside in exactly the same locations of a local storage
on each node. You must ensure to maintain identical copies of the Samba components on the
different nodes.
Shared configuration
In shared configuration, the SMB and CIFS file systems and configuration files are placed on the
shared storage. The same SMB or CIFS file systems and configuration files are shared between
the cluster nodes, so you need not maintain identical copies of configuration files on each node.
In a cluster environment, each Samba server instance must have unique IP addresses. One or more
relocatable IP addresses are created for each Samba server when the package is created. When
the Samba server package is switched over from one node to another, this instance is stopped, IP
addresses are removed from the primary node, IP addresses are reallocated to a standby node,
and the instance is started on that node. Clients are then automatically connected or manually
reconnected through these IP addresses to the identical SMB or CIFS file systems on the standby
node.
Multiple Samba instances configuration
In this configuration, more than one instance of Samba can run on a node at the same time. For
example, if two nodes are running an instance of Samba and one node fails, the Samba instance
on the failed node can fail over to the other node and it can continue to run its own instance as
well.
38 Samba Toolkit