Are you running the control agent?  Mine shown below is for dhcp6, but i'm sure 
the config is similar.

$ /usr/sbin/kea-ctrl-agent -c /etc/kea-ctrl-agent.conf

$ cat /etc/kea-ctrl-agent.conf
{
    "Control-agent": {
        "http-host": "10.0.0.1",
        "http-port": 8000,
        "control-sockets": {
            "dhcp6": {
                "socket-type": "unix",
                "socket-name": "/tmp/kea6-ctrl-socket"
            }
        }
    }
}

----- Original Message -----
> From: "Tan Mientras" <[email protected]>
> To: "kea-users" <[email protected]>
> Sent: Wednesday, November 9, 2022 2:39:44 AM
> Subject: [Kea-users] Problems setting up HA

> Hi

> I'm having issues setting up the HA.
> Once the servers are running the complain with:
> Nov 9 08:29:59 vmdhcp01 kea-dhcp4[170994]: INFO DHCP4_STARTED Kea DHCPv4 
> server
> version 2.3.2 started
> Nov 9 08:30:10 vmdhcp01 kea-dhcp4[170994]: WARN
> HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to vmdhcp02 ( [
> http://192.168.120.253:8000/ | http://192.168.120.253:8000/ ] ): Connection
> refused
> Nov 9 08:30:10 vmdhcp01 kea-dhcp4[170994]: WARN HA_COMMUNICATION_INTERRUPTED
> communication with vmdhcp02 is interrupted
> Nov 9 08:30:10 vmdhcp01 kea-dhcp4[170994]: INFO HA_STATE_TRANSITION server
> transitions from WAITING to PARTNER-DOWN state, partner state is UNDEFINED
> Nov 9 08:30:10 vmdhcp01 kea-dhcp4[170994]: INFO HA_LEASE_UPDATES_DISABLED 
> lease
> updates will not be sent to the partner while in PARTNER-DOWN state
> Nov 9 08:30:10 vmdhcp01 kea-dhcp4[170994]: INFO HA_LOCAL_DHCP_ENABLE local 
> DHCP
> service is enabled while the vmdhcp01 is in the PARTNER-DOWN state

> vmdhcp01 and vmdhcp02 have similar configuration (except this-server-name):

> "hooks-libraries":[
> {
> "library":"/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so",
> "parameters":{
> "high-availability": [{
> "this-server-name": "vmdhcp01",
> "mode": "load-balancing",
> "heartbeat-delay": 10000,
> "max-response-delay": 10000,
> "max-ack-delay": 5000,
> "max-unacked-clients": 0,
> "delayed-updates-limit": 100,
> "peers": [{
> "name": "vmdhcp01",
> "url": " [ http://192.168.120.254:8000/ | http://192.168.120.254:8000/ ] ",
> "role": "primary",
> "auto-failover": true
> }, {
> "name": "vmdhcp02",
> "url": " [ http://192.168.120.253:8000/ | http://192.168.120.253:8000/ ] ",
> "role": "secondary",
> "auto-failover": true
> }]
> }]
> }
> }
> ],

> Anyone can help me?

> --
> 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

Reply via email to