[Kea-users] Where to put data for kea.

Albert Shih Albert.Shih at obspm.fr
Wed Jan 10 08:13:42 UTC 2024


Hi, 

We using isc for long time. 99% of the address give by isc-dhcp are «host
reservation by mac address». 

So we manage a 

root at dhcp:/etc/dhcp# egrep "^\s+host" dhcpd.conf|wc
   5821   17463  194735
root at dhcp:/etc/dhcp#

Currently we are working to migrate to Kea. But after reading lot of
documentation I didn't find if I can use files to store the data. Or it's
mandatory to use database to store those data.

I find 

  https://kea.readthedocs.io/en/kea-2.4.1/arm/admin.html#supported-backends

where they say it's not supported for host reservation to use memfile and
as I understand the doc the data should be in the database

But in 

  https://kb.isc.org/docs/what-are-host-reservations-how-to-use-them

they seem to have json format file for host reservation. 

I understand it's not very efficient to use file, much better to use
database but currently we have lot of script to generate those file, it
would be easier for us to adapt them to generated json. 

So my question are : Can I put host reservation in file on the filesystem
of the server ? 

Regards
-- 
Albert SHIH 🦫 🐸
France
Heure locale/Local time:
mer. 10 janv. 2024 09:02:07 CET


More information about the Kea-users mailing list