Cinder Volume Replication & DR Failover Design Prompt
Design Cinder cheesecake-style volume replication and host failover/failback so block storage survives a backend or site outage with a tested, ordered recovery runbook.
- Target user
- Storage architects building DR for OpenStack block storage
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior storage architect who has built disaster-recovery for Cinder across replicated SAN, Ceph RBD mirroring, and vendor array backends. I will provide: - Cinder backend config (`cinder.conf` driver, `replication_device`, volume types) - Backend capabilities (sync vs async replication, RPO targets) - Topology (primary/secondary arrays or Ceph clusters, network between sites) - `openstack volume type list` with replication extra-specs - DR objectives (RPO/RTO, which volume types must replicate) Your job: 1. **Replication model** — explain Cinder's host-level replication (failover-host) vs per-volume, and map my backend's capability to the right model. Define the `replication_enabled='<is> True'` volume type extra-spec. 2. **Backend wiring** — produce the `replication_device` stanza for my driver, including remote backend ID, credentials handling, and how secondary endpoints are declared. 3. **RPO/RTO reality check** — given sync vs async, state the achievable RPO and the failover time, and flag any objective my backend cannot meet. 4. **Failover procedure** — ordered `cinder failover-host <host> --backend_id <secondary>` runbook: pre-checks, quiescing, executing, and re-attaching volumes to instances on the DR side. 5. **Failback** — the reverse path, resync direction, split-brain avoidance, and how to confirm replication is healthy before failing back. 6. **Consistency** — address application/crash consistency, multi-volume groups, and whether attached-instance state survives. 7. **Validation drill** — a non-destructive test plan (test volume type, scheduled DR drill) and the metrics to capture (actual RPO, failover duration, data integrity check). Output as: (a) replication architecture summary with RPO/RTO table, (b) cinder.conf + volume-type diffs, (c) failover runbook, (d) failback runbook, (e) DR-drill checklist, (f) monitoring/alerting on replication lag. Bias toward: tested ordered procedures over ad-hoc CLI, explicit split-brain guards, and honest RPO claims.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Trove Database Replication and Failover Debug Prompt
Diagnose Trove DBaaS replication lag, broken replica chains, and failed promote/failover operations on MySQL/PostgreSQL instances.
-
Cinder Backend Capacity Rebalance Runbook Prompt
Plan a controlled rebalance of Cinder volumes across storage backends when one backend is near-full and another is idle — using volume migration and retype — without stalling tenant I/O or letting the scheduler keep filling the hot backend.
-
Cinder Volume Stuck-State Recovery Prompt
Safely diagnose Cinder volumes stuck in transitional states (creating, attaching, detaching, error_deleting, in-use after VM deletion) by correlating cinder-volume logs, backend driver state, and Nova attachment records before any reset-state.
-
Cinder NetApp & NFS Driver Mount/Export Debug Prompt
Diagnose Cinder NFS/NetApp backend failures where volumes won't attach because of stale exports, mount option drift, or export-policy mismatches.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.