Solved

How do you move DHCP from Server 2003 to Server 2012 R2?

Posted on 2016-07-29
9
51 Views
Last Modified: 2016-08-22
Is there an easy way to move DHCP from Server 2003 to Server 2012 R2 along with all Address Pools, Reservations, Etc. Getting ready to retire the old server and looking for an easy way to migrate from one to the other.

Thanks
0
Comment
Question by:avsc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 17

Expert Comment

by:lruiz52
ID: 41735408
0
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41735415
Hi AVSC,

You can use the tested method that I use to migrate the DHCP server multiple times.

It's been also tested with many other experts in this forum.
DHCP.docx
1
 
LVL 70

Expert Comment

by:Qlemo
ID: 41735745
Just backup DHCP configuration
 netsh dhcp server export \\server\share\folder\dhcp-backup.txt
and restore it on the new server
 netsh dhcp server import  \\server\share\folder\dhcp-backup.txt
(both in an admin/elevated cmd prompt, and with a valid path of course).
Then disable the scope on the old DHCP server.
On the new DHCP server you need to authorize it using DHCP Management console, right click on the server name, Authorize.
As soon as everything is fine, removing the old DHCP server (by deinstalling it) should be done.

The link provided in the first comment show step by step instructions by example, in case my description is not sufficient for you.
2
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:avsc
ID: 41735936
ITSystemEngineer step by step instructions worked flawlessly. Thanks much.
1
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41736387
avsc,

Many thanks for the confirmation :-)
Glad that it helps you.
0
 
LVL 8

Accepted Solution

by:
Senior IT System Engineer earned 500 total points (awarded by participants)
ID: 41736408
DHCP Server role migration
This document explains the steps to migrate the DHCP server from the existing Physical server OLDSERVER into new physical machine NEWSERVER.
Here are the steps that must be executed in order to successfully transfer the NTP server role:
1.      Modify DHCP server lease configuration on OLDSERVER
The DHCP lease for each of the subnet setting can be shorten so that it will automatically pick up new NEWSERVER as the DHCP server:
1.      Login to OLDSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up the DHCP console.
3.      Go to IPV4 and right click on scope option [10.1.3.0] then select properties.
4.      Change the lease duration into 1 hour then click on OK.
5.      Repeat the steps above for the rest of the scope.

2.      Export the DHCP server configuration database on OLDSERVER
The DHCP server setting can be exported into .MDB file which can then can be imported to the new NEWSERVER to retain and custom configuration for the IP address assignment:
1.      Login to OLDSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up command prompt
3.      Type the following Command: netsh
4.      Type the following Command: DHCP
5.      Type the following Command: server \\10.1.3.2
6.      Type the following Command: export c:\w2k3DHCPdb all

3.      Install the DHCP server role on NEWSERVER
After the DHCP database or configuration export above, the DHCP database will be imported to the new DHCP server on NEWSERVER:
1.      Connect to NEWSERVER using Remote Desktop as DOMAIN\Administrator.
2.      Copy the exported DHCP database file from OLDSERVER to the local hard disk of NEWSERVER.
3.      From within Server Manager, select Add roles and features
4.      Select Role-based of featured-based installation and select Next.
5.      On the Server Selection window, leave the default and select Next. When the Server Roles window opens, select DHCP.
6.      Select Add Features in the pop-up window, then select Next.
7.      Once the DHCP install has been completed, select DHCP located in the Server Manager dashboard
8.      Right click the designated DHCP server in the services pane, then select Stop.
9.      Delete the DHCP.mdb file under c:\windows\system32\DHCP folder.
10.      Return to DHCP located in the Server Manager dashboard
11.      Right click the designated DHCP server in the services pane, then select Start.
12.      Right-click on the bottom left hand side of the desktop screen to invoke the admin menu
13.      Select Command Prompt (Admin) to open the cmd prompt using elevated privileges.
14.      Type the following Command: netsh
15.      Type the following Command: DHCP
16.      Type the following Command: server \\10.1.3.26
17.      Type the following Command: import C:\w2k3DHCPdb
18.      Close the command prompt when completed.
19.      Return to DHCP located in the Server Manager dashboard.
20.      Right click the designated DHCP server in the services pane, then select Restart.
21.      Disable and remove DHCP from the Windows 2003 server.

4.      Enable the DHCP server role and change DNS option to NEWSERVER
After the DHCP scope and settings import has completed, the DNS server value in the DHCP scope must be configured to NEWSERVER before authorizing the DHCP server.
1.      Open the DHCP Console.
2.      Expand NEWSERVER.
3.      If open the IPv4.
4.      Open the relevant scope.
5.      Click on the Scope Options.
6.      Click on the 006 DNS Servers option, right click and select properties.
7.      Highlight the old IP address 10.1.3.2 and click remove.
8.      Insert the new IP address 10.1.3.99 and click add.
9.      Click Apply then OK.
10.      Right click on the NEWSERVER object then Authorize it within your domain.

5.      Modify DHCP server lease configuration on NEWSERVER
Reconfigure the DHCP lease to be the default values before the migration on NEWSERVER as the new DHCP server:
1.      Login to NEWSERVER using DOMAIN\Administrator account using RDP connection.
2.      Open up the DHCP console.
3.      Go to IPV4 and right click on scope option [10.1.3.0] then select properties.
4.      Change the lease duration into 8 hours then click on OK.
5.      Repeat the steps above for the rest of the scope.
0
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41762203
Hope that helps.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question