<div dir="ltr"><div><br></div>Hello there,<div><br></div><div><br></div><div>Am just getting started with Kea, on my attempt to install kea on Ubuntu16.04 desktop I keep getting the "Missing required header files" errors</div><div>I have to manage to fix some of them but wonder if there is a standard procedure to get this fix. Though I have boost installed "boost/shared_ptr.hpp"</div><div>is reported missing.</div><div><br></div><div>I appreciate your help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 11:37 AM, Dominik Epple <span dir="ltr"><<a href="mailto:dominik.epple@gmail.com" target="_blank">dominik.epple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>it might help if you pick a dedicated galera write node, i.e. both of your kea servers write to the same galera node at each point in time. You can still configure that in a HA fashion by some active-passive loadbalancer or a failover IP or something.<br><br></div>The other option would be that the kea code gets adjusted for running "galera-aware" but I am no expert on what exactly needs to happen there. But if it can't be fixed on application level, it probably can be fixed on system level by picking a dedicated write node.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Dominik<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-13 11:28 GMT+01:00 <span dir="ltr"><<a href="mailto:lex@ezelink.com" target="_blank">lex@ezelink.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I'm running 2 kea dhcp servers and connect them to galera-mysql cluster for HA.<br>
Everything is ok, but sometimes i have this message in logs:<br>
<br>
2018-03-13 14:14:45.036 ERROR [kea-dhcp4.alloc-engine/11864] ALLOC_ENGINE_V4_ALLOC_ERROR [hwtype=1 b8:53:ac:xx:xx:xx], cid=[01:b8:53:ac:xx:xx:xx], tid=0xa56d03a4: error during attempt to allocate an IPv4 address: unable to execute for <SELECT address, hwaddr, client_id, valid_lifetime, expire, subnet_id, fqdn_fwd, fqdn_rev, hostname, state FROM lease4 WHERE client_id = ? AND subnet_id = ?>, reason: Deadlock found when trying to get lock; try restarting transaction (error code 1213)<br>
<br>
the network is relatively small - not more than 50-100 requests per second<br>
<br>
How can I get rid of these messages? Cause after getting this error, server sends NACK to client<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>
</div></div><br>______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">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>
<br></blockquote></div><br></div>