Automation · Source of Truth
Synchronization
Cheat sheet · https://pcornel.dk/topic.php?topic=5860
Answer
Synchronization keeps a source of truth and other systems aligned, such as syncing NetBox devices to monitoring or DNS, in one direction from the authoritative source.
Remember
- Sync one way from the authority.
- Run on schedule or on events.
- Log conflicts.
First checks
- Sync jobs (SoT → DNS/DHCP/monitoring) — downstream
- Sync logs and errors — reliability
- Direction and ownership per field — conflicts
Verify in this order
SoT → sync job → downstream systems
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5860