[Kea-users] Migrating from older kea to HA pair
Darren Ankney
darren.ankney at gmail.com
Sat Nov 1 18:35:24 UTC 2025
Hello,
> Can I dump the leases and just import them into the new sql database and disable the old? Is it that simple?
Yes it is that simple, see here:
https://kea.readthedocs.io/en/kea-2.6.4/man/kea-admin.8.html
specifically the parameters "lease-dump" and "lease-upload". You will
want to stop Kea on the old server, dump, then upload on the new
server, then start Kea on the HA pair. Please note that each HA will
need its own database to connect to. If they share a database, then
you will need to turn off lease syncing in the HA hook settings.
>
> Was worried about how HA would react and if there were any mappings in the new HA pair for which server was responsible for each lease.
There are two modes of operation for HA. These are load-balancing and
hot-standby. I recommend hot-standby as it is far simpler.
load-balancing mode requires that you manually split the pools using a
special client class (see here:
https://kea.readthedocs.io/en/kea-2.6.4/arm/hooks.html#load-balancing-configuration).
Thank you,
Darren Ankney
More information about the Kea-users
mailing list