Actions
Support #421
openOAM: 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)
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 about 4 hours ago
- Tracker changed from Bug to Support
Updated by Charles N about 3 hours ago
- Target version changed from Phase 4: Monitoring & Instrumentation to Phase 3: VM Standardization
Actions