On Wed, 2021-02-03 at 10:33 +0100, Stefan G. Weichinger via samba
wrote:> I start to google and look for the best way to move one of two
> Samba-4.12.x DCs to new hardware.
>
> I assume I could shutdown "DC_old", then copy/dd the filesystems
to
> the
> new SSDs in the new server and (try to) boot it up there again.
> Sounds easy.
>
> The more complicated way might be setting up "DC_new" (ok, keep
the
> hostname from "DC_old") fresh, cp over the various config files
and
> DBs.
>
> I have a DC2 that won't be touched in the process. That one should
> keep
> my AD online.
>
> DC_old is a up to date Debian server, it should just be transferred
> to
> new hardware.
>
> I want to avoid any unnecessary steps and issues here.
Both should work but most folks take this as a time to refresh the host
OS and so just join the new hardware with a new OS as a third DC,
making sure everything is working then demoting the old hardware.
Andrew Bartlett
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba