[Kea-users] Load-Balancing Network issue between Relay and Kea

Veronique Lefebure Veronique.Lefebure at cern.ch
Mon Jan 9 16:54:43 UTC 2023


Very interesting thread.

Mathias, you wrote "Expected behaviour: Kea 2 sees the unacked clients of Kea 1 and sets Kea 1 in partner-down state and handles all requests.", but, If there is no traffic between DHCP clients and Kea1, then the value of max-unacked-clients on server1 cannot increase anyway, right ?  In other words, Kea2 cannot "see" anything ?

Cheers,
Veronique
________________________________
From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Mathias Aichinger <mathias.aichinger at easysol.at>
Sent: Monday, January 2, 2023 1:11 AM
To: kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: [Kea-users] Load-Balancing Network issue between Relay and Kea

Hi,

I currently playing around with the HA and load balancing and I one question appeared:

Scenario:

Multiple DHCP-Relays at different sites with both KEA-Servers as DHCP-Servers. Both servers are available and the load balancing shifts the requests between the two servers.

Incident: Because of a network issue Kea 1 is not available from the clients. The network connection between Kea 1 and Kea 2 still works, so no partner-down state.

Expected behaviour: Kea 2 sees the unacked clients of Kea 1 and sets Kea 1 in partner-down state and handles all requests.

Experienced behaviour: Kea 2 still reports HA_BUFFER4_RECEIVE_NOT_FOR_US and does not handle the requests

Is there a misunderstanding or configuration mistake on my side?

{
         "library": "/usr/local/lib/kea//hooks/libdhcp_ha.so",
         "parameters": {
           "high-availability": [
             {
               "this-server-name": "server2",
               "mode": "load-balancing",
               "heartbeat-delay": 10000,
               "max-response-delay": 60000,
               "max-ack-delay": 10000,
               "max-unacked-clients": 1,
               "delayed-updates-limit": 100,
               "peers": [
                 {
                   "name": "server1",
                   "url": "http://192.168.248.1:8080/",
                   "role": "primary",
                   "auto-failover": true
                 },
                 {
                   "name": "server2",
                   "url": "http://192.168.248.2:8080/",
                   "role": "secondary",
                   "auto-failover": true
                 }
               ]
             }
           ]
         }
       }

Thank you,

Mathias

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


More information about the Kea-users mailing list