[Kea-users] Problems setting up HA

Tan Mientras tanimientras at gmail.com
Thu Nov 10 13:38:22 UTC 2022


Configuring the router to dhcp-relay for both server seems to fix the
problem.
As perlĺist suggested, second server wasnt receiving the requests.

Now the only thing left is stork...do you guys know how to make it work?
I'm getting a 500 trying to install agent via server


On Wed, Nov 9, 2022 at 3:24 PM Peter Davies <peterd at isc.org> wrote:

> Hi Tan,
>    I strongly advise you to read the Kea ARM for a description of the
> different
> HA modes and example configurations.
>
> see:
>
> https://kea.readthedocs.io/en/kea-2.3.2/arm/hooks.html#ha-high-availability-outage-resilience-for-kea-servers
>
> Kind Regards Peter
>
>
> On 09/11/2022 15.15, perl-list wrote:
> >> On Wed, Nov 9, 2022 at 12:38 PM perl-list < [ mailto:
> perl-list at network1.net |
> >> perl-list at network1.net ] > wrote:
> >>> The other one is still receiving the packets, it just isn't doing
> anything with
> >>> them unless it becomes the active device (assuming you chose
> hot-standby mode)
> >> I configured load-balancing mode :S
> > Something isn't correct then.  I've never configured the load-balancing
> mode so I couldn't say what to look for specifically other than something
> general like:
> >
> > 1) make sure that both servers are configured in the same HA mode:
> load-balancing
> > 2) Make sure that both servers are receiving the DHCP traffic (you can
> check with tcpdump to be completely sure)
> >
> >>> You can perform load testing with perfdhcp: [
> >>> https://kea.readthedocs.io/en/kea-2.2.0/man/perfdhcp.8.html |
> >>> https://kea.readthedocs.io/en/kea-2.2.0/man/perfdhcp.8.html ]
> >> trying to install this conflicts with isc-kea-common...
> > you can install it on a different machine (in fact you should - not sure
> you can test from the same machine).
> >
> >>> As far as checking functionality of HA, I am not sure... I guess you
> could shut
> >>> down the primary and see what happens? I have done that, but it won't
> >>> immediately switch. It will wait until a certain number of clients are
> trying
> >>> to obtain a lease and then switch.
> >> stopped dhcp service in server1 and server2 did nothing but complaining
> about
> >> the heartbeat...
> >>> That is a tunable parameter, however.
> >> Is "max-unacked-clients" ?
> > yes - that is the parameter.
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20221110/56cfa7f4/attachment.htm>


More information about the Kea-users mailing list