Building a multi-node Ceph cluster for object storage

Ceph provides a flexible way to build S3-compatible object storage from commodity servers. Instead of placing data on one storage appliance, it distributes objects across multiple nodes and protects them through replication or erasure coding. That architecture suits infrastructure teams that need capacity growth, hardware independence, and control over where data is held.

A useful deployment begins with a clear workload definition. Backup repositories, application uploads, media files, log archives, and research datasets have different performance and durability requirements. Object storage is excellent for large collections of independently addressed files, but it is not a universal replacement for a shared filesystem or a transactional database.

Australian organisations also need to think about geography and operational distance. A cluster in Sydney may serve local applications efficiently, while workloads in Melbourne, Brisbane, or Perth can experience different latency and bandwidth costs. Internet transit, data-centre power pricing, hardware availability, and skilled support all affect the real cost of an installation.

The most reliable Ceph projects treat the cluster as a production platform rather than a collection of disks. Network design, failure domains, monitoring, recovery procedures, and capacity forecasting matter as much as the initial installation. A small proof of concept can run on modest equipment, but production object storage needs deliberate engineering.

Define the storage service before buying hardware

Start by recording the expected object count, average object size, ingest rate, read pattern, retention period, and recovery point requirements. A backup target may receive large sequential writes and occasional reads, whereas an application storing thumbnails may generate many small objects. These patterns influence disk type, network speed, pool configuration, and gateway tuning.

Decide whether the service needs standard S3 features such as buckets, access keys, lifecycle policies, versioning, multipart uploads, and object locking. Ceph’s RADOS Gateway, commonly called RGW, provides an S3-compatible interface, but compatibility should be tested against the actual applications. S3-compatible does not always mean identical behaviour across vendors.

A cost comparison should include rack space, electricity, support contracts, replacement drives, software administration, and connectivity. Karl Katzke’s discussion of cloud versus in-house is useful context when deciding whether owning infrastructure produces a genuine operational advantage. In Australia, a higher local hardware price may still be justified when predictable data residency and network performance are important.

Build a fault-tolerant physical and network foundation

A practical starting point is three or five Ceph monitor nodes, with an odd number used to maintain quorum. Monitor nodes should use reliable SSDs, stable time synchronisation, and independent power where possible. Manager daemons can run alongside monitors, while OSD daemons normally use dedicated storage devices and should be distributed across separate hosts.

Avoid designing around a single switch, power circuit, or server chassis. Two network switches with redundant uplinks provide a better failure model than one large switch. Ceph benefits from separate client and cluster traffic, although a high-speed, carefully engineered converged network can work for smaller environments. Ten or twenty-five gigabit Ethernet may be appropriate for serious deployments, while a one-gigabit network can become a recovery bottleneck.

Use enterprise SSDs for databases, write-ahead logs, and metadata where the design calls for them. HDDs offer economical bulk capacity, but consumer disks often have poor endurance, inconsistent firmware, and limited support. Check drive-sector format, controller passthrough, firmware compatibility, and thermal behaviour before placing equipment in production.

Install Ceph with repeatable administration

For current deployments, cephadm provides a practical installation and lifecycle path. Prepare supported operating systems, fully qualified hostnames, SSH access, consistent package repositories, and working DNS before bootstrapping the first monitor. Then add hosts, deploy managers, create OSDs, and configure the required RGW services.

A minimal cluster should be tested as a failure system from its first day. Stop an OSD, disconnect a host, reboot a monitor, and verify that clients continue operating. Check quorum behaviour and confirm that the cluster becomes healthy again after the fault is removed. Recovery traffic can consume substantial bandwidth, so measure how long the cluster takes to return to a safe state.

Create pools with an explicit protection strategy. Three-way replication is straightforward and usually provides strong operational resilience, but it consumes roughly three units of raw capacity for each unit of usable data before overhead. Erasure coding can improve capacity efficiency for large, rarely modified objects, although it brings more complex recovery and may be less suitable for small or frequently rewritten data.

RGW should be deployed across more than one host and placed behind a load balancer or DNS strategy that matches the application. Use TLS, separate administrative and tenant credentials, and lifecycle policies for temporary content. Test bucket quotas, version cleanup, object-lock requirements, and multipart upload handling before migrating a large dataset.

Measure health, performance, and recovery

Ceph’s health output is an essential starting point, not a complete monitoring system. Track monitor quorum, OSD up and in status, placement-group states, recovery activity, latency, disk utilisation, network errors, and the ratio of near-full to raw capacity. Prometheus and Grafana integrations can provide dashboards, while alert routing should reach someone who can act on it.

Object storage needs application-level measurements as well. Record request latency, failed PUT and GET operations, authentication errors, incomplete multipart uploads, and bucket growth. A cluster may appear healthy while an incorrectly configured gateway, certificate, or load balancer is quietly causing user-facing failures.

Set capacity alerts well before the hard-full threshold. Leaving room for rebalancing and recovery is particularly important in smaller Australian facilities where replacing a failed drive may involve shipping delays. Keep compatible spares locally, document serial numbers, and know whether replacement equipment can be sourced quickly in Sydney, Melbourne, or the nearest regional centre.

Backups of Ceph configuration, RGW credentials, bucket metadata, and encryption keys need their own protection. Replication inside the same cluster does not protect against operator error, ransomware, a faulty software change, or a site-wide incident. If the data is important, maintain a separate recovery copy or a second location with tested restore procedures.

Plan security, compliance, and ongoing support

Use network segmentation to limit access to monitors, managers, OSDs, and gateways. Clients should reach the object gateway rather than the storage control plane. Apply least privilege to S3 users, rotate keys, enforce TLS certificates, and send audit and authentication logs to a protected logging service. Encryption at rest may be necessary for sensitive workloads, but key management must be designed alongside it.

Australian privacy obligations should be assessed before selecting a storage location. The Privacy Act 1988 and Australian Privacy Principles can affect personal information, disclosure, retention, and security practices, while sector-specific requirements may apply to finance, health, education, or government workloads. Data sovereignty is also a contractual concern even where legislation does not require all information to remain in Australia.

Support planning deserves a line item in the budget. An internal team should know how to replace an OSD, expand a pool, recover a failed monitor, rotate certificates, and upgrade Ceph without disrupting clients. Independent market research, such as the resources available from SMB technology research, can help compare infrastructure approaches and identify expectations among smaller Australian businesses.

Practical recommendations for a dependable deployment

A sound implementation can begin with the following operating rules:

  • Use at least three physical hosts for production quorum and avoid placing all failure-critical services in one chassis.
  • Keep client traffic separate from replication and recovery traffic, using redundant switching where the budget permits.
  • Prefer enterprise-grade SSDs and HDDs with documented endurance, firmware support, and local replacement availability.
  • Select replication or erasure coding per workload rather than applying one protection method to every pool.
  • Test S3 compatibility, TLS, authentication, versioning, lifecycle policies, and large multipart uploads before migration.
  • Monitor capacity, latency, quorum, OSD state, recovery time, and gateway errors with actionable alerts.
  • Maintain an independent backup or secondary copy and perform scheduled restoration exercises.

Document the design in terms of failure domains, not just device names. A server failure, switch failure, rack failure, and site failure are different events and require different protections. Record which pools can tolerate each event, how much usable capacity remains, and what service degradation users should expect during recovery.

Review the design after the first month of real traffic. Small objects, unexpected access patterns, or aggressive backup schedules can expose weaknesses that synthetic benchmarks miss. Use those observations to adjust gateway placement, pool settings, network capacity, and alert thresholds before the cluster becomes difficult to change.

A carefully engineered Ceph object platform can deliver strong control over data placement and a clear path to expansion. Begin with a measured pilot, test failure and restoration procedures, and capture the operational knowledge in runbooks. Then move production workloads in stages, with monitoring and rollback plans active from the first migration.

Experience

Information Technology Consulting

Independent Practice

Provides IT consulting services focused on infrastructure planning, cloud migration strategy, and systems architecture. Engagements draw on years of hands-on sysadmin and development experience across Linux, Windows, and hybrid environments.

K9 Search & Rescue Volunteer

Ongoing

Active participant in K9 Search & Rescue operations, combining technical logistics skills with field support for canine search teams.

Karl Katzke's Blog

October 2006 – May 2014

Published a long-running personal technology blog covering cloud vs. in-house infrastructure, F# and Mono on OSX, hardware vendor critiques, RAID card performance analysis, and sysadmin storytelling. Notable posts include "When Sysadmins Ruled the Earth" (May 15, 2014) and "Getting Started with F# and Mono on OSX" (December 22, 2012).

Credentials

A small badge icon with a shield shape in muted blue tones on a light background

Systems Administration

Deep experience with Linux (RHEL, SLES, CentOS), high-availability clusters, and STONITH configurations.

A small badge icon with a gear shape in muted blue tones on a light background

Cloud Infrastructure

Practical knowledge of AWS EC2, reserved instances, and cost analysis for cloud vs. on-premises deployments.

A small badge icon with a code symbol in muted blue tones on a light background

Development

Proficient in F#, PHP (Symfony), and cross-platform tooling including Mono and MonoDevelop on OSX.

Studies

F# & Functional Programming

Self-directed, 2012

Explored strongly typed functional programming with F# on OSX using the Mono runtime. Published a detailed getting-started guide covering toolchain setup and cross-platform game development research.

High-Availability & Cluster Management

Professional Development, 2009

Configured and documented crm_mon email alerting for STONITH events on SLES11-HAE clusters, integrating with Nagios monitoring for production environments.

Hardware & Storage Performance

Ongoing

Conducted hands-on benchmarking of SATA/SAS RAID controllers including HighPoint RocketRaid 2740 and LSI/SuperMicro AOC-USASLP2-H8iR, comparing against software RAID configurations.

Skills

A small icon representing a server with clean geometric lines in slate blue

Linux Administration

RHEL, SLES, CentOS — package management, kernel tuning, HA clustering, and monitoring integration.

A small icon representing a cloud shape with clean geometric lines in slate blue

Cloud Architecture

AWS EC2, reserved-instance planning, cost modeling, and hybrid infrastructure strategy.

A small icon representing code brackets with clean geometric lines in slate blue

F# & .NET/Mono

Functional programming on OSX, MonoDevelop toolchain, and cross-platform game-dev exploration.

A small icon representing a database cylinder with clean geometric lines in slate blue

PHP & Symfony

Web application development with the Symfony framework and the broader PHP ecosystem.

A small icon representing a storage drive with clean geometric lines in slate blue

Storage & RAID

SATA/SAS controller evaluation, md RAID configuration, and performance benchmarking.

A small icon representing a shield with clean geometric lines in slate blue

High Availability

Pacemaker, STONITH, crm_mon alerting, and Nagios integration for production cluster monitoring.