Opened 2 years ago

Closed 2 years ago

#5464 closed enhancement (complete)

HA: Failure detection mechanism (v4)

Reported by: tomek Owned by: UnAssigned
Priority: medium Milestone: Kea1.4
Component: high-availability Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


The HADesign requires a failure detection algorithm. In principle, it should take into consideration at least the following inputs:

  • whether there are lease updates coming from a partner
  • whether our heartbeat requests are replied properly
  • whether we receive heartbeats from the other end
  • whether we see packets from clients with increased secs values that's supposed to be served by a partner
  • whether we received administrative notification that the partner is down
  • whether the partner sent a notification that it is shutting down

It is recommended the code to be extensible, so additional monitoring mechanisms could be developed in the future.

This ticket covers v4. For v6, see #5465.


Change History (4)

comment:1 Changed 2 years ago by marcin

  • Owner set to marcin
  • Status changed from new to accepted

comment:2 Changed 2 years ago by marcin

  • Owner changed from marcin to UnAssigned
  • Status changed from accepted to reviewing

I have implemented the simple partner failure detection algorithm for DHCPv4, based on the "secs" field value monitoring. It is unused until the DHCPv4 state machine is implemented.

This ticket is branched of the trac5463.

Proposed ChangeLog entry:

XX.	[func]		marcin
	Implemented HA peer failure detection algorithm for the
	DHCPv4 server. This is currently unused until the HA
	state machine for DHCPv4 is implemented.
	(Trac #5464, git cafe)

comment:3 Changed 2 years ago by marcin

The code must be compiled from branch trac5464 of premium and trac5457 of open source Kea.

comment:4 Changed 2 years ago by marcin

  • Resolution set to complete
  • Status changed from reviewing to closed

Reviewed and merged as part of the #5476.

Note: See TracTickets for help on using tickets.