Multiple Servers hosting same share

Diego Remolina diego.remolina at physics.gatech.edu
Thu May 7 11:27:27 GMT 2009


Cluster file systems are very slow as compared to plain ext3 or ext4. 
You may want to try and use something like drbd+heartbeat/crm+samba.

You configure two machines as master/slave, user drbd to do real time 
replication and control who runs samba on the master with crm. CRM is 
very cool as it can monitor your services. Let's say samba is running on 
node1 and for some reason it dies. CRM will do whatever is necessary to 
restart the service and if it cannot restart it in the current master 
node, it will migrate all services to the other node.

I am currently running a file server with samba 3.3.2, drbd 8.3 and 
heartbeat/crm. It is very nice. I tried upgrading to samba 3.3.3 but 
winbind was segfaulting, so will try 3.3.4 and see if that works. All of 
the above is running on RHEL 5.3

Diego

Volker Lendecke wrote:
> On Wed, May 06, 2009 at 06:29:56PM -0700, martyK wrote:
>> We want out main website to use samba to access an ext3 share.
>> Having one samba server controlling the netbios share , which will contain
>> our source files, however gives us a single point of failure - not good.
>> Is it possible for multiple samba servers to host the same netbios share.
> 
> Look at ctdb.samba.org, clustered Samba on top of a cluster
> file system like gfs, glusterfs, gpfs or others.
> 
> Volker

-- 
Diego Julian Remolina
System Administrator - Systems Support Specialist IV
School of Physics
Georgia Institute of Technology
Phone: (404) 385-3499


More information about the samba-technical mailing list