[Kea-users] HA with dhcp6

Peter Davies peter.watson.davies at outlook.com
Mon Nov 8 10:56:07 UTC 2021


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/93763883/attachment-0001.htm>


More information about the Kea-users mailing list