[Samba] PVE HA for DCs

Andrew Bartlett abartlet at samba.org
Tue Jun 4 20:05:29 UTC 2024

Perfectly fine to just restart.  Do not routinely re-join DCs.  The AD
pattern is built on late 1990s hardware architecture, not 2010 cloud
architectures, so each join leaves a mark on the domain.  So do it per
upgrade if you want, but not per boot. 
It is possible, but not required nor routinely done, to force in a full
replication with various 'samba-tool drs replicate' commands. 
Andrew Bartlett
On Tue, 2024-06-04 at 20:53 +0100, Luis Peromarta via samba wrote:
> Not that there’s a software problem but maybe like a power failure.
> Say a non-gracefully shut down server.
> Replication wise, is it ok to just reboot it ?
> LPOn 4 Jun 2024 at 20:11 +0100, samba at lists.samba.org <
> samba at lists.samba.org>, wrote:
> > Well, a Samba DC shouldn't crash, but if it does, you need to find
> > outwhy it crashed, there really isn't much point in restarting a DC
> > if itis just going to crash again.
> > If the 'crash' was caused by an easily fixed error and can be
> > fixedquickly, you should be able to restart it and it should
> > replicate fromany other DCs. You can, theoretically, restart a DC
> > quite some timeafter it is stopped, but it may just be easier to
> > replace it.
> > So, to put it into a nutshell, if a DC is stopped for a few hours,
> > thenit should be safe to restart it, but if comes to days or weeks,
> > then Iwould replace it, better safe than sorry :-)
Andrew Bartlett (he/him)       https://samba.org/~abartlet/Samba Team Member (since 2001) https://samba.orgSamba Team Lead                https://catalyst.net.nz/services/sambaCatalyst.Net Ltd
Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group
Samba Development and Support: https://catalyst.net.nz/services/samba
Catalyst IT - Expert Open Source Solutions

More information about the samba mailing list