[Kea-users] Problems setting up HA
Tan Mientras
tanimientras at gmail.com
Wed Nov 9 07:39:44 UTC 2022
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/",
"role": "primary",
"auto-failover": true
}, {
"name": "vmdhcp02",
"url": "http://192.168.120.253:8000/",
"role": "secondary",
"auto-failover": true
}]
}]
}
}
],
Anyone can help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20221109/a5984aaa/attachment.htm>
More information about the Kea-users
mailing list