Pcornel
Storage · Replication

Failback

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

Back to the Topic

Answer

The workflow establishes which side is authoritative, synchronizes divergent changes in the safe direction, verifies currency, performs a controlled ownership cutback and restores normal protection topology.

Remember

  • Failback ≠ simply powering the old source on.
  • Former primary ≠ authoritative after failover.
  • Reverse replication complete ≠ clients moved.
  • Cutback complete ≠ normal protection restored.

First checks

  • zfs send -i ... (reverse) — reverse replication
  • Set-VMReplication -Reverse — Hyper-V
  • rbd mirror image demote/promote — Ceph

Verify in this order

DR active → reverse sync → planned switchover

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Replication → Failback proof map

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathChange capture, queue/transport, target apply and currency checkpointA healthy adjacent component is not end-to-end proof
Failure boundaryFailback proves return of ownership only when data authority is reconciled, clients use the intended source and forward protection is re-established.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Failback: source and target identity/ownership are unambiguous, replication advances through the expected checkpoint, target apply succeeds, and the required read-back or promotion test matches the protected state.Close only after original read-back/recovery test and protection-state verification

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4241

Confirmation

Confirm action

Continue?