Hi,

> Does the Kea Lease Migration support ISC DHCP Failover Lease Files?

The only difference between a non-failover lease file and failover
lease file in ISC DHCP, AFAIK, was that there were some extra entries
about peers and status.  I don't think there was anything in the
actual leases themselves, so I imagine the answer would be yes.

>
> I might have overlooked this in the document for the Lease Migration.  Would 
> it be possible to upload the output of the Kea Lease Migration to MySQL 
> Database Backend when Kea is configured to store Leases in a database rather 
> than memfile?  Or is the output intended to be used in the memfile?

I don't think the migration assistant itself is capable of that, but
the kea-admin tool can transport leases between memfile csv format and
database (postgres or mysql):
https://kea.readthedocs.io/en/kea-2.4.0/arm/admin.html#the-kea-admin-tool

>
> Also, I used the Kea Lease Migration and the converted lease file shows all 
> the leases just fine.  I followed the example to load the output csv file 
> into Kea DHCP4 and when I test the configuration file everything shows to be 
> fine.  However, when I go to start the Kea DHCP4 Service, I get the error 
> "unable to open database: unable to open "filename" regardless if the csv 
> file is in the /etc/kea directory or the /var/lib/kea/ directory.
>
> Here is the lease database configuration snippet with the lease file in the 
> /etc/kea directory -
>
>     "sanity-checks": {
>         "lease-checks": "fix-del"
>     },
>     "lease-database": {
>         // Memfile is the simplest and easiest backend to use. It's an 
> in-memory
>         // C++ database that stores its state in CSV file.
>         "type": "memfile",
>         "persist": true,
>         "name": "/etc/kea/dhcpd-leases-kea.csv",
>         "lfc-interval": 3600
>     },


Perhaps there is a permission issue?  Depending how you installed, Kea
may be running as an unprivileged user (such as _kea) who may not have
access to the .csv file to read on startup.

Thank you,

Darren Ankney
-- 
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

Reply via email to