[Samba] PVE HA for DCs

Rowland Penny rpenny at samba.org
Tue Jun 4 19:10:58 UTC 2024


On Tue, 4 Jun 2024 19:51:48 +0100
Luis Peromarta via samba <samba at lists.samba.org> wrote:

> Maybe I’ll rephrase the question, it should be equivalent to:
> 
> If a DC crashes and needs restarting, is it safe to do so, or because
> replication has been interrupted and may be inconsistent, shall I
> isolate, demote (off line demote) , and re-join ?
> 
>

Well, a Samba DC shouldn't crash, but if it does, you need to find out
why it crashed, there really isn't much point in restarting a DC if it
is just going to crash again.

If the 'crash' was caused by an easily fixed error and can be fixed
quickly, you should be able to restart it and it should replicate from
any other DCs. You can, theoretically, restart a DC quite some time
after 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, then
it should be safe to restart it, but if comes to days or weeks, then I
would replace it, better safe than sorry :-)

Rowland




More information about the samba mailing list