Hi I've recently set-up an HA config and it works without problems. You'll also need the kea-ctrl-agent running on the servers and I'd suggest using an IP in the url rather than the server name, see if that changes anything.
Regards Bill > From: "Dirk Laurenz" <[email protected]> > To: "kea-users" <[email protected]> > Sent: Monday, 25 May, 2020 13:56:29 > Subject: Re: [Kea-users] HA Setup > Hi, > if i change to an ip adress, the error changes too: > Failed to convert string to address '192.1682.2.231': Invalid argument > So it seems to be a problem with the url statement > Von: Kea-users <[email protected]> Im Auftrag von Dirk Laurenz > Gesendet: Montag, 25. Mai 2020 13:47 > An: [email protected] > Betreff: [Kea-users] HA Setup > 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/ | http://dc01:8080/ ] ", > "role": "primary", > "auto-failover": true > }, > { > "name": "dc02", > "url": " [ http://dc02:8080/ | http://dc02:8080/ ] ", > "role": "standby", > "auto-failover": true > } > ] > } ] > } > } > ], > _______________________________________________ > 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 > [email protected] > https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________ 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 [email protected] https://lists.isc.org/mailman/listinfo/kea-users
