Project

General

Profile

Actions

Support #421

open

OAM: DHCP sync netinfra-01→02 via inotify (on-demand, not cron)

Support #421: OAM: DHCP sync netinfra-01→02 via inotify (on-demand, not cron)

Added by Charles N 1 day ago. Updated about 3 hours ago.

Status:
Feedback
Priority:
Low
Assignee:
Start date:
08/11/2026
Due date:
% Done:

0%

Estimated time:

Description

Currently the dhcpd.conf sync from netinfra-01 to netinfra-02 runs twice daily via cron (6am + 6pm). This means up to a 12-hour delay before a reservation change propagates to the failover peer.

Improvement

Replace cron-based sync with inotify-based: watch /etc/dhcp/dhcpd.conf for writes, trigger sync immediately on change. Near-zero latency, no polling overhead.

Implementation idea

  • incron or systemd path unit watching dhcpd.conf
  • On modify event: run existing sync-dhcp-config.sh (checksum-based, only restarts on change)
  • Remove the twice-daily cron entry

Priority: Someday/Maybe

Nice-to-have optimization. Current cron-based sync works; 12-hour max delay is acceptable for the rate reservations change. Not blocking any work.

Updated by Charles N 1 day ago Actions #1

  • Status changed from New to Feedback
  • Assignee set to Charles N
  • Priority changed from Normal to Low
  • Target version set to Phase 4: Monitoring & Instrumentation

Updated by Charles N about 4 hours ago Actions #2

  • Tracker changed from Bug to Support

Updated by Charles N about 3 hours ago Actions #3

  • Target version changed from Phase 4: Monitoring & Instrumentation to Phase 3: VM Standardization
Actions

Also available in: PDF Atom