Solved

DHCP server lost contact with partner

Posted on 2014-01-15
6
2,322 Views
Last Modified: 2014-01-17
I configure 2 new domain controllers with DHCP and configure the associated fail-over partner.  Some time after that I changed the IP address of both servers.
Now both have lost contact with each other.
The event log reports the following:
Server has lost contact with the partner server. 192.168.15.24 for relationship pdc1-pdc2
I changed the IP from 15.24 and 15.25 to 15.18 and 15.19.

Do not see anywhere to update the IP address of the failover partner.

I am afraid to deconfigure the failover as the deconfigure tells me that it will delete all the scopes that are a part of the failover relationship.

Anyway to fix this without starting over?
Thanks
0
Comment
Question by:kbettencourt
  • 5
6 Comments
 

Author Comment

by:kbettencourt
ID: 39784513
I may have found the answer.  In the GC 15.18 I searched for the 15.25 IP.  There were 3 entries for 15.25.  I changed then to 15.19 and it appears to be replicating normally.
When I add or delete a reservation in the GC 15.18 it replicates to 15.19.

However when I add a reservation in 15.19 it does not replicate to 15.18.  And the new reservation in 15.19 is deleted when I initiate replication from 15.18.

I also need to add that the registry in 15.19 did not have any entries to the old 15.24 address of the GC so I made no registry changes to it.  I do have it recorded where I made the 3 registry changes to the GC and can change it back if necessary.

It's a little confusing, but it appears to be behaving like the primary is replicating one way.  Is that normal or should it be the same regardless of which one has the new reservation?

Additionally, I have noticed that when I add a reservation and then delete it and then try to add the same one again it gives me:
"An error occurred while accessing the DHCP database.  Look at the DHCP event log for more information on this error."
The log does not have any related entries.

Does any of this make sense?
0
 

Author Comment

by:kbettencourt
ID: 39784519
Also found this concerning the re-creation of a previously deleted reservation.
http://conormcginty.wordpress.com/2012/08/20/an-error-occurred-while-accessing-the-dhcp-database/

This may indicate that the error accessing the database may be unrelated to the changes I made in the registry.
0
 
LVL 17

Accepted Solution

by:
Sikhumbuzo Ntsada earned 500 total points
ID: 39784535
Do "ipconfig /flushdns" then "ipconfig /registerdns"
After that do "dcdiag /fix"

dcdiag /test:dns

Test replication by typing "repadmin /showrepl"

You can create a backup of your DHCP scope and re-do it if continues to give you problems.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:kbettencourt
ID: 39784550
Tried to find the deleted reservation with "netsh dhcp server scope> show reservedip" but the list matched what was in the MMC.  So the reservation deleted in MMC was actually deleted.  There may still be some issue associated with the changes in the registry.
0
 

Author Comment

by:kbettencourt
ID: 39786998
Thanks for the response.  All results from the two test passed.
I suppose I can rebuild the database, but like I said, I am afraid.  All our phones have reservations as well.
Will work with it a bit longer and will rebuild if there is no alternative.
Thanks
0
 

Author Closing Comment

by:kbettencourt
ID: 39788962
Finally removed the second dhcp server and all is behaving normally.  Deleting the failover relationship only deletes the scope on the failover server.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

789 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