<div dir="ltr">Hi Peter,<div><br></div><div><div>but only one  </div><div>HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED message.</div><div><br></div><div>2023-05-15 16:07:30.127 INFO  [kea-dhcp4.ha-hooks/32411.139751579436800] HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED [hwtype=1 34:98:b5:dc:1f:99], cid=[no info], tid=0x4be21c7f: partner server failed to respond, 1 clients unacked so far, 13 clients left before transitioning to the partner-down state</div><div>-----> ok, but this seems to not apply to my first test case </div><div>(i.e Where I have no active leases on both servers and started only one server after 6 iterations it went to partner down)<br></div><div>2023-05-15 15:18:07.006 INFO  [kea-dhcp4.ha-hooks/27021.140594439104704] HA_INIT_OK loading High Availability hooks library successful.</div><div><br></div><div><div>Logs of my first test case:</div><div>=====================</div>2023-05-15 15:18:07.014 INFO  [kea-dhcp4.ha-hooks/27021.140594439104704] HA_LOCAL_DHCP_DISABLE local DHCP service is disabled while the dhcp1 is in the WAITING state<br>2023-05-15 15:18:07.014 INFO  [kea-dhcp4.ha-hooks/27021.140594439104704] HA_SERVICE_STARTED started high availability service in load-balancing mode as primary server<br>2023-05-15 15:18:17.027 WARN  [kea-dhcp4.ha-hooks/27021.140594206709504] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:18:27.899 WARN  [kea-dhcp4.ha-hooks/27021.140594198316800] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:18:37.909 WARN  [kea-dhcp4.ha-hooks/27021.140594215102208] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:18:47.919 WARN  [kea-dhcp4.ha-hooks/27021.140594223494912] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:18:58.730 WARN  [kea-dhcp4.ha-hooks/27021.140594198316800] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:19:09.245 WARN  [kea-dhcp4.ha-hooks/27021.140594223494912] HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to dhcp2 (<a href="http://192.168.0.126:8001">http://192.168.0.126:8001</a>): Connection refused<br>2023-05-15 15:19:09.245 WARN  [kea-dhcp4.ha-hooks/27021.140594223494912] HA_COMMUNICATION_INTERRUPTED communication with dhcp2 is interrupted<br>2023-05-15 15:19:09.245 INFO  [kea-dhcp4.ha-hooks/27021.140594223494912] HA_STATE_TRANSITION server transitions from WAITING to PARTNER-DOWN state, partner state is UNDEFINED<br></div><div><br></div><div>Can you guide me on how this worked?</div><div><br></div></div><div>Thanks </div><div>Kraishak </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 2:31 PM Peter Davies <<a href="mailto:peterd@isc.org">peterd@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div><div>Hi Kraishak,</div><div>   Looking at your log file, it appears that "Server A" only saw one unacked </div><div>client, so it didn't transform to a partner-down state. I see several </div><div>HA_COMMUNICATION_INTERRUPTED_CLIENT4 messages </div><div>but only one  </div><div>HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED message.</div><div><br></div><div>2023-05-15 16:07:30.127 INFO  [kea-dhcp4.ha-hooks/32411.139751579436800] HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED [hwtype=1 34:98:b5:dc:1f:99], cid=[no info], tid=0x4be21c7f: partner server failed to respond, 1 clients unacked so far, 13 clients left before transitioning to the partner-down state</div><div><br></div><div>Your configuration contains the following statement: </div><div>   "max-unacked-clients": 13</div><div>The "max-ack-delay" parameter has a default value of 10000 ms.</div><div>I suggest you check that your traffic generator correctly increments the "secs" </div><div>field and to modify your HA settings appropriately.</div><div><br></div><div>From the Kea ARM:</div><div><br></div><div>HA_COMMUNICATION_INTERRUPTED_CLIENT4</div><div>%1: new client attempting to get a lease from the partner</div><div>This informational message is issued when the surviving server observes a DHCP </div><div>packet sent to the partner with which the communication is interrupted. The </div><div>the client whose packet is observed is not yet considered “unacked” because the </div><div>secs field value does not exceed the configured threshold specified with </div><div>max-ack-delay.</div><div><br></div><div>HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED</div><div>%1: partner server failed to respond, %2 clients unacked so far, %3 clients left before transitioning to the partner-down state</div><div>This informational message is issued when the surviving server determines that </div><div>its partner failed to respond to the DHCP query and that this client is considered </div><div>to not be served by the partner. The surviving server counts such clients, and if </div><div>the number of such clients exceeds the max-unacked-clients threshold, the server </div><div>will transition to the partner-down state. The first argument contains client </div><div>identification information. The second argument specifies the number of clients </div><div>to which the server has failed to respond. The third argument specifies the number </div><div>of additional clients, which, if not provisioned, will cause the server to transition </div><div>to the partner-down state.</div><div><br></div><div>Kind Regards Peter</div></div></div></div></blockquote></div>