<div dir="ltr">Out of curiosity, was there a reason you didn't use the built in failover configuration in ISC DHCP?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 17, 2017 at 9:25 AM, John Ratliff <span dir="ltr"><<a href="mailto:john@bluemarble.net" target="_blank">john@bluemarble.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm seeking best practice advice on how to setup DHCP server redundancy with kea.<br>
<br>
With ISC DHCP, I used VRRP with two servers and configured it to send the dhcp-server-identifier option as the VRRP IP. Then I would run a script that sync'd the lease database automatically via cron.<br>
<br>
This process is messy and error prone, so I would like to use kea instead.<br>
<br>
The subnets I am allocating via DHCP is not the same subnet that the server is in, so we use ip-helper statements to forward DHCP requests to the server.<br>
<br>
I have kea using mySQL as a lease backend. The mySQL server is not on the same machine as kea.<br>
<br>
My first thought was to use VRRP and supply the dhcp-server-identifier option again. I ran into a problem though that if kea started before VRRP, it wouldn't listen on the VRRP IP. There is probably a solution to that, but I don't have one yet.<br>
<br>
So then I changed the router configuration to use two ip-helper statements, sending the request to both primary and secondary kea servers; I also removed the dhcp-server-identifier option. This seems to work.<br>
<br>
Is this a reasonable setup for DHCP redundancy with kea? Is there a better option I might want to consider? Are there any concerns I should be aware of with both servers being active?<br>
<br>
Thanks.<br>
______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/kea-users</a><br>
</blockquote></div><br></div>