[Samba] fail-over, redundancy, bdc, multi-dc-domain

Daniel Müller mueller at tropenklinik.de
Tue Jan 29 00:59:06 MST 2013


For me working: Centos5 old Samba3 PDC/BDC with openldap (Master/Master
Multi-Master-Replication), ucarp for failover Ip/ Glusterfs Replicating
Brick 2 node for samba shares/netlogon...Sa
Ba4wins(Sernet), two wins-server push and pull.
Running without any trouble.

Greetings 
Daniel
  

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Andrew Bartlett
Gesendet: Montag, 28. Januar 2013 15:41
An: Greg Sloop
Cc: samba at lists.samba.org
Betreff: Re: [Samba] fail-over, redundancy, bdc, multi-dc-domain

On Tue, 2013-01-22 at 10:53 -0800, Gregory Sloop wrote:
> I'm aware of, at least generally, how one would have done a 
> BDC/Redundant server under OpenLDAP Samba3.
> 
> However, rolling your own multi-domain-controller was fairly daunting 
> [for me] under Samba3 / OpenLDAP.
> 
> I've been very interested in Samba4 for the more integrated nature of 
> having LDAP/DNS/Samba all under one roof. [i.e. Fewer places where I 
> can screw it up horribly.]

Most of our users find that Samba 4.0 'just works' for them as an AD DC,
even replicating to a second DC. 

> However I'm also interested in how one can handle fail-over. I don't 
> need something totally seamless and "big-iron" style. A backup box 
> that would need some manual intervention would be fine.

Just replicating to a second DC should be fine.  You will need to manually
replicate the sysvol share, but that shouldn't be hard.

> So, something like an rsync'd backup box where the shared 
> files/accounts/etc are perhaps an hour out of date, and that would 
> require 15 minutes to bring up as a primary would be an acceptable 
> solution.

I would not recommend just rsyncing anything, except the sysvol files.
The reason is that rsync will not get a consistent snapshot of the
databases.  Joining a second DC will be much more seamless. 

> That's not to say I wouldn't want something better, but that's kind of 
> the low end of the "acceptable" scale.
> 
> I've done some searches on the list and spent a while looking for 
> "examples" but I don't easily find any. [Using searches with: samba4 
> bdc, redundant, backup, etc. There are a ton of very old articles on 
> the list, but almost nothing I could find specifically on Samba4.]
> 
> Could some kind soul point me either to:
> 1) Search terms more likely to produce results, or some discussion 
> threads or
> 2) wiki/how-to's on how to accomplish something in the neighborhood on
this subjet?

The main HOWTO contains information on joining to an existing domain.
That is what you need to do on your second DC.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org


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



More information about the samba mailing list