Michael Tokarev
2022-Nov-14 17:50 UTC
[Samba] Replication between Samba DCs (on different sites)?
14.11.2022 20:45, Kris Lou via samba wrote:>>> I'm trying to create another VM, with a 3rd DC, to see if having a >>> DC in the same site will help... >> >> So, I created a second DC on the same Site as our first DC. And >> it instantly enabled and activated replication, samba-tool drs showrepl >> shows active connections between the two DCs, and changes made on one >> of the DCs becomes immediately visible on the other. >> >> But the replication between two DCs in diferent sites does not seem to >> be enabled. What is the way to enable it? >> > > Are AD Sites configured?Yes, there are 2 sites, as described in my first email. Machines are correctly finding their home sites and choose the nearby logon server based on the local IP addresses.> If so, I believe that individual links also need > to be specified between the sites.Well, I guessed this much. The question is how? Thank you! /mjt
Kris Lou
2022-Nov-14 18:10 UTC
[Samba] Replication between Samba DCs (on different sites)?
> > > Well, I guessed this much. The question is how? > >Using RSAT, I have the Sites specified in Sites -> Inter-Site Transports -> IP. Then, under each Site, I have the DC enabled as "a preferred bridgehead server for the following transports: IP." You might also need to specify an "InterSite Topology Generator" in each Site under Sites -> NTDS Site Settings. But replication links should be visible under Sites -> Servers -> <DC> ->NTDS Settings. (Hope I didn't miss anything!)