<div dir="ltr"><br><div>We have a similar concern with our data centers and ended up rolling our own app that handles this problem.</div><div><br></div><div>Basically, if you use a database backend, you can use the database API (in our case, MySQL) to create/remove reservations and manage leases (although generally we don't do this all that often).</div><div><br></div><div>AFAIK this is not the best practice recommended by the Kea engineering team as there are hooks that can be exposed in the application to perform CRUD operations on leases and reservations, but at the very least, I think that you should definitely use a database backend to make managing this problem easier, regardless of how you end up doing so.</div><div><br></div><div>hth,</div><div>Klaus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 25, 2019 at 12:37 AM Thomas Andersen <<a href="mailto:than@itu.dk">than@itu.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="DA">
<div class="gmail-m_-1662638129590892035WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">I’m a bit unsure how to obtain this and even more how to configure.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">So a few pointers would be appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">I have made a new subnet for servers. I’d like to use DHCP on this network as people never clean up after themselves when taking down servers, and also to ease deployment and configuration.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">But how do I get around the lease time and add the server to host reservations automatically.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">I don’t really care which IP the server get, as long as it’s static. The logic view for me is to copy a lease from the lease db to the host reservation db after first lease.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">I hope you understand what I’m trying explain.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">-- <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">Med venlig hilsen / With best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt">Thomas Andersen<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
</div>

_______________________________________________<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/listinfo/kea-users</a><br>
</blockquote></div>