Lukasz Zalewski
2016-Sep-08 07:19 UTC
[Samba] Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
Dear list, I want to migrate our existing samba4 dc with a static/external dns backend, to a new install with internal dynamic dns backend. Given: DC1 - existing samba4 dc with static/external dns running quite old build (to be updated to version 4.3 before the migration starts) DC2 - new samba4 dc with internal dynamic dns (running 4.3 version) What is the best way to do such migration? Would I provision DC2 with the same sid as the DC1, join DC1 to DC2, let the replication do its job, then demote/remove DC1 and afterwards manually add the missing dns records to DC2, or is there a better way to do it? Any help would be appreciated. Regards Lukasz
Rowland Penny
2016-Sep-08 08:34 UTC
[Samba] Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
On Thu, 8 Sep 2016 07:19:34 +0000 Lukasz Zalewski via samba <samba at lists.samba.org> wrote:> Dear list, > > I want to migrate our existing samba4 dc with a static/external dns > backend, to a new install with internal dynamic dns backend. > > Given: > DC1 - existing samba4 dc with static/external dns running quite old > build (to be updated to version 4.3 before the migration starts) DC2 > - new samba4 dc with internal dynamic dns (running 4.3 version) >Transfer all FSMO roles to DC2, demote DC1, turn off DC1, re-install DC1 with a different name, join it as a new DC. Rowland
Lukasz Zalewski
2016-Sep-08 10:50 UTC
[Samba] Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
> On 8 Sep 2016, at 11:34, Rowland Penny via samba <samba at lists.samba.org> wrote: > > On Thu, 8 Sep 2016 07:19:34 +0000 > Lukasz Zalewski via samba <samba at lists.samba.org> wrote: > >> Dear list, >> >> I want to migrate our existing samba4 dc with a static/external dns >> backend, to a new install with internal dynamic dns backend. >> >> Given: >> DC1 - existing samba4 dc with static/external dns running quite old >> build (to be updated to version 4.3 before the migration starts) DC2 >> - new samba4 dc with internal dynamic dns (running 4.3 version) >> > > Transfer all FSMO roles to DC2, demote DC1, turn off DC1, re-install > DC1 with a different name, join it as a new DC. >Hi Rowland, My plan is to completely retire DC1 after this migration is completed. What I’m not sure is how to perform the initial joining of the DC2 given the current dns set-up. Do I just join DC2 to the domain using samba-tool domain join and then manually add the missing dns domain records (for bot DC1 and DC2) to DC2’s dns? Would that be enough? My ultimate goal is to move the data over from DC1 to DC2 and also convert from the static/external dns set up to the internal/dynamic one. Regards Lukasz
Apparently Analagous Threads
- Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
- Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
- Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
- Migrating samba4 dc from an instance with static/external dns to a fresh install with dynamic/internal dns
- Migrating samba AD DC from 4.1.0 to 4.7.0 and dns backend change