Jump to content

Recommended Posts

Posted (edited)

Primary school, single server setup.

 

At some point I need to migrate the domain controller from 2012r2 to 2019. After I have migrated AD, DNS, GP etc do others normally then change the IP and name of the new server so it is the same as the old server?

Edited by TwistedHelixis
Posted (edited)
Primary school, single server setup.

 

At some point I need to migrate the domain controller from 2012r2 to 2019. After I have migrated AD, DNS, GP etc do others normally then change the IP and name of the new server so it is the same as the old server?

 

I only replicate the IP address (just create new DC with temp IP address) and I've never bothered changing the name. I only run basic functions on DCs i.e. FSMO roles, DNS/DHCP, so no real need to bother with the name.

 

Once you have migrated the FSMO roles over to the new DC and have again checked dcdiag etc. then you can look at de-promoting it and cleanup.

 

I normally do a ipconfig /registerdns once changed the IP address but that is just force of habit I think.

Edited by Davit2005
  • Thanks 1
Posted (edited)
Primary school, single server setup.

 

At some point I need to migrate the domain controller from 2012r2 to 2019. After I have migrated AD, DNS, GP etc do others normally then change the IP and name of the new server so it is the same as the old server?

 

It depends on if you have used DNS addresses to refer to the server previously but I would keep the same IP address

 

1. build new server

2. give it a temp IP Address

3. Join to domain and promote to DC

4. Add FSMO roles etc

5. Change old DC IP address

6. Reboot the old DC at least twice - you need to clear all reference to it from AD

7. Wait for replication to complete - about an hour

8. Give new DC old DC IP address

9. Reboot the new DC

10. Wait for replication

11. Demote the old DC

12. Relax

 

 

Forgot, Switch off the old DC if you don't need it anymore

Edited by PlantHead
  • Thanks 1
Posted (edited)
I only replicate the IP address and I've never bothered changing the name. I only run basic functions on DCs i.e. FSMO roles, DNS/DHCP, so no real need to bother with the name.

I assume you make the switch shortly after you have de commissioned and shutdown the old server.

 

EDIT - you posted when I did so ignore

Edited by TwistedHelixis
  • Thanks 1
Posted

1. build new server

2. give it a temp IP Address

3. Join to domain and promote to DC

4. Add FSMO roles etc

5. Change old DC IP address

6. Reboot the old DC at least twice - you need to clear all reference to it from AD

7. Wait for replication to complete - about an hour

8. Give new DC old DC IP address

9. Reboot the new DC

10. Wait for replication

11. Demote the old DC

12. Relax

 

I would have thought you needed to wait until the old server was decomissioned and removed from the network before giving the new server its IP?

Posted (edited)
I assume you make the switch shortly after you have de commissioned and shutdown the old server.

 

EDIT - you posted when I did so ignore

 

Yep give new DC a temp IP address then migrate old DC to a different temp IP address then change new DC to original IP address.

 

But yes give it a chance to replicate and run a dcdiag before you start, midway and when you finish so you are playing with a happy domain to start with :-)

 

And yes migrate all the FSMO roles as well.

 

@PlantHead has broken it down a bit more. The only thing I would add is to do a ipconfig /registerdns after changing IP addresses each time.

Edited by Davit2005
  • Thanks 1
Posted
It depends on if you have used DNS addresses to refer to the server previously but I would keep the same IP address

 

1. build new server

2. give it a temp IP Address

3. Join to domain and promote to DC

4. Add FSMO roles etc

5. Change old DC IP address

6. Reboot the old DC at least twice - you need to clear all reference to it from AD

7. Wait for replication to complete - about an hour

8. Give new DC old DC IP address

9. Reboot the new DC

10. Wait for replication

11. Demote the old DC

12. Relax

 

 

Forgot, Switch off the old DC if you don't need it anymore

 

Extra step I generally do then is to rename the DC to the old name. Everything just continues to work then and the clients haven’t got a clue the server has changed....

  • Thanks 1
Posted

I just assumned the order would be.....

 

a. build new server.

b. give it a temp IP Address.

c. Join to domain and promote to DC

d. Add FSMO roles etc

e. Wait for replication to complete - about an hour

f. Demote old server

g. turn off old server

h. Give new DC old DC IP address

i. Reboot the new DC

j. do ipconfig /registerdns

 

Just double checking - So is my way not correct?

and is everyone in agreement that step 5 should be 'change old DC IP'?

Posted
Extra step I generally do then is to rename the DC to the old name. Everything just continues to work then and the clients haven’t got a clue the server has changed....

 

Which step do you change the name?

1. build new server

2. give it a temp IP Address

3. Join to domain and promote to DC

4. Add FSMO roles etc

5. Change old DC IP address

6. Reboot the old DC at least twice - you need to clear all reference to it from AD

7. Wait for replication to complete - about an hour

8. Give new DC old DC IP address

9. Reboot the new DC

10. Wait for replication

11. Demote the old DC

12. Relax

Posted
Out of interest, what do you do about DHCP?

 

Do you migrate it to the new server somehow or rebuild from scratch?

 

Netsh dhcp server export c:\dhcp all

 

Then On new server

 

Netsh dhcp server import c:\dhcp all

 

Easy!

  • Thanks 1
Posted
Which step do you change the name?

1. build new server

2. give it a temp IP Address

3. Join to domain and promote to DC

4. Add FSMO roles etc

5. Change old DC IP address

6. Reboot the old DC at least twice - you need to clear all reference to it from AD

7. Wait for replication to complete - about an hour

8. Give new DC old DC IP address

9. Reboot the new DC

10. Wait for replication

11. Demote the old DC

12. Relax

 

Depends really. Normally l rename the old right at the start so the new new goes on with the correct name. But that’s downtime.

 

Renaming at step 12 (instead of relaxing!) would also work.

  • Thanks 1
Guest Guest
Posted
As its a single server setup I assume it'll be hosting shares? If so I'd change both the name and IP to match the old

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...