Discussion Locked

Moving DHCP from one server to another

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I Have a DHCP Manager setup on server1 but I need to transfer it to another server then shut down server1.
Is it just a case of setting up a new DHCP Manager on the new Server2 or can I copy the old one from server1 to server2

7 replies

by jpoandl

Hey,

If I understand your question, you just want to be able to administer DHCP from a different computer. (You don't want to actually move the DHCP SCOPES and services to a new computer....)

Anyway to move the DCHP administrator application,simply copy the DHCPADMN.exe, DHCPADMN.CNT, DHCP, DHCPADMN.HLP and DHCPADMN.GID file from the original server (just perform a search on the server to find the original files.) to the new server. Once the files are on the new server, create a short cut on the desktop to DHCPADMN.EXE.

Thats it....

by nettek

If you want to actually move your DHCP server from one NT server to another, do the following:

1. Stop the DHCP server services on Server 1.
2. Find the following files on Server 1, and copy them to a temp directory on Server 2:
winnt\system32\dhcp\backup\dhcpcfg
winnt\system32\dhcp\backup\jet\new\dhcp.mdb
winnt\system32\dchp\backup\jet\new\dhcp.pat
winnt\system32\dchp\backup\jet\new\J5xxxxxx.log (the x's represent numbers and letters that specify the logs sequence number)
3. On server2, check to see if there exists the following folders:
winnt\system32\dhcp
and winnt\system32\dhcp\backup
If they exist, it means that DHCP was once installed on server 2. Delete any files in these folders, but not the folders themselves. If these folders do not exist, do not worry about it.
4. Install DHCP server on NT server 2, and re apply the service pack. Reboot.
5. Stop the DHCP server services on server 2.
6. Copy the files from the temp directory and place them in the same location they were on server 1 (see step 2). Say "yes" when prompted to overwrite.
7. Run regedt32 (regedit won't work for this). Navigate to:
hkey_local_machine\system\currentcontrolset\services\dhcpserver
and highlight the Configuration key. Select Restore from the Registry menu. When prompted for a file name, enter the path to
winnt\system32\dhcp\backup\dhcpcfg.
When asked to overwrite, say "yes".
8. Restart the DHCP services.
9. Open DHCP Manager. Click Scope -> Active Leases -> Reconcile. You will see all the old leases. Click OK, and DHCP will reintroduce the active leases.

You should now be fully recovered, and you can remove DHCP from Server 1. You may want to test this on a test server. Don't trust anyone elses disaster recovery methods until you've tested them yourself.

by estebandelatorre

If your DHCP only contains a SIMPLE scope and a few exceptions, the FAST & SECURE way is to stop DHCP from being started automatically from the control panel/services and re-create the scope/s and exceptions on new server. If something goes wrong just stop service from serverA and start service on ServerB.
Documenting the DCHP scope/s & exceptions sometimes could be usefull...
I currently have two DCHP servers with 2 different scopes, both large enough, to hold all of my users, just in case...
DHCP only "eats" less than 5%

This discussion is closed to new replies.