Installation guide

Chapter 11. Clustered Samba Configuration
As of the Red Hat Enterprise Linux 6.2 release, the Red Hat High Availability Add-On provides
support for running Clustered Samba in an active/active configuration. This requires that you install
and configure CTDB on all nodes in a cluster, which you use in conjunction with GFS2 clustered file
systems.
Note
Red Hat Enterprise Linux 6 supports a maximum of four nodes running clustered Samba.
This chapter describes the procedure for configuring CTDB by configuring an example system. For
information on configuring GFS2 file systems, refer to Global File System 2. For information on
configuring logical volumes, refer to Logical Volume Manager Administration.
Note
Simultaneous access to the data in the Samba share from outside of Samba is not supported.
11.1. CT DB Overview
CTDB is a cluster implementation of the TDB database used by Samba. To use CTDB, a clustered
file system must be available and shared on all nodes in the cluster. CTD B provides clustered
features on top of this clustered file system. As of the Red Hat Enterprise Linux 6.2 release, CTDB also
runs a cluster stack in parallel to the one provided by Red Hat Enterprise Linux clustering. CTDB
manages node membership, recovery/failover, IP relocation and Samba services.
11.2. Required Packages
In addition to the standard packages required to run the Red Hat High Availability Add-On and the
Red Hat Resilient Storage Add-On, running Samba with Red Hat Enterprise Linux clustering requires
the following packages:
ctd b
samba
samba-co mmo n
samba-wi nbi nd -cl i ents
11.3. GFS2 Configurat ion
Configuring Samba with the Red Hat Enterprise Linux clustering requires two GFS2 file systems: One
small file system for CTDB, and a second file system for the Samba share. This example shows how
to create the two GFS2 file systems.
Chapt er 1 1 . Clust ered Samba Con fig urat ion
161