Pcornel
Automation · Storage Automation

Replication Automation

Cheat sheet · https://pcornel.dk/topic.php?topic=5751

Back to the Topic

Answer

Replication automation configures and monitors storage replication — zfs send/receive, DRBD, array replication, rsync — checking lag and alerting when copies fall behind.

Remember

  • Replication: zfs send/receive, DRBD, array replication.
  • Monitor replication lag.
  • Test failover.

First checks

  • syncoid <src> <dst> — ZFS replication
  • rbd mirror pool status <pool> — Ceph mirroring
  • Replication lag alert — monitoring

Verify in this order

source → replication job → target → lag check

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=5751

Confirmation

Confirm action

Continue?