Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Kea
Kea
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 414
    • Issues 414
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 67
    • Merge Requests 67
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #1065

Closed
Open
Opened Dec 18, 2019 by Peter Davies@peterdDeveloper

Inaccurate Counters in HA

from RT#15534: Kea API - Statistics & HA - Inaccurate Counters and Unable to get HA

I'm unsure why this is, but the statistics for my subnets in Kea aren't right when I query each server in HA. It seems the active server returns the correct statistics, but then the backup one returns its last known best statistics

HA uses commands in the Lease Commands hook library to send lease updates to peer(s). These commands do not (yet) update the local statistics, thus adding, updating (state), or deleting a lease via these commands does NOT update the related lease statistics. . Thus in an HA pair (or any other multi-server setup), the number of assigned leases reflects the number of addresses assigned by THAT peer.

Edited Jun 16, 2020 by Tomek Mrugalski
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
kea1.8.0
Milestone
kea1.8.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: isc-projects/kea#1065