<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px"><span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;background-color:rgb(255, 255, 255)" class="ContentPasted0">Very
interesting thread.</span></span>
<div style="font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;background-color:rgb(255, 255, 255)"><br class="ContentPasted0">
</span></div>
<div style="font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px" class="elementToProof">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;background-color:rgb(255, 255, 255)">Mathias, you wrote "<span style="font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14px;background-color:rgb(255, 255, 255);display:inline !important" class="ContentPasted1">Expected
behaviour: Kea 2 sees the unacked clients of Kea 1 and sets Kea 1 in partner-down state and handles all requests.", b</span></span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">ut, If there is no traffic between DHCP clients
and Kea1, then the value of </span><span class="ContentPasted0" style="font-size: 14.6667px; font-family: Calibri, sans-serif; color: rgb(36, 36, 36); display: inline !important;">max-unacked-clients on server1 cannot increase anyway, right ? In other words,
Kea2 cannot "see" anything ?</span></div>
</span></div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)" class="elementToProof">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)" class="elementToProof">
Cheers,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)" class="elementToProof">
Veronique</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Mathias Aichinger <mathias.aichinger@easysol.at><br>
<b>Sent:</b> Monday, January 2, 2023 1:11 AM<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] Load-Balancing Network issue between Relay and Kea</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="elementToProof">Hi,<br class="">
<br class="">
I currently playing around with the HA and load balancing and I one question appeared:<br class="">
<br class="">
Scenario:<br class="">
<br class="">
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.<br class="">
<br class="">
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.<br class="">
<br class="">
Expected behaviour: Kea 2 sees the unacked clients of Kea 1 and sets Kea 1 in partner-down state and handles all requests.<br class="">
<br class="">
Experienced behaviour: Kea 2 still reports HA_BUFFER4_RECEIVE_NOT_FOR_US and does not handle the requests<br class="">
<br class="">
Is there a misunderstanding or configuration mistake on my side?<br class="">
<br class="">
{<br class="">
"library": "/usr/local/lib/kea//hooks/libdhcp_ha.so",<br class="">
"parameters": {<br class="">
"high-availability": [<br class="">
{<br class="">
"this-server-name": "server2",<br class="">
"mode": "load-balancing",<br class="">
"heartbeat-delay": 10000,<br class="">
"max-response-delay": 60000,<br class="">
"max-ack-delay": 10000,<br class="">
"max-unacked-clients": 1,<br class="">
"delayed-updates-limit": 100,<br class="">
"peers": [<br class="">
{<br class="">
"name": "server1",<br class="">
"url": "<a href="http://192.168.248.1:8080/" data-auth="NotApplicable" class="">http://192.168.248.1:8080/</a>",<br class="">
"role": "primary",<br class="">
"auto-failover": true<br class="">
},<br class="">
{<br class="">
"name": "server2",<br class="">
"url": "<a href="http://192.168.248.2:8080/" data-auth="NotApplicable" class="">http://192.168.248.2:8080/</a>",<br class="">
"role": "secondary",<br class="">
"auto-failover": true<br class="">
}<br class="">
]<br class="">
}<br class="">
]<br class="">
}<br class="">
}<br class="">
<br class="">
Thank you,<br class="">
<br class="">
Mathias</div>
<div class="">
<div class="" style="color:rgb(0,0,0); font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; text-decoration:none; font-family:Calibri,sans-serif; font-size:11pt; margin:0cm 0cm 0.0001pt; line-height:22px">
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>