I have been using a samba 2 node cluster for over a year now; it has been very successful.

I have a PDC/LDAP Master BDC/LDAP Slave configuration.
I have heartbeat configured, and DRBD Raid1 over LAN for the home directories/profiles.

In the smbldap.conf I have the profiles & home pointing to the clusters virtual IP as DRBD can only have one partition mount on the cluster at any one time. This means if the BDC handles a logon without the share mounted; it will use the share mounted on the PDC. :S

To me it has proven itself to be a very successful overall configuration.

Regards,

Adrian Sender.



-------------------------------------------------------------------------------------
From: David Schlenk <[EMAIL PROTECTED]>
To: HENRY Vincent <[EMAIL PROTECTED]>
Cc: [email protected]
Subject: Re: [Samba] Samba HA on two nodes
Sent: Thursday, 24 November 2005 1:58:07 AM

On Nov 21, 2005, at 5:42 AM, HENRY Vincent wrote:

Is anybody succeed to run a configuration on a two node clusters with Samba installed on each machine?

I compiled two versions on different directories (/usr/local/samba1 and samba2). At this point, I can run 2 samba's on one node in case of failure but problems are on Active Directory
authentication for the Fallback node.


Yes, I am, but it does not do file sharing, just printing.

What I did was set up a logical IP on both machines and if the fallback node detected that the other node's primary IP went down, it would turn on that interface and start samba. Not exactly the most perfect setup but it seems to work pretty well. I use regularly scheduled rsyncs to keep the various tdbs and printer drivers in sync.

For file serving you'd probably want to add a stonith device and then have both machines attached to a scsi array. There's still that array being the single point of failure, but it's better than nothing.

David Schlenk
Operating Systems Analyst
Bethel University
[EMAIL PROTECTED]

---------------------------------------------------------------------------


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to