[Kea-users] HA Setup

Dirk Laurenz samba at laurenz.ws
Mon May 25 11:46:48 UTC 2020


Hi,

 

i startet to create a ha setup und got the following error after enabling
the ha setup:

 

Mai 25 13:39:29 dc02 kea-dhcp4[10087]: 2020-05-25 13:39:29.865 ERROR
[kea-dhcp4.packets/10087] DHCP4_PACKET_PROCESS_STD_EXCEPTION exception
occurred during packet processing: Failed to convert string to address
'dc01': Invalid argument

 

Dc01 and dc02 are my dhcp servers.

 

This error occurs on both servers after enabling ha and kea stops serving
ips

 

 

Conf snippet:

 

                               "control-socket": {

         "socket-type": "unix",

         "socket-name": "/tmp/kea-dhcp4-ctrl.sock"

                               },

                               "hooks-libraries": [

            {

                "library":
"/usr/lib/arm-linux-gnueabihf/hooks/libdhcp_lease_cmds.so",

                "parameters": { }

            },

            {

                "library":
"/usr/lib/arm-linux-gnueabihf/hooks/libdhcp_ha.so",

                "parameters": {

                    "high-availability": [ {

                        "this-server-name": "dc02",

                        "mode": "hot-standby",

                        "heartbeat-delay": 10000,

                        "max-response-delay": 10000,

                        "max-ack-delay": 5000,

                        "max-unacked-clients": 5,

                        "peers": [

                            {

                                "name": "dc01",

                                "url": "http://dc01:8080/",

                                "role": "primary",

                                "auto-failover": true

                            },

                            {

                                "name": "dc02",

                                "url": "http://dc02:8080/",

                                "role": "standby",

                                "auto-failover": true

                            }

                        ]

                    } ]

                }

            }

        ],

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200525/6b9e3699/attachment-0001.htm>


More information about the Kea-users mailing list