Migration of  DHCP from Windows 2003 to Windows 2008 Server (Windows 2012 RTM ).

Guys,

 Let us discuss today what are steps we need to follow to migrate the DHCP server.

You can follow these step even for Windows 2012 RTM.

 The Migration of DHCP server can be done using Backup and Restore method but his is not a recommended way because the DHCP database format has changed between Windows Server 2003 and Windows Server 2008 & Windows 2012 RTM .

The recommended procedure for DHCP server migration is to use the export import commands through netsh.  

Export the DHCP database from source server:

  • Click Start, click Run, type cmd in the Open box, and then click OK. 
  • Type netsh dhcp server export C:\dhcpdatabase.dat all, and then press ENTER.
    Once this command is completed successfully you will have the DHCP Configuration information exported into data file(C:\dhcpdatabase.dat)
  • Now stop the DHCP service on the Source Server.
Preparing Destination Server for DHCP role:

Go to the Desination server and install the DHCP server service on the server that is running Windows Server 2008 or Windows 2012 RTM .

Importing DHCP database on Destination Server

  • Log on as a user who is a member of the local Administrators group or DHCP administrators group.
  • Copy the exported DHCP database file to the local hard disk of the Windows Server 2008 computer.
  • Verify that the DHCP service is started on the Windows Server 2008 computer.
  • Click Start, click Run, type cmd in the Open box, and then click OK.
  • At the command prompt, type netsh dhcp server import c:\dhcpdatabase.dat all, and then press ENTER,

    where c:\dhcpdatabase.dat is the full path and file name of the database file that you copied to the server.
  • Once the command is completed successfully, Authorize the DHCP server
Follow the following procedure to Authorize the DHCP:
  • Click Start, point to All Programs, point to Administrative Tools, and then click DHCP. You must be logged on to the server by using an account that is a member of the Administrators group. In an Active Directory domain, you must be logged on to the server by using an account that is a member of the Enterprise Administrators group.
  • In the console tree of the DHCP snap-in, expand the new DHCP server. If there is a red arrow in the lower-right corner of the server object, the server has not yet been authorized.
  • Right-click the server object, and then click Authorize.
  • After sometime, right-click the server again, and then click Refresh. A green arrow indicates that the DHCP server is authorized.

oooopssssssss....... doneeeeeeeeee...

Now your new DHCP server ready to serve the client.
Reactions:

0 comments:

Post a Comment