Why Ceph high availability starts with failure domains
A Ceph cluster stays available through drive, host, rack and site failures only if the failure domains, redundancy scheme and recovery behavior are designed for your actual topology. Availability comes from how these pieces work together, not from any single setting. Monitor quorum keeps the cluster map consistent, replication or erasure coding decides how many copies or fragments of each object survive a loss, and CRUSH failure domains tell Ceph where those copies must sit so that one rack or room failing does not take out every replica. Network redundancy and recovery tuning then determine how quickly the cluster returns to full protection after a failure.
Defaults rarely match a real topology. A pool that is fine for three hosts in one rack can place replicas on the same chassis or switch in a larger build, and a CRUSH map that does not reflect your racks, rows or sites will not enforce the separation you assume. Before anything is purchased, confirm the number of hosts, racks and sites, how many drives each host carries, which bonded network links cross which switches, and what outage you must survive without data loss or loss of service. The Ceph hardware recommendations cover bonding network links across two switches and sizing for peak load, both of which affect how much failure you can absorb.
Ceph is licensed under LGPL and there is no paid edition from the project, so the design, testing and operation of high availability sit with your team or with a partner you engage. Nobody sells you a validated high availability configuration off the shelf. Ask for a written failure-domain map, a documented test plan that includes pulling a host and a rack, and a recovery time target agreed in advance. These are the items that turn a working cluster into one you can defend in an architecture or compliance review.
Which Ceph components decide whether data survives a failure
Ceph keeps data available only as long as its control plane, storage daemons and placement rules agree on where copies live. The cards below cover the components and topology choices that decide whether one failed disk, host, switch or room leaves data intact and reachable. Read them together, because a strong replication setting does not help if monitors lose quorum or every replica sits in one failure domain.
Monitors and quorum
Monitors (MONs) hold the cluster map and must agree on it, so they only make progress with a majority of monitors reachable. Run an odd number of monitors spread across separate hosts or racks, so losing one failure domain still leaves a majority. Check that monitor placement follows your failure domains, not the order in which hosts were added during bootstrap. A cluster that loses quorum stops accepting map changes even when every OSD is healthy.
Cephadm docsOSDs and per-device failure
Each OSD manages one storage device, so one failed drive removes one OSD and triggers recovery of the copies it held. Use a dedicated drive per OSD and keep WAL and DB on shared SSDs for HDD-based OSDs, as the hardware recommendations advise. Ask how many OSDs a single host carries, because a host with many OSDs puts a large recovery load on the rest of the cluster when it fails.
Hardware recommendationsManager daemon
The Manager (MGR) collects cluster statistics, runs orchestration modules and serves the Dashboard. Its failure does not stop client I/O, but it does stop monitoring, module-driven automation and some status views until a standby takes over. Confirm that at least one standby Manager is deployed on a different host, and include Manager failover in your health checks and alerting.
CRUSH map and failure domains
The CRUSH map describes hosts, racks and rooms as a tree and tells Ceph where each replica or erasure-coded chunk must land. The failure domain set in a CRUSH rule, such as host or rack, decides what the cluster can survive. Define the hierarchy from your actual power, network and rack layout, and test that a rule placing copies in separate racks still has enough racks to satisfy it after one fails.
Pools, replication and erasure coding
Each pool sets its protection method: replicated pools keep full copies, while erasure-coded pools split data into data and coding chunks to use less raw capacity. Replicated pools tolerate losing copies without recalculation, and erasure-coded pools trade that for capacity efficiency and more recovery work. Set the replica count and minimum replica count per pool deliberately, because a minimum that is too low lets writes proceed with too few copies.
Placement groups and recovery load
Placement groups (PGs) are the units Ceph moves during recovery, and their count affects how evenly data spreads and how much work each failure creates. Too few PGs concentrate data on few OSDs, while too many add overhead to peering and recovery. Tune recovery and backfill limits so rebuilding after a failure does not starve client traffic, and benchmark that balance on your hardware before go-live.
Messenger network and bonded links
All OSD, monitor and client traffic crosses the cluster network, so one link or switch failure can look like many daemon failures at once. Bond two network links with each link on a separate switch, and separate the public and cluster networks if your design calls for it. Verify that a switch reboot during a test keeps the cluster in service, and check that msgr2 secure mode is enabled where traffic crosses untrusted segments.
Messenger v2 docsRGW multisite zones
Multisite replication copies object data between zones, so a second site can serve S3 requests after a site loss, but replication is asynchronous and recovery depends on how far behind the secondary is. Decide how realms, zonegroups and zones map to your sites, and which zone is the metadata master. Confirm the recovery procedure, including how to fail over clients and what happens to writes that had not yet replicated.
Object Gateway docsReplication, erasure coding and multisite: which protection fits which data
This table compares replicated pools, erasure-coded pools, failure domain spreading within one site and RGW multisite replication for Ceph. Read each row as a decision: when the option fits, what it costs to operate, and what to confirm in the Ceph documentation before you commit to a layout.
| Option | When it fits | Operational cost | Confirm before committing |
|---|---|---|---|
| Replicated pool (RBD, CephFS metadata) | Block volumes, VM disks and metadata where low write latency and fast recovery matter more than capacity efficiency | Raw capacity equals usable capacity multiplied by the replica count, so usable space is the smallest share of raw space. Recovery copies whole replicas, which keeps write latency predictable. | Replica count, min_size behavior during failures, and how your CRUSH rule separates replicas across hosts, racks or sites |
| Erasure-coded pool (large data, RBD or CephFS data) | Large, mostly cold data such as archives, backups and media, where better capacity efficiency is worth extra CPU and recovery work | Better usable capacity than replication for the same failure tolerance, but recovery reads from many OSDs, which adds network and CPU load. Small random writes are typically slower. | Profile (k and m values), the minimum number of failure domains available, whether your workload needs partial overwrites, and CPU sizing guidance in the hardware recommendations |
| Single-site failure domain spreading | Any production cluster that must survive loss of a host, rack or power feed inside one building or campus | Mostly design and planning effort, plus a second network path and enough hosts or racks to satisfy the rule. Cost sits in extra hardware rather than extra software. | How CRUSH buckets map to your racks and power feeds, whether you have enough independent failure domains for the chosen pool, and how monitor quorum is placed |
| RGW multisite replication (object storage) | Object data that must survive loss of a whole site or serve users in another region, with asynchronous copies acceptable | Second zone hardware, a realm, zonegroup and zone design, and ongoing sync monitoring. Replication is asynchronous, so the secondary site can lag behind the primary. | Replication model and consistency behavior in the RGW multisite documentation, failover procedure for your applications, and how versioning and lifecycle rules interact with sync |
| Backup copy outside the cluster | Data that must survive logical errors, deletion or ransomware, which replication copies faithfully | Backup software or tooling, storage for backup copies, restore testing time. Recurring cost grows with retention. | Whether your backup tool supports the RBD, CephFS or RGW interfaces you use, and whether restores are tested on a schedule |
How to build a highly available Ceph cluster in order
This sequence moves from physical layout to tested failure behavior, so each layer of protection is in place before the next one depends on it. The result is a cluster that keeps data available when a drive, host, switch or rack fails, and that has been proven to do so before production load arrives.
Map failure domains to the physical layout
Before any software is installed, the team lists which hosts share a power feed, top-of-rack switch, rack or room, and records that map as the CRUSH hierarchy the cluster will use. The network and facilities teams confirm which components fail together. The step is done when every host and drive belongs to a named domain that can be drawn on one diagram and reviewed by the infrastructure owner. Ask the vendor or your own architects to confirm how many domains your replication or erasure-coding layout needs before you buy hardware.
Bootstrap the cluster with cephadm on a supported release
The platform team installs a release that is still maintained, such as Tentacle (20.2.x) or Squid (19.2.x), and bootstraps a single-node cluster with cephadm, which starts one Monitor and one Manager in containers. Hosts are then added with the orchestrator, so every daemon is deployed the same way. Confirm the release end-of-life dates on the Ceph releases page before choosing a version, because a cluster on an unmaintained release cannot receive backported fixes. The step closes when
ceph -sreports the cluster as reachable with the expected host count.Place monitors across independent hosts for quorum
Monitors hold the cluster map, and they keep operating only while a majority of them agree. The team deploys an odd number of monitors on hosts that sit in different failure domains, so losing one rack or switch does not remove quorum. Managers are placed the same way so a standby can take over. The step closes when
ceph quorum_statuslists every expected monitor in quorum and a test shutdown of one monitor host leaves the cluster serving I/O. Confirm with your architects how many monitors your failure-domain design can support.Add OSDs with dedicated drives and shared metadata SSDs
The storage engineers add one OSD per dedicated drive, following the Ceph hardware recommendations. HDD-based OSDs get their WAL and DB placed on shared enterprise-class SSDs, and metadata uses enterprise-class SSDs as well. Drives are tagged with device classes so later pools can target them. The step closes when
ceph osd treeshows every OSD up and in, placed under the hosts and domains defined earlier, and the device classes match the intended hardware. Benchmark the drives before buying at full scale, since the recommendations note that no two clusters behave alike.Bond network links across two switches
The network team configures each host with bonded links, with one leg on each of two switches, so a single switch failure leaves every host reachable. Cluster and public traffic are separated according to the design agreed earlier. The team tests each bond by pulling one leg and confirming that throughput drops but no OSD is marked down. The step closes when the failover test passes on every host class and the switch configuration is documented for the operations team. Ask your network vendor to confirm the bonding mode supported by your switch model.
Create pools with the chosen protection level
The team creates pools for block, file or object use, choosing replicated or erasure-coded protection per workload and setting the size and minimum size for each pool. Erasure coding trades more CPU and recovery work for less raw capacity, so the choice is recorded with the reason for it. The step closes when
ceph osd pool ls detailshows the intended size, min_size and crush rule for every pool, and the storage owners sign off on usable capacity against raw capacity. Pool sizing also depends on placement group planning, which the sizing guidance in the Ceph documentation covers.Set CRUSH rules to spread copies across domains
Each pool is bound to a CRUSH rule that selects a different failure domain for every copy or erasure-coded chunk, using the hierarchy built in the first step. The team confirms that no two copies of an object can land in the same host, rack or switch group, depending on the domain level chosen. The step closes when the rule dumps show the expected chooseleaf steps and a placement test confirms that objects map across the required domains. Any change to CRUSH after data is written triggers data movement, so review the rules with the architects before the first production write.
Tune recovery and prove the cluster survives a host drain
The operations team sets recovery and backfill limits so repair traffic does not starve client I/O, and documents the values chosen for normal and degraded operation. They then run a planned host drain on a non-production or staging copy, watch the cluster move from health warnings back to healthy, and confirm that all pools stay available during the drain. The step closes when the drain completes with
ceph -sreturning to HEALTH_OK and the recovery settings and test results are written into the runbook. Ask the vendor to confirm the current recovery tuning options for your release before changing defaults.
How recovery settings change the risk window
After a disk, host or rack fails, Ceph does not stop at the failure. It rebuilds the copies or erasure-coded shards that were lost by recovering data onto surviving OSDs, and backfill moves data to newly added or replaced devices. That rebuild traffic competes with client I/O for disk, CPU, memory and network. The length of time your data sits with reduced redundancy is the risk window, and the settings that control recovery speed decide how long that window stays open and how much user latency you accept while it is open. Decide both targets in writing before go-live: how quickly the cluster must return to full redundancy, and how much latency degradation the business will tolerate during that return.
Size memory for peak use, not calm periods. Recovery, scrubbing and peering all raise OSD memory demand above steady-state levels, and an OSD that runs short during a rebuild can make a bad day worse. Benchmark the actual hardware, drives, network and workload before you buy, because no two clusters are alike and vendor or community numbers describe someone else's configuration. The Ceph hardware recommendations give the sizing and benchmarking guidance to work from. Confirm the memory and network figures for your release against that document rather than against figures from a forum or a previous project.
Recovery throttles, such as the per-OSD limits on concurrent backfills and active recovery operations and the priority given to client operations, set the trade-off. Raise them and redundancy returns sooner, but users see slower responses. Lower them and users are protected, but the window of reduced redundancy grows. Find the values for your release in the Ceph documentation and in ceph config output, then measure them in a test cluster under a realistic failure: fail an OSD, record time to full redundancy and client latency at p99, and adjust. Repeat the test after any hardware change. Do not copy throttle values from another cluster or a blog post, because the right setting depends on your drives, network and load.
How high availability differs for single site, multisite and Kubernetes
A single-site cephadm cluster spreads Monitors, Managers, OSDs and gateways across racks so that the loss of one host, one drive or one rack does not stop the cluster. The CRUSH map is the main tool here: it defines the failure domains (host, rack or row) that replicas or erasure-coded chunks must span. Quorum for the Monitors requires a majority, so an odd number of Monitors placed in different racks is the usual starting point.
- Drive and host loss: Replicated or erasure-coded pools rebuild data on surviving OSDs when a drive or host fails, provided the failure domain has enough capacity left.
- Rack loss: Only protects you if CRUSH rules place copies in separate racks and the remaining racks can hold the data and quorum.
- Shared site exposure: Power feeds, cooling, the top-of-rack switch pair and the building itself are shared, so a site event takes the whole cluster down.
- Shared network exposure: Bonded links across two switches reduce switch risk, but a shared core or a misconfigured MTU can still partition the cluster.
- Recovery capacity: Plan free space and recovery bandwidth so rebuilds after a failure do not fill the remaining OSDs.
Confirm with your hardware vendor and network team how power, switching and failure domains map to the CRUSH hierarchy before you accept the design.
Multisite replication protects object data against the loss of an entire site by running RGW zones in more than one location, grouped into a zonegroup under a realm. Replication is asynchronous between zones, so a site failure can leave the most recent writes at the secondary site. That gap is the recovery point you must agree with the business, and it is separate from the local durability inside each cluster.
- Site loss: A surviving zone can continue to serve clients if applications and DNS or load balancers can reach it, which requires a failover procedure.
- Local failures: Each zone still relies on its own CRUSH and pool design, so multisite does not replace single-site durability.
- Not protected: Accidental deletes, ransomware or bad lifecycle rules replicate to the other zone, so multisite is not a backup.
- Extra planning: Realm, zonegroup and zone design, cross-site bandwidth for initial sync, and a metadata master choice must be documented before cutover.
- Shared dependencies: Identity systems, certificates and DNS used by both zones become shared failure points.
Ask the implementation partner to document the replication lag you can tolerate, the failover and failback steps, and which backup copy exists outside the replication path.
Rook runs Ceph daemons as Kubernetes workloads through its operator, so availability depends on both Ceph's placement logic and the Kubernetes scheduler. The Cephadm documentation points to Rook as the alternative deployment path for Kubernetes, and the operator handles daemon placement and some upgrades. Monitor and OSD placement must be constrained so that Ceph failure domains line up with physical nodes and racks.
- Node loss: Kubernetes reschedules pods, but OSDs on a failed node still need Ceph to rebuild data elsewhere, so the cluster needs spare capacity.
- Control plane loss: An outage in the Kubernetes API or etcd can block operator actions, even when Ceph data remains available.
- Shared cluster risk: A single Kubernetes cluster shared by all workloads adds upgrade and misconfiguration risk to the storage layer.
- Extra planning: Node labels, anti-affinity rules, dedicated disks per OSD, and separate networks for Ceph traffic need to be designed before deployment.
- Operator upgrades: Rook and Kubernetes versions must be matched to the Ceph release you run, which adds a coordination step.
Confirm the supported Rook and Ceph version pairs with the Rook documentation and test a node drain before you go live.
Securing the availability design against misuse and outages
A resilient Ceph layout can still lose data if traffic is exposed, keys are over-scoped, or one administrator can remove pools or OSDs without a second check. The cards below cover the controls that protect availability, and the hardening topic covers the full list.
Encrypt messenger v2 traffic
Ceph's messenger v2 protocol listens on port 3300. Its secure mode encrypts all traffic after authentication with AES-GCM and adds integrity checks, so a tampered or spoofed message cannot silently alter replication or recovery. Confirm that secure mode is enabled on every daemon and client path, and that older clients that cannot negotiate it are identified before enforcement.
Messenger v2 docsSeparate the cluster network
Keep OSD replication and recovery traffic on a dedicated cluster network, apart from client and administrative networks. A flood of client traffic or an exposed admin interface then cannot starve replication, which is what restores redundancy after a failure. Ask your network team to confirm bonded links across two switches for both networks and to document which subnets carry monitor traffic.
Restrict Dashboard and RGW exposure
The Dashboard and the Object Gateway should be reachable only from the networks that need them, behind a load balancer or proxy you control. Exposing an administrative interface widely invites misconfiguration or brute-force attempts that can lead to destructive changes. Check which SSO method you use for the Dashboard, and confirm that RGW endpoints are limited to approved client subnets.
Scope cephx keys
Cephx capabilities determine which pools and operations each client or service can use. Give applications keys limited to their own pools and avoid broad administrative keys for routine automation. A compromised backup job with a full-admin key could delete the data it is meant to protect, so review every key with ceph auth ls and remove those with more rights than their role needs.
Gate destructive operations
Pool deletion, OSD removal and changes to CRUSH rules can reduce redundancy or remove data in a single command. Decide in advance who may run these operations, require a second approver or change ticket, and keep pool deletion protection enabled where your Ceph release supports it. Confirm the exact safeguards for your version in the release notes before writing the procedure.
Audit administrative actions
Record who changed cluster state, from which host and account, and keep those logs outside the cluster they describe. Without this trail, an unexpected OSD removal during an outage is hard to explain and slow to reverse. Ask your team to define which events raise alerts and who reviews them each week.
Why replication is not a backup
Replication protects against losing a disk, a server or a rack, but it does not protect against deletion, corruption or attack. Ceph writes every object to several OSDs according to the pool's replica count or erasure-coding profile, so a bad write, an accidental rbd rm, a dropped CephFS subtree or a ransomware encryption pass is copied faithfully to every replica. Within seconds the healthy cluster holds the damage in several places at once. Treat the replicated cluster as the availability layer only, and plan a separate, independent copy of the data and of the configuration needed to rebuild it.
Ceph's Object Gateway offers multisite replication between zones, which is useful for keeping a second site close to current and for regional failover. It is not a point-in-time recovery mechanism. A deletion or overwrite in the primary zone is propagated to the secondary zone, and the secondary cannot roll back to a state from before the error. If you use RGW multisite, pair it with versioning, object lock where your deployment supports it, or a backup target that keeps historical copies. Confirm with the Ceph release you run which backup tooling supports RBD, CephFS and RGW, rather than assuming one tool covers all three interfaces. Check the Ceph Object Gateway documentation for the features your release provides.
Backups only count once a restore has been performed. Write restore procedures for each interface and for the cluster configuration, including the cephadm specification files, cephx keys, CRUSH map and monitor store, and record where each copy lives and who can reach it. Run a restore into an isolated environment on a schedule, time it, and compare the result against the source, because a backup that has never been restored is an assumption. Ask your backup vendor or internal team to confirm how long a full restore takes for your data volume, and make sure the restore path does not depend on the cluster it is meant to rebuild.
What drives the effort of a Ceph high availability design
This table lists the main factors that expand or shrink the work of designing Ceph for availability and data protection. Read each row as a lever: the first column names the driver, the second explains its effect on effort, and the third shows how to keep it under control.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Failure domains and sites | Each added host, rack, room or site multiplies CRUSH rules, monitor placement and failure tests that must be designed and verified. | Start with the failure domains your risk assessment requires, and add sites only when a stated recovery objective needs them. |
| Data volume and raw-to-usable ratio | Replication and erasure coding change how much raw capacity is needed, which affects recovery time after a failed disk or host. | Confirm the redundancy scheme per pool early, and size recovery windows against the volume each OSD must rebuild. |
| Number of pools and interfaces | RBD, CephFS and RGW each carry different protection, placement and client behavior, so each pool needs its own review. | Limit pools to distinct protection needs, and group workloads with the same durability requirement onto one pool. |
| Network and switch redundancy | Bonded links across two switches and separated public and cluster networks add design, cabling and failover testing. | Standardize the network template for all hosts and test switch and link failure once per template, not per host. |
| Hardware diversity | Mixed drive models, controllers and memory sizes make performance under recovery harder to predict and test. | Standardize hardware per failure domain, and keep spares of the same model so replacements match the existing layout. |
| Multisite replication scope | Replicating every bucket or pool across zones adds realm, zonegroup and zone design, plus failover and conflict procedures. | Limit multisite to the data that needs cross-site recovery, and keep other data in a single zone with tested backups. |
| Compliance evidence needs | Assessors may ask for documented failure tests, backup restore results, access logs and recovery time records, which adds collection and review work. | Confirm the evidence list with your assessor before design starts, and build test and logging steps into the plan from the beginning. |
| Number of environments | Production, disaster recovery and test clusters each need matching configuration, separate tests and their own upgrade path. | Keep environments built from the same cephadm specifications, and test failure scenarios in a smaller environment before production. |
How to test that Ceph fails safely before go-live
What should a drive pull test prove before a Ceph cluster goes live?
A drive pull test shows that losing one OSD leaves data available and that Ceph rebuilds redundancy without manual data copying. Before the test, the team should write down the expected behavior: the OSD is marked down, PGs enter a degraded state, and recovery starts from the surviving replicas or erasure-coded chunks. Record the cluster health output, the affected placement groups, client I/O latency during recovery, and the time until health returns to OK. The acceptance criterion should be agreed in advance, for example that no PG becomes inactive or unfound and that client reads and writes keep succeeding throughout. Confirm the exact health states and commands against the Cephadm and OSD documentation for your release, since they vary between versions. Run the test on production-like hardware, because recovery behavior depends on drive type, network and recovery tuning.
How do you test monitor failure without losing quorum in Ceph?
Reboot one monitor host while the remaining monitors hold quorum, and confirm the cluster keeps serving I/O. Ceph monitors use a majority vote, so a cluster with an odd number of monitors keeps quorum when one host is down. Before the test, write down the expected behavior: the monitor leaves quorum, the other monitors elect or continue, and clients see no interruption beyond brief retries. Record the quorum status, the monitor map epoch, any election messages in the logs, and whether the rebooted monitor rejoins quorum after it returns. The acceptance criterion should state that quorum is never lost and that the rebooted monitor rejoins without manual repair. Also confirm that the monitors are spread across failure domains, because two monitors on one rack or one switch do not provide the protection the design assumes. Check the Cephadm documentation for your release to confirm the monitor placement and orchestrator commands you will use.
How do you test a switch failure in a bonded network pair?
Disable one switch in the bonded pair and confirm that traffic continues over the surviving link without Ceph marking OSDs or monitors down. The Ceph hardware recommendations advise bonding network links across two switches, so this test checks that the bond and the switch design work as intended. Before the test, define the expected behavior: the bond fails over, throughput drops to the remaining link, and no OSD flaps. Record bond status on each host, interface error counters, OSD heartbeat messages in the logs, and cluster health during and after the failover. The acceptance criterion should require that no OSD is marked down because of the switch failure and that health returns to its prior state once the switch is restored. Confirm the bonding mode and switch configuration with your network team and vendor, since failover behavior depends on them. Run the test with realistic client load so that a failure that only appears under traffic is not missed.
How do you test draining a host before maintenance in Ceph?
Drain a host by marking its OSDs out or removing them through the orchestrator, then confirm that data moves off the host and the cluster reaches a healthy state. The test checks that the failure domain rules in your CRUSH map can place replacement copies elsewhere. Before the test, write down the expected behavior: PGs remap to other hosts, the drained OSDs empty over time, and no PG drops below its minimum replica or chunk count. Record the placement group states, the number of objects misplaced, the time the drain takes in your environment, and client latency during the move. The acceptance criterion should be that the drain completes without inactive PGs and that the host can be taken offline for maintenance afterward. Be sure the remaining hosts have enough capacity to absorb the data, because a drain that fits on paper can still fill other OSDs. Confirm the exact drain commands and their behavior for your release in the Cephadm documentation before running them on production hardware.
How do you test a zone failover in Ceph multisite?
Force a failover from the primary zone to the secondary zone in a test window and confirm that the workloads you expect to use the secondary can read and write as intended. Multisite failover is a decision with data consequences, so the test should follow a documented runbook and not be improvised. Before the test, define what the expected behavior is for each service: which buckets accept writes, how replication lag is measured, and how the team returns the primary role afterward. Record the replication status before the failover, the promotion steps and their timestamps, the RGW endpoints used by clients, and any objects that were not yet replicated. The acceptance criterion should name the data loss window you can tolerate and require a documented failback that restores the original topology. Confirm the realm, zonegroup and zone commands against the Object Gateway documentation for your release. Treat the test as a rehearsal of a decision, not a demonstration that failover is simple.
How do you test restoring Ceph data from backup?
Restore a sample of data from backup to a separate location and verify the restored content against known checksums or application-level checks. A backup that has never been restored is an unproven control, so this test matters as much as the failure tests above. Before the test, write down the expected behavior: the restore completes, restored objects or images match the source, and the applications that use them can open them. Record the backup job identifiers, the restore duration, the number of objects or images restored, validation results, and any gaps in the backup catalog. The acceptance criterion should specify the scope of the sample, the validation method, and the recovery point you can achieve from the backup set. Confirm how your chosen backup method handles RBD snapshots, CephFS data and RGW buckets, because each has different restore paths. Repeat the restore on a schedule, since a test that passed once does not prove the next backup is restorable.
What evidence should the team keep from Ceph failure tests?
Keep a dated test plan, the acceptance criteria signed before testing, the raw command output, logs and metrics from each run, and a record of every deviation from the expected behavior. Auditors, security reviewers and your own operations team will each ask for this evidence, and it is easy to lose if it is not captured during the test. For each test, store the cluster version, the hardware and network configuration, the exact commands run, and the person who ran and approved each step. Record any failed criterion as a finding with an owner and a retest date rather than editing the expected result to match what happened. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies decide whether the evidence meets a given standard. Ask your assessor early which records they expect, so the test evidence fits into that review.
What to monitor, back up, upgrade and document after go-live
A high-availability design only holds if someone watches it. The cards below cover what to measure after go-live, how to prove backups can be restored, which release line to stay on, and what to hand over so your team can run the cluster without the original builders.
Cluster health and recovery progress
Watch the overall health state, degraded and undersized placement groups, and how long recovery and backfill take after an OSD or host failure. Track recovery speed against the throughput limits you set during tuning, because recovery traffic competes with client I/O. Record a baseline during a planned maintenance drain so you know what normal recovery looks like on your hardware. A cluster that stays in a degraded state for longer than your baseline has a problem worth investigating before a second failure arrives. Alert on the trend, not only on the first warning.
Cephadm docsMonitor quorum and manager health
Ceph's monitors hold the cluster map and need a majority to make decisions, so the number of monitors and where they sit matters as much as their count. Alert when a monitor leaves quorum, when a monitor restarts repeatedly, and when the active manager fails over. Confirm that monitors are spread across failure domains such as racks or power feeds, not packed onto one host. Test a planned loss of one monitor during the acceptance window and confirm the cluster stays writable. Document the expected quorum membership in your runbook.
Capacity headroom and full-ratio limits
Plan capacity so the cluster can lose a failure domain and still rebuild its redundancy without filling up. Track raw and usable capacity per pool, and per device class, because a single pool can fill while others look healthy. Set alerts well before the nearafull and full thresholds, and agree who acts when they fire. Remember that the capacity left after a host failure is what your replication or erasure-coding layout must absorb during rebuild. Ask your partner to show the headroom calculation for your failure domain design in writing.
Replication lag in multisite
If you run RGW multisite replication, measure sync status between zones and track the age of the oldest unsynced object. Replication lag is a recovery point risk: a site disaster loses whatever has not yet replicated. Set a lag threshold that your recovery objectives allow, and alert when a zone stops reporting sync progress. Test a failover of a single bucket or zone in a non-production window so the procedure and its timing are known. Record the sync topology in your diagrams so operators can see which zone is the source for each bucket.
Backup job results and restore tests
Ceph's replicas and erasure coding protect against hardware failure, not against deletion, corruption or ransomware, so backups stay a separate control. Confirm each backup job's success and its size trend, and keep backups in a failure domain that the production cluster cannot delete. Schedule restore tests that rebuild a sample of RBD images, CephFS paths and RGW buckets into a separate target and compare checksums. A backup that has never been restored is an assumption, so record the date, the scope and the result of every restore test.
Upgrade path on a maintained release
Choose a release line that the project still maintains and plan the next upgrade before the current one ends. Tentacle (20.2.x) is the actively maintained release in the supplied facts, first released November 18, 2025, with an estimated end of life of June 1, 2027. Squid (19.2.x) has an estimated end of life of October 31, 2026, so clusters on Squid need a dated upgrade plan. Keep a rolling upgrade order, a health check before and after each step, and a tested rollback point. Confirm current release status on the Ceph releases page before you commit to a date.
Ceph releases pageRunbooks and diagrams to hand over
Before handover, ask for a runbook set that your on-call team can use without the builders: failed disk replacement, monitor replacement, host drain, pool expansion, capacity alert response, backup restore, and site failover. Add diagrams that show hosts by failure domain, monitor placement, network bonding across switches, replication topology and the RGW zone layout. Each runbook should name the command or dashboard view, the expected result and the escalation contact. Ask for these artifacts in the statement of work so they are reviewed and accepted, not treated as optional extras.
How much effort and cost does a Ceph high availability design take?
Can our internal team design Ceph high availability without a partner?
Yes, if you have engineers who already run distributed storage and can test failures in a non-production copy of your environment. The design depends on choices that are hard to reverse: how many failure domains you have, whether pools are replicated or erasure coded, and how many monitors you place across racks or sites. Most teams struggle less with the initial design than with proving it under failure, because that requires controlled tests of host loss, network partitions and recovery under load. Ask whether your team has done those tests on a cluster of similar size, and whether anyone will own the design after go-live.
What inventory and data do we need to give before a Ceph design starts?
A design needs concrete inputs before anyone can size failure tolerance. Prepare these four groups:
- Hardware inventory: host count, drives per host, drive types, memory, and whether metadata devices are enterprise-class SSDs
- Network layout: link speeds, bonding across two switches, rack and power placement, and any site-to-site links
- Workload profile: block, file and object demand, read and write mix, and growth expected over the planned life of the hardware
- Failure requirements: how many host, rack or site losses the service must survive, and how long recovery can take before the business is affected
The Ceph hardware recommendations also ask you to benchmark before buying, since no two clusters behave alike.
How long does a Ceph high availability design and failure test take?
Duration depends on scope, not on a fixed template. A single cluster with one site and standard replicated pools takes less time than a multi-site design with erasure-coded pools, custom CRUSH rules and object multisite replication. Time is spent on inventory review, failure-domain mapping, pool layout, recovery tuning, and then failure tests, each of which needs a maintenance window and a rebuild period. Ask any provider for the phases in writing, the number of failure scenarios covered, and which of those run on your hardware rather than a lab. This page does not state a duration because it depends on your environment.
What cost components should we expect in a Ceph high availability project?
Costs fall into one-time and recurring groups. One-time costs include design work, any extra hardware needed for failure tolerance (more hosts, more drives, a second switch path), the test environment, and the initial failure tests. Recurring costs include staff time for monitoring, capacity planning, upgrades and drill exercises, plus any support agreement. Redundancy is the largest hidden cost: replicated pools and erasure-coded pools both store extra data, so usable capacity is lower than raw capacity. Ask a quote to show raw capacity, usable capacity under each pool type, and which items are hardware, labor or licensing.
What does a fixed-scope Ceph high availability quote include?
A fixed-scope quote should state, in writing before work starts, the deliverables, the environments covered and the acceptance criteria. For high availability, expect items such as a review of your hardware and network inventory, a failure-domain and CRUSH layout, monitor placement, pool design, recovery tuning settings, a written runbook, and a set of failure tests with recorded results. A quote should also list what is excluded, such as hardware procurement, data migration, or ongoing monitoring. DeployOpen plans and implements these engagements on fixed scope, and prices follow from the written scope rather than a published list.
Is a partner worth it for the design review and failure testing?
A partner is most useful when the design is hard to change later and when your team has not yet run failure tests at this scale. An independent review can catch problems such as too few failure domains for the replica count, monitors placed where a single rack loss breaks quorum, or recovery settings that let rebuilds slow production I/O. Weigh the cost of a review against the cost of a failed design. If you use a partner, ask who runs the failure tests, whether your engineers attend, and whether you receive a retest after fixes.
What goes wrong when Ceph high availability is designed without testing?
The most common problems appear during the first real failure. A design may look correct on paper but fail when a host, switch or rack is removed under load, because recovery traffic competes with client I/O, placement groups stay degraded longer than expected, or monitor quorum is lost because too few monitors survive. Teams also find that backups and multisite copies were never validated for restore. Ask whether the design includes a written list of failure scenarios, expected behavior for each, and the steps to confirm recovery completed.
Which Ceph release should a high availability design target today?
Target a release that the project still maintains. According to the Ceph releases page, Tentacle (20.2.x) and Squid (19.2.x) are the actively maintained releases, and Squid's estimated end of life is October 31, 2026. Designs that run past that date will need an upgrade plan, which affects failure testing because upgrades are themselves a source of risk. Confirm the current release status on the Ceph active releases page before you fix the target version in a quote.
How failure domains, monitors and sites fit together
The diagram starts at a single site, where client workloads reach the cluster through bonded network links to two switches. Each host sits in a rack, and each rack is a failure domain that CRUSH uses to place replicas, so one rack loss should not take out every copy of an object. Three monitors run on independent hosts and form the quorum that keeps cluster maps consistent, so a monitor failure does not stop the cluster. The second site receives data through RGW multisite replication, which is a separate recovery path from replication inside the first site. Confirm each rack and monitor placement against your own hardware before relying on it.
Racks as failure domains, monitors on independent hosts, and RGW multisite to a second site.
What the team receives when the design is handed over
The handover package turns the design into artifacts your operations team can review, test and run without us in the room. Each item closes with the check your team uses to accept it before the design is signed off.
Failure domain map
We deliver a map of the hosts, racks, rooms or sites that CRUSH uses as failure domains, showing which OSDs, monitors and managers sit in each one. The map states which single failure or combination of failures the design is meant to survive, and which it is not. Your team accepts it by walking the map against the physical inventory and confirming that every device appears once, in the domain your facilities team says it occupies.
CRUSH rule and pool inventory
We deliver an inventory of every pool with its type (replicated or erasure-coded), replica count or erasure profile, minimum size, CRUSH rule, device class and the failure domain each rule targets. Protection settings are listed next to the capacity each pool consumes, so raw and usable figures can be read side by side. Your team accepts the inventory by checking each pool against the failure domain map and confirming that no pool can place all copies within one domain.
Network diagram with bonded links
We deliver a diagram of the public and cluster networks, the bonded host links, the switch pairs they land on and the routes between them. It shows where monitor traffic, OSD replication and client traffic travel, and how the design behaves if one switch or one link fails. Your network team accepts it by tracing a failed link on the diagram and confirming that the cluster stays reachable from every monitor host.
Recovery and throttle settings with rationale
We deliver the recovery, backfill and scrub settings in effect, each with a short written reason tied to the hardware and the workload. The document states which values were changed from defaults, the metric that justified the change, and the value to revisit if client latency rises during recovery. Your team accepts it by confirming that every non-default setting has a recorded reason and an owner.
Test results against acceptance criteria
We run the failure tests agreed in the scope, such as a monitor loss, an OSD loss, a host loss and a switch failure, and record the observed health state, recovery time and any client impact against criteria written before the tests. Results are delivered with the raw health output and the decisions taken on each failed criterion. Your team accepts the test set when every criterion is marked passed or carries an agreed fix and a retest date.
Backup and restore runbook
We deliver a runbook that covers what is backed up (for example RBD snapshots, exports or a second cluster), where the copies live, how often they run and how a restore is performed and verified. It includes a restore into an isolated target and the steps for a full cluster rebuild from backups. Your team accepts the runbook by performing one restore into a test target from the runbook alone and confirming that the restored data matches the source.
Upgrade and monitoring plan
We deliver a plan for keeping the cluster on a maintained release, including the upgrade order for monitors, managers, OSDs and gateways, the health checks that gate each step, and the alerts that page your team. Release timing is taken from the Ceph releases page at handover, and the plan names who approves each upgrade window. Your team accepts it by running the pre-upgrade health checks on a staging cluster and confirming that the alerts fire on a deliberate test condition.
How DeployOpen scopes, builds and supports Ceph availability work
DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure, including Ceph. For high availability and data protection, we start from your failure domains and recovery requirements, build the cluster to match them, and test the failures it is meant to survive before handing it over.
How we scope
- Written scope lists the failure domains, pools, monitor placement and recovery targets agreed before work starts.
- We review hardware, network bonding across two switches and drive layout against the scope and your workloads.
- Multisite, backup and RGW requirements are defined as separate deliverables so each can be quoted and tested.
How we build
- We deploy the cluster with cephadm or Rook, as agreed, and configure monitor quorum and placement across hosts.
- Replication or erasure coding is set per pool so data survives the loss of the failure domains defined in scope.
- Recovery tuning and backup jobs are configured, then exercised with controlled host, disk and network failure tests.
How we hand over
- You receive documentation of the failure domain map, pool settings, recovery parameters and backup procedures.
- Runbooks cover failed OSD replacement, monitor recovery, degraded-state checks and restore from backup.
- Test results are delivered with the configuration so your operations team can repeat and verify them.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, including planned upgrades to maintained releases.
- Before quoting, confirm with us which Ceph release, hardware and network design your environment will use.

