Web lists-archives.com

Re: [Samba] Samba4 multiple DCs replication




Le 19/11/2018 à 12:33, Julien TEHERY via samba a écrit :
Le 19/11/2018 à 11:14, Marco Gaiarin via samba a écrit :
Mandi! Julien TEHERY via samba
   In chel di` si favelave...

Is there a good pratice when adding new remote DCs in terms of replication
topology?
I think you have to define a topology of the domain, using ADSS:

    https://blogs.technet.microsoft.com/canitpro/2015/03/03/step-by-step-setting-up-active-directory-sites-subnets-site-links/

defining links and weight.

Right, I allready had this kind of setup.
I created 3 remote sites and subnets assigned to those sites.
Remote DC's have been joined with the " --site" option.

I even tried to setup Site Links, but it doesn't help.

Here is my topology

Main Site:
DC1
DC2 => well replicated from DC1
DC3 => well replicated from DC1

Remote_Site_1
DC4 => tries to replicate from DC2, but fails with WERR_FILE_NOT_FOUND error
(even manually with samba-tool drs replicate DC4 DC1 DC=mydomain,DC=lan)

Remote_Site_2
DC5 => well replicated from DC1

Remote_Site_3
DC6 => well replicated from DC1, but sometimes fails trying to replicate from DC3...



I tried demoted DC4 several times and rejoined it, whithout success.
Each time it fails with ths machine (i checked network and dns settings, nothing's wrong)


So from what i see "drs showrepl" shows me that sometimes a remote DC tries to DC1, sometimes not, and i would like to control it.



Even tried in ADUC to remove re create NTDS settings or remove automatically generated ones, whithout success. I don't know what's going wrong with DC4, but it's the only DC i cannot sync manually from DC1. I purged every single drop of samba on it an re installed it from scratch, and and it still does the same for it (even with --remove-other-dead-server demotion and dbcheck on DC1). I guess I'm gonna try to install another machine as I don't know what to do here.


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