Home > Windows Server Tips > Active Directory Administration > Moving DHCP without interruption during an Active Directory migration
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ACTIVE DIRECTORY ADMINISTRATION

Moving DHCP without interruption during an Active Directory migration


By Nick Cavalancia, Contributor
02.08.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


In my last article, I covered how to migrate a print server during an AD migration. In this article, I want to continue the topic of moving services to a new AD environment. In one of my recent migration projects, the need arose to move DHCP services from the original domain to the newly created domain (for the obvious reason that the original servers were being retired). You can, of course, simply choose to create a brand new DHCP server in your new AD environment and shut the entire company down. But most companies want to maintain service availability, as well as not need to recreate lease reservations, scopes, etc.

There are two parts to your DHCP server that need to be moved: the DHCP server configuration and the lease database. Migrating the configuration only would fall into the "shut the entire company down" scenario, as every client would need to shut down at the same time to properly ensure no two computers have the same IP address (one computer having already obtained its address from the original DHCP server and a second computer obtaining its address from the new server). So, it stands to reason that the best solution to move DHCP services to a new AD environment while allowing clients to remain running is to migrate both the configuration and lease database.

The first step is to install DHCP in the new AD forest and authorize it. (See MSKB 300429 for more information on installing DHCP) The next step, the actual migration, can generally be accomplished during business operations, as most clients receive their leases at the beginning of the business day. To date, I have not had a simple support call due to the migration of DHCP services during business hours. Your call, of course.

If you are moving fr...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Microsoft Active Directory Migration
What factors need to be considered during an NT4 to Windows Server 2003 migration?
Changes to Active Directory: Windows Server 2003 SP1
Active Directory for Windows 2000 and 2003: What's the difference?
Will Exchange migrate easily from NT4 to Windows 2003 with Active Directory?
Active Directory issues to look for when upgrading from Windows 2000 to Windows 2003 Server
Steps to migrate from Windows NT to Windows 2003 Active Directory
Learning guide: Migrating to Windows Server 2003
Chapter of the Week: Windows Server Undocumented Solutions -- Chapter 6, 'Server management'
Changing NTDS links with Active Directory
Is there a tool to move permissions after a domain migration?

Active Directory Administration
How to find and remove lingering objects in Active Directory
Utilizing Active Directory snapshots in Windows Server 2008
Creating Windows taskpad views for Active Directory management
When to add new domains to your Windows environment
Debugging Windows client logon delays: Narrowing the scope
Using Active Directory to manage Macs in a Windows environment
Troubleshooting poor Windows logon performance in Active Directory environments
Common Active Directory security oversights
Scripting domain controller installations: A must for Server Core
Taming the LSASS.exe process for Active Directory performance and security

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


om one Windows 2003 AD environment to another, you can use the netsh command to both export the original DHCP data and import it into the new server. It's a simple three-step process

1) On the original DHCP server, run the following command:
netsh dhcp server export <filename> all
2) Shutdown and disable DHCP Server services
3) Move the file to the new DHCP server and run the following command: netsh dhcp server import <filename> all

For those of you not migrating from a Windows 2003 environment, you still can accomplish this task. Microsoft has created the DHCP Export Import utility (DHCPEXIM), first released with the Windows 2000 Resource Kit, Supplement 1. You will run this utility on the original DHCP server to both export and disable the scopes you want migrated (this is a huge plus over the NETSH method – selective scope migration allowing you to migrate multiple scopes from a single server to many servers). A single binary file is created containing the configuration and lease databases of the scopes you choose. Move this file to the new DHCP server (again, already installed and authorized) and run DHCPEXIM there. Import the information in the export file and you are left with a running DHCP server, complete with active scopes, active client leases, and no duplicate IP configurations to worry about.

You can find DHCPEXIM on Microsoft's website at http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/dhcpexim-o.asp.

Nick Cavalancia (MCSE, MCT, MCNE and MCNI) is the owner and principal consultant at Exchange Consultants (www.exchangeconsultants.com), a consulting firm specializing in the architecting of Active Directory and Exchange solutions.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts