Remote Replication
Cheat sheet · https://pcornel.dk/topic.php?topic=4238
Answer
The relationship adds WAN/LAN reachability, bandwidth, latency, security, routing, target-site capacity and operational ownership dependencies. Distance may improve failure isolation while increasing convergence time and complexity.
Remember
- Remote ≠ independent if control plane, credentials or replication policy are shared.
- WAN reachable ≠ replication current.
- Target current ≠ target service dependencies ready.
- Encryption in transit ≠ backup immutability.
First checks
ping/iperf3 to remote site— link capacityreplication lag metric— behindzfs list -r <remote>— remote snapshots
Commands
zfs receive -s
Verify in this order
source site → WAN → DR site
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 → Remote Replication proof map
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Change capture, queue/transport, target apply and currency checkpoint | A healthy adjacent component is not end-to-end proof |
| Failure boundary | Remote replication proves data transfer across the configured site boundary through an observed checkpoint; it does not prove the remote service can assume production. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Remote Replication: 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=4238