[Samba] Fwd: Migrating server

Andrew Bartlett
Tue, 20 Feb 2018 10:02:46 -0000

On Tue, 2018-02-20 at 18:11 +1000, Rob Thoman via samba
wrote:
> Hi Guys,
> Have not had any feedback on this. I found the following article but not
> sure if it is valid
>
> Here is what we are planning, high level
> Phase1:
>
> - Add a new Samba 4 server (VM in a new hardware). Join it to the existing
> domain
> - Promote this server as DC in the Samba 3 environment ,
>  - Migrate the DNS, DHCP from Samba 3 to Samba 4 server
> - Demote the old Samba box as Domain Controller, leave the Shares in the
> old server
>
> Phase2:
> - Take a copy of the new samba DC VM and test NT4 to AD migration using the
> classic upgrade
>
> The urgency is do get Phase1 done but Phase2 is approved.
>
> What we would like to know if conceptually the above makes sense and is
> doable? The bit we are not very sure about is Adding the BDC and demoting
> the PDC. Any suggestions will be appreciated.

Sounds good to me.  For the Samba 'classic/nt4-like' mode just removing
the 'domain master = no' makes it a PDC.  You can even have multiple
PDCs as long as they can't see each other over netbios, the protocol is
so simple it doesn't really matter (unlike AD).

Andrew Bartlett

> Thank you.
>
> RT
--
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba