[Kea-users] HA with dhcp6
BÖSCH Christian
boesch at fhv.at
Mon Nov 8 11:04:01 UTC 2021
Hi Peter,
Yes, my mistake.
I've already found out, that I missed to load the lease_cmds library in the dhcp6 config.
Thanks very much and sorry for the effort.
Christian
From: Peter Davies <peter.watson.davies at outlook.com>
Date: Monday, 8. November 2021 at 11:56
To: "boesch at fhv.at" <boesch at fhv.at>, "kea-users at lists.isc.org" <kea-users at lists.isc.org>
Subject: Re: HA with dhcp6
Hi Christian,
Do you load the "lease_cmds" hooks library in both the kea-dhcp4 and kea-dhcp4 configurations?
/Peter
From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of BÖSCH Christian <boesch at fhv.at>
Sent: 08 November 2021 09:34
To: kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: [Kea-users] HA with dhcp6
Hi,
I'm testing HA with kea 2.0 which is working well with IPv4, but with IPv6 there are these errors on the secondary node:
2021-11-08 09:29:05.265 ERROR [kea-dhcp6.ha-hooks/84963.0x801c12000] HA_LEASES_SYNC_FAILED failed to synchronize leases with kea1 (http://10.0.30.111:8000/): 'lease6-get-page' command not supported., error code 2
2021-11-08 09:29:05.267 ERROR [kea-dhcp6.ha-hooks/84963.0x801c12000] HA_SYNC_FAILED lease database synchronization with kea1 failed: 'lease6-get-page' command not supported., error code 2
The config which is identical to IPv4 is as follows:
"hooks-libraries": [
{
"library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [{
"this-server-name": "kea2",
"mode": "load-balancing",
"heartbeat-delay": 10000,
"max-response-delay": 10000,
"max-ack-delay": 5000,
"max-unacked-clients": 5,
"delayed-updates-limit": 100,
"peers": [{
"name": "kea1",
"url": "http://10.0.30.111:8000/",
"role": "primary",
"basic-auth-user": "foo",
"basic-auth-password": "bar",
"auto-failover": true
}, {
"name": "kea2",
"url": "http://10.0.30.112:8000/",
"role": "secondary",
"basic-auth-user": "foo",
"basic-auth-password": "bar",
"auto-failover": true
}]
}]
}
}],
Thanks in advance for any tips.
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20211108/7eefd58e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5381 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20211108/7eefd58e/attachment-0001.bin>
More information about the Kea-users
mailing list