[Kea-users] kea 2.0.3 dhcp4 HA not working

Darren Ankney darren.ankney at gmail.com
Fri Apr 21 09:10:26 UTC 2023


Hi Kevin,

"enable-multi-threading" for the main process (not HA) defaults to
true as of Kea 2.3.5 (and thus will be on in the next stable release -
2.4.0).  In the main process, multi-threading is about performance.
In the HA its (partially) about performance and allowing a separate
listener thread to exist.  In versions prior to 2.3.5, you need to
enable multi-threading in the main process before you can enable it
for HA.  I personally like HA without the kea-ctrl-agent but you do
need the kea-ctrl-agent if you want to do anything with the API that
requires remote access. You can send API commands directly to the
kea-dhcp4 process over UNIX socket - which is all that is available
without the kea-ctrl-agent.

Thank you,

Darren Ankney

On Thu, Apr 20, 2023 at 4:08 PM Kevin P. Fleming
<lists.kea-users at kevin.km6g.us> wrote:
>
> > I will definitely read through the docs on this.  And I know this next
> > question may be a bit difficult/subjective perhaps to answer - but my
> > use case is my home network with fairly long leases.  It’s also on the
> > “quiet” side.  This obviously isn’t the load/rps of say a college
> > campus, municipal wifi, etc.  Would multithreading still be recommended
> > ?  I’ve been running ISC dhcpd for years with no issues.
>
> I'm in a similar situation (overly complex home network), and I'm currently using the 'legacy' HA implementation which requires the Kea control agent to be running alongside the DHCP server(s).
>
> If you have no other need for the control agent (i.e. you're not running Stork), then you can choose between running the control agent or using the 'multithreaded' DHCP server implementation. The 'multithreaded' mode isn't related to performance or capacity as best I can tell, it's just about providing the HTTP endpoint needed for HA directly in the DHCP server itself.
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list