Also note that the Kea 'control agent' is the one that listens on port 8000, not the DHCP4/DHCP6 server processes. Ensure that it is also running and configured properly.
On Tue, Mar 22, 2022 at 9:07 AM Dan Oachs <[email protected]> wrote: > > That looks very similar to my setup which is working. Are you sure the kea > service is not listening on port 8000? One way to check would be with "lsof > -i -P| grep kea-dhcp" and look for a line showing the hostname:8000 (LISTEN). > > If the service is listening, then perhaps there is a firewall blocking > incoming traffic to port 8000? > > --Dan > > > On Tue, Mar 22, 2022 at 6:53 AM Weisteen Per <[email protected]> wrote: >> >> Hi, I've set up a HA Hot-Standby config according to docs but I can't figure >> out why the servers doesn't listen on port 8000. >> I thought that was the port configured for heartbeat. I'm a little confused >> and would be very happy if someone could explain how this is supposed to >> work ? >> >> I'm running KEA on RHEL 8 servers installed from KEA 2.0 repo using yum >> install. >> >> My HA config for primary server (pls ignore any missing parentheses ad this >> is just an extract: >> >> "library": "/usr/lib64/kea/hooks/libdhcp_ha.so", >> "parameters": { >> "high-availability": [{ >> "this-server-name": "tst-dhcp01", >> "mode": "hot-standby", >> "heartbeat-delay": 10000, >> "max-response-delay": 10000, >> "max-ack-delay": 5000, >> "max-unacked-clients": 5, >> "multi-threading": { >> "enable-multi-threading": true, >> "http-dedicated-listener": true, >> "http-listener-threads": 4, >> "http-client-threads": 4 >> }, >> "peers": [{ >> "name": "tst-dhcp01", >> "url": "http://10.123.10.10:8000/", >> "role": "primary", >> "auto-failover": true >> },{ >> "name": "tst-dhcp02", >> "url": "http://10.123.20.20:8000/", >> "role": "standby", >> "auto-failover": true >> }] >> >> and for standby server: >> >> "library": "/usr/lib64/kea/hooks/libdhcp_ha.so", >> "parameters": { >> "high-availability": [{ >> "this-server-name": "tst-dhcp02", >> "mode": "hot-standby", >> "heartbeat-delay": 10000, >> "max-response-delay": 10000, >> "max-ack-delay": 5000, >> "max-unacked-clients": 5, >> "multi-threading": { >> "enable-multi-threading": true, >> "http-dedicated-listener": true, >> "http-listener-threads": 4, >> "http-client-threads": 4 >> }, >> "peers": [{ >> "name": "tst-dhcp01", >> "url": "http://10.123.10.10:8000/", >> "role": "primary", >> "auto-failover": true >> },{ >> "name": "tst-dhcp02", >> "url": "http://10.123.20.20:8000/", >> "role": "standby", >> "auto-failover": true >> }] /* peers */ >> }] /* high-availability */ >> } >> >> Kea-debug.log shows : >> >> HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to tst-dhcp02 >> (http://10.123.20.20:8000/): Connection refused >> HA_COMMUNICATION_INTERRUPTED communication with tst-dhcp02 is interrupted >> >> And similar on the standby server but differet IP-address and name of course. >> >> ./PerW >> >> -- >> 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 -- 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
