Link to home
Start Free TrialLog in
Avatar of JamesDS
JamesDS

asked on

Replicating DHCP configuration of MAC Reservations to multiple DHCP Servers

I have recently implemented a resilient DHCP solution comprising 2 Windows 2003 DHCP servers serving ALL the available DHCP subnets but with exclusions setup so that Server A serves the first half of the available range and Server B the second half.

There are about 800 MAC Address reservations on each server and for obvious reasons these lists should remain identical.

Because of the size and complexity of the solution, I wrote script code to take spreadsheet configurations of each server and it's reservations from spreadsheets and apply the configs to each server using the DHCPOBJS.DLL library.

What I need now is a utility to keep the two lists of reservations in sync so that a reservation added to either server makes it across to the other one. I can write the necessary script code myself, but I would far prefer something a little more robust than my code as I will be leaving this client shortly and would like to be sure that the utility in question continues to run automatically as service if possible.

It is not possible to make these servers Domain Controllers and they are authorised on a larger Windows Active Directory currently being upgraded to 2003.

Any thoughts are appreciated, max points (as if that makes any difference!) for something really elegant :)
Cheers

JamesDS
Avatar of Fatal_Exception
Fatal_Exception
Flag of United States of America image

Hey James..  could you use DFS to do accomplish your goal here..??  Just a thought...

FE
Avatar of JamesDS
JamesDS

ASKER

Fatal_Exception

Are you thinking along the lines of duplicate the database??
The database would get overwritten incorrectly if a lease got renewed on one server within a few minutes of a reservation being added to the other server.
Plus each database is necessarily different in terms of scopes and leases to allow for the fact that both DHCP servers are live at the same time.

Add to this the complication of parts of the database being cached on service startup and you have a complex problem.

not a bad thought, but I don't think it's a go-er.

I think I need to find something that talks to the service in the same way the GUI does and applies the same changes to both databases.

Cheers

JamesDS
Yea..  it will take more brainpower than I have today to suggest a solution, that is for sure..  You really have a conundrum here, but I will keep thinking on it, just in case I have an epiphany...  :)
Avatar of JamesDS

ASKER

What90
damn, you've been busy today!

No worries here, I never found a solution to this one

Cheers

JamesDS
Aint he though..!!  :)  

Sorry we could not find an answer for you..  wish we could have gotten a better response...  
Avatar of JamesDS

ASKER

Fatal_Exception

tell me about it, I get about 20 email at a time with What90 comments in them!!

No worries, the only way I have found to do it is install DHCP on the DCs and let the AD do the replication for me.

Cheers

JamesDS
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial