On 11.12.2020 18:12, Emile Swarts wrote: > I've looked at implementing multiple KEA instances with a shared database. > I realise that this current setup will hand out overlapping IPs because > the leases are stored in memory not in the database. Where did you get this impression from? This is mostly incorrect. If you configure Kea to use a database to store leases, Kea will never cache anything in memory and will always do a DB lookup before assigning anything. The only way I can think of making Kea to keep the leases "stored in memory" would be using memfile as lease backend, but then Kea would never look up leases in a DB.
> I'm in the process of adding KEA HA, but just wanted to confirm that > there is no way to force a lookup in the database to find the next > available IP before committing to this approach. Kea doesn't work the way you think it is. Kea always looks up the lease database and never keeps any memory cache of it. Tomek _______________________________________________ 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@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users