[Samba] Primary DC migration / upgrade

Krzysztof Kucybała krzysieq at hotmail.com
Tue Dec 7 16:02:21 UTC 2021

Hi all,
I'm contemplating a possible change to my home domain that currently spins off a primary dc running on a virtualbox VM. I want to buy a very simple set of components to build a cheap tiny yet physical server to host the dc. When that happens, what would the correct approach be towards migrating? Does the below make any sense assuming the new physical will run Debian Bullseye which has a slightly newer samba version compared to the current VM running Debian Buster:

  1.  connect the new physical box as secondary domain controller -> I would assume this will cause it to replicate whatever is in the primary
  2.  switch their roles so that vm becomes secondary, physical becomes primary
  3.  turn off the VM leaving just one DC in the domain (or not, not sure if it's worthwhile to keep a secondary DC in a domain as small as mine)

Is this going to work, and if so - is this the recommended approach? Will appreciate any help.


More information about the samba mailing list