<div dir="ltr">On 29 July 2013 22:35, Gregory Sloop <span dir="ltr"><<a href="mailto:gregs@sloop.net" target="_blank">gregs@sloop.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I've recently setup DHCP+DNS [DDNS] on a single master server.<br>
<br>
I'm about to turn the switch on a master + slave DHCP updating the<br>
master DNS, [with the second/slave DHCP server having a slave DNS<br>
server getting updates from the master.]<br>
<br>
[i.e. DHCP + Single master DNS + Slave DNS]<br>
<br>
Ignoring the DNS configuration - is there anything special I need to<br>
do when I start load-balancing the DHCP servers, or do I just change<br>
the configs on both machines appropriately and the single will pass<br>
off what needs passing to the new slave and load balancing happens<br>
"automagically?" [i.e. Do I need to copy the dhcpd.leases file or<br>
other steps.]<br>
<br>
I've done some searches on this, but haven't found anything - I'm glad<br>
to be pointed in the right direction. I'd assume this discussion has<br>
occurred many times before, but I can't find it.<br>
<br>
(My plan is to turn on the Slave DHCP, and once it's stable and working<br>
fine, then turn on Master/Slave DNS - to do everything just one step<br>
at a time.)<br></blockquote><div><br><br><div><div><div>So you don't need to do anything with the leases file, it
 will manage all of that itself. Your "split" setting should be 128 
which will balance the DHCP lease loading between the two servers.<br><br></div>When
 you want to make a change to the DHCP config update both of the 
configuration files and then restart the DHCP services on both systems, 
they will automatically sync back up, you don't need to do anything with
 the OMAPI interface in the normal running. I usually find it easier to 
configure the DHCP networks that are being managed by the failover 
association in a separate file to the normal DHCP configuration, that 
way you can simply copy over the failover networks configuration to the 
second server easily when any changes have been made.<br><br></div>One 
thing you can't do is do it step by step, when enabling a failover 
association between two DHCP servers it has to be done on both systems 
at the same time (otherwise neither system will issue leases as neither 
will have been able to reconcile/balance the lease pools).<br><br></div><div>Make sure your network IP helper configuration is pointing at both DHCP servers and for DDNS make sure both DHCP servers are able and allowed to update DNS on the master.<br>
</div><div><br></div><div>Hope this helps.<br></div><div><br></div>Steve <br></div></div></div></div>