| |

OpenStack & Ceph Private Cloud Deployment on Dedicated Bare Metal

OpenStack & Ceph Private Cloud on Bare Metal technical architecture and dedicated infrastructure diagram
Verified Technical Answer

Deploying an OpenStack and Ceph private cloud on dedicated bare metal separates resilient multi-tenant control planes (Keystone, Nova, Neutron/OVN) from distributed Ceph BlueStore OSD storage nodes over redundant 25GbE/100GbE networks. Avoid hardware RAID controllers in favor of direct HBA/IT-mode NVMe drives, isolate Ceph cluster replication traffic from VM data planes, and automate lifecycle management with Kolla-Ansible and cephadm.

Organizations repatriating predictable compute workloads from hyperscale clouds or building sovereign multi-tenant environments frequently turn to an OpenStack and Ceph private cloud on dedicated bare metal. OpenStack delivers self-service IaaS APIs—Nova compute, Neutron virtual networking, Cinder block volumes, and Glance images—while Ceph provides unified, self-healing object and RBD block storage without single-controller SAN bottlenecks. Following the architectural principles in the official OpenStack installation guide and pairing hyperconverged or disaggregated nodes with purpose-built storage dedicated servers prevents cluster recovery storms and preserves predictable VM IOPS across failure domains.

Three-Node HA Quorum

Run an odd number (3) of control nodes for MariaDB Galera, RabbitMQ, and Ceph Monitors to prevent split-brain quorums.

No Hardware RAID

Attach NVMe and SAS drives via HBA/IT mode directly to Ceph BlueStore so CRUSH manages replication and checksums natively.

Traffic Isolation

Separate management, OVN Geneve overlays, Ceph public, and Ceph cluster replication onto dedicated VLANs and bonded 25GbE+ NICs.

Control Plane, Compute & Ceph Storage Topology on Bare Metal

While small labs sometimes collapse every daemon onto three hyperconverged hosts, production clusters behave far more predictably when you separate control-plane quorum, Nova hypervisors, and Ceph OSD nodes—or strictly partition NUMA cores and NVMe namespaces in hyperconverged builds. Notice how storage redundancy here differs fundamentally from single-host hardware RAID vs. software RAID: Ceph replicates across racks and hosts rather than drives in one chassis.

Node Role Minimum Count Hardware Profile Network & MTU Failure Domain
Controllers (API / DB / MQ / MON) 3 (Odd Quorum) 16–32 cores, 64–128 GB RAM, mirrored NVMe OS 2x 10/25GbE LACP bond, MTU 1500/9000 Host / Rack spread
Nova Compute + OVN Agents 3+ (Scales horizontally) 64–128 cores, 256–512 GB RAM, local ephemeral NVMe 2x 25GbE bond (Tenant + Ceph public), MTU 9000 Host aggregate / AZ
Ceph BlueStore OSD Nodes 3–5+ (Min 3 for 3x rep) 24–48 cores (1–2 cores/NVMe OSD), 128+ GB RAM Separate 25/100GbE Ceph Public & Cluster, MTU 9000 Host or Rack CRUSH bucket
OVN Gateway / Edge Nodes 2–3 (Active/Active) 16–32 cores, high PPS NICs (DPDK optional) Dual-homed BGP/VLAN uplinks, MTU 1500/9000 Rack / ToR switch diversity

Remember that MariaDB Galera powering Keystone, Nova, and Neutron metadata is sensitive to fsync jitter; running controller databases on dedicated local RAID-10 NVMe arrays rather than sharing slow RBD pools prevents API timeouts during Ceph rebalances.

Ceph BlueStore Design: NVMe WAL/DB Separation & Erasure vs. Replication

Ceph BlueStore bypasses local filesystems such as XFS and writes objects directly to raw block devices while storing RocksDB metadata and the write-ahead log (WAL/DB). For all-NVMe nodes, keeping WAL/DB co-located on the same PCIe Gen4/Gen5 NVMe drive simplifies operations and scales linearly—often deploying two OSD daemons per high-capacity (7.68 TB or 15.36 TB) NVMe drive to maximize CPU parallelism. When mixing spinning HDDs for cold object/backup pools, allocate dedicated enterprise NVMe partitions (at least 4% of HDD capacity) for BlueStore DB/WAL.

3x Replication vs. Erasure Coding for VM Block Volumes

Use 3x replication (size=3, min_size=2) for all Nova ephemeral root disks and Cinder RBD volumes serving active virtual machines. Small random 4K writes from guest OS databases suffer heavy read-modify-write amplification on erasure-coded pools. Reserve erasure coding (such as k=4, m=2 across 6+ hosts) for RadosGW S3 object storage or large sequential Glance/backup archives where 1.5x overhead beats 3x raw capacity cost.

Networking Architecture: OVN Geneve Tunnels, VLAN Provider Nets & Jumbo Frames

Modern OpenStack releases default to OVN (Open Virtual Network) instead of legacy Neutron LinuxBridge or heavy L2 agent meshes. OVN programs Open vSwitch flows directly from centralized Northbound/Southbound OVSDB databases and supports distributed east-west routing plus Geneve tenant overlays. Because Geneve adds roughly 58 bytes of encapsulation header, configure physical switch ports and bonded host interfaces to MTU 9000 while setting OpenStack’s global_physnet_mtu so tenant VMs operate cleanly at MTU 1500 or 8900 without fragmentation.

# /etc/kolla/globals.yml — Core OpenStack + External Ceph + OVN settings
kolla_base_distro: "ubuntu"
openstack_release: "2024.2"
kolla_internal_vip_address: "10.10.20.10"
network_interface: "bond0.20"
tunnel_interface: "bond0.30"
neutron_external_interface: "bond1"

# Use OVN for Neutron SDN
neutron_plugin_agent: "ovn"
enable_neutron_provider_networks: "yes"

# External Ceph integration (Glance, Cinder, Nova RBD)
ceph_nova_user: "nova"
ceph_cinder_user: "cinder"
ceph_glance_user: "glance"
glance_backend_ceph: "yes"
cinder_backend_ceph: "yes"
nova_backend_ceph: "yes"

Automated Deployment with Kolla-Ansible & Cephadm

Containerized deployment via cephadm (for the Ceph storage cluster) and Kolla-Ansible (for OpenStack control and compute services) isolates Python dependencies and streamlines rolling upgrades. Deploy Ceph first, create dedicated pools (volumes, vms, images, backups) with strict CephX keyrings, and export those keyrings into /etc/kolla/config/ before bootstrapping OpenStack.

# 1. Bootstrap Ceph cluster & enable BlueStore OSDs on clean HBA/NVMe disks
cephadm bootstrap --mon-ip 10.10.40.11 --cluster-network 10.10.50.0/24
ceph orch apply osd --all-available-devices

# 2. Initialize OpenStack pools and validate Kolla-Ansible prechecks
ceph osd pool create vms 128 && rbd pool init vms
ceph osd pool create volumes 256 && rbd pool init volumes
kolla-ansible -i multinode prechecks
kolla-ansible -i multinode deploy

Rollback & Safety Precaution: Never place Ceph OSD drives behind a hardware RAID controller configured in RAID-0/5/6 write-back mode—hidden controller caches risk silent corruption on power loss and mask SMART health. Before rebooting any storage host for maintenance, always set ceph osd set noout so Ceph does not trigger multi-terabyte backfill storms during a 5-minute reboot, and back up MariaDB Galera plus /etc/kolla/passwords.yml and Keystone Fernet keys before running any Kolla upgrade.

Day-2 Operations: OSD Recovery Throttling, Live Migration & Scrubbing

Because Nova stores root disks directly on Ceph RBD when nova_backend_ceph: yes is enabled, live-migrating a running VM across bare-metal compute nodes transfers only RAM dirty pages rather than copying gigabytes of disk blocks, completing in seconds. During disk replacements, verify Ceph’s mClock scheduler profile (balanced or high_client_ops) so background Placement Group (PG) recovery never starves guest VM database latency, and monitor deep-scrub schedules to detect silent bitrot early.

CRUSH Failure Domains, PG Autoscaling & Fernet Key Rotation

Configure CRUSH failure domains explicitly (host for single-rack builds, rack for multi-rack deployments) so three replicas never land on drives inside the same chassis or top-of-rack switch. Leave Ceph’s pg_autoscaler enabled in on mode per pool so PG counts scale cleanly as storage capacity grows without manual rebalancing guesswork. On the OpenStack control plane, schedule automated Keystone Fernet token key rotation via Kolla-Ansible cron tasks and enforce Prometheus scraping across Ceph Manager, OVN Southbound DB, and node_exporter endpoints.

Frequently Asked Questions

What is the minimum number of bare-metal servers needed for an HA OpenStack and Ceph cloud?

Three servers can run a hyperconverged HA proof-of-concept with 3 monitors, 3 controllers, and 3x Ceph replication, though production clouds typically start at 6–9 nodes to isolate control quorum, Nova compute, and dedicated Ceph OSD storage.

Why shouldn't I use hardware RAID underneath Ceph OSDs?

Ceph BlueStore performs its own end-to-end CRC32c data/metadata checksumming and host-level replication. Hardware RAID adds double-parity overhead, hides physical SMART alerts, and introduces non-deterministic controller cache flush behavior.

Should Ceph public and cluster replication traffic use separate networks?

Yes, whenever NIC ports allow. Isolating 25GbE or 100GbE cluster backfill/heartbeat traffic onto a dedicated non-routed VLAN prevents OSD recovery bursts from saturating the public network serving Nova VM RBD reads and writes.

How does OVN improve on legacy Neutron LinuxBridge?

OVN eliminates Python-based L2/L3 agent polling bottlenecks, handles distributed east-west routing inside Open vSwitch flows on each hypervisor, and scales smoothly to thousands of tenant security-group rules.

What happens if a Ceph OSD host reboots unexpectedly?

If a host stays down past mon_osd_down_out_interval (600 seconds by default), CRUSH marks its OSDs out and rebuilds missing replicas onto surviving hosts automatically. Setting ceph osd set noout pauses that rebalance during planned maintenance.

Can I mix NVMe and HDD tiers in the same OpenStack Cinder deployment?

Yes. Define separate CRUSH device classes (nvme and hdd) and CRUSH rules in Ceph, create corresponding RBD pools, and map them to distinct Cinder volume types so users can choose high-IOPS NVMe or high-capacity HDD volumes via API.

Build Your OpenStack & Ceph Cloud on Dedicated Bare Metal

Scale private cloud clusters on single-tenant Linux dedicated servers with enterprise NVMe drives, redundant 25GbE+ networking, and full IPMI/root access.

Configure Bare-Metal Nodes

NR
Naveen Rajput — Infrastructure & Cloud Systems Architect

Reviewed by Onlive Server Infrastructure Engineering for technical accuracy, kernel/network safety, and global bare-metal operations.