← Tools · elhashif.net

Tools · Hyper-converged infrastructureTools · Hyper-converged infrastructure

HCI / Ceph Calculator

How much can a Proxmox VE + Ceph cluster safely hold, what happens when a node fails, and is there enough CPU and RAM left for the VMs? Answers update as you type.Berapa kapasitas yang aman diisi di cluster Proxmox VE + Ceph, apa yang terjadi saat satu node mati, dan apakah CPU serta RAM masih cukup untuk VM? Hasil langsung berubah saat Anda mengisi.

Rules from the Proxmox VE and Ceph documentation; assumptions are labelled. Everything runs in your browser. Results are a starting point for design, not a quotation.Aturan dari dokumentasi Proxmox VE dan Ceph; asumsi diberi label. Semua dihitung di browser Anda. Hasilnya titik awal desain, bukan penawaran harga.

0Start from a real project (optional)Mulai dari proyek nyata (opsional)

From the case studies:Dari studi kasus: replacing oVirtpengganti oVirt · hospital HCIHCI rumah sakit

1Nodes and disksNode dan disk
Disk typeJenis disk
2Data protectionProteksi data
3VMs to run (optional)VM yang akan dijalankan (opsional)
Keep VMs running if one node fails?VM tetap jalan bila satu node mati?
Discuss this designDiskusikan desain ini

Specification for your proposalSpesifikasi untuk proposal


      
    
How the calculator worksCara kalkulator menghitung
  • Usable = raw ÷ 3 for replica 3, raw ÷ 2 for replica 2, raw × k ÷ (k + m) for erasure coding k+m.
  • Safe to fill = the lower of: usable × your target fill level, and usable × (nodes − 1) ÷ nodes × 90%. The second limit keeps room to rebuild one failed node below Ceph's backfillfull ratio (0.90). Ceph's nearfull warning is at 0.85 and writes stop at 0.95 full.
  • Self-healing needs more nodes than copies (replica) or shards (k + m), because each copy or shard must sit on a different node.
  • I/O after failures: copies or shards left compared with min_size. Replica 3 uses min_size 2 (Proxmox default); erasure coding uses k when m = 1, otherwise k + 1.
  • Ceph reservation per node: 1 core per OSD (2 for NVMe, assumption; Proxmox notes 4–6 threads for very fast NVMe) plus 2 cores for MON and MGR; memory per OSD as selected plus 4 GB for MON/MGR and 8 GB for Proxmox VE (assumptions).
  • N+1: VMs must fit on the remaining nodes when one node is down.
  • Rebuild time (rough): raw data on one node ÷ 50% of one Ceph link. Real rebuilds spread over all nodes and depend on disk speed and recovery settings.
  • Usable = raw ÷ 3 untuk replika 3, raw ÷ 2 untuk replika 2, raw × k ÷ (k + m) untuk erasure coding k+m.
  • Aman diisi = yang lebih kecil dari: usable × target pengisian Anda, dan usable × (node − 1) ÷ node × 90%. Batas kedua menyisakan ruang untuk membangun ulang satu node yang mati di bawah rasio backfillfull Ceph (0,90). Peringatan nearfull Ceph di 0,85 dan penulisan berhenti di 0,95 full.
  • Pemulihan otomatis butuh node lebih banyak dari jumlah salinan (replika) atau shard (k + m), karena setiap salinan atau shard harus berada di node berbeda.
  • I/O setelah kegagalan: salinan atau shard yang tersisa dibandingkan dengan min_size. Replika 3 memakai min_size 2 (default Proxmox); erasure coding memakai k bila m = 1, selain itu k + 1.
  • Cadangan untuk Ceph per node: 1 core per OSD (2 untuk NVMe, asumsi; Proxmox menyebut 4–6 thread untuk NVMe sangat cepat) ditambah 2 core untuk MON dan MGR; memori per OSD sesuai pilihan ditambah 4 GB untuk MON/MGR dan 8 GB untuk Proxmox VE (asumsi).
  • N+1: VM harus muat di node yang tersisa saat satu node mati.
  • Waktu pemulihan (kasar): data raw satu node ÷ 50% satu link Ceph. Pemulihan sebenarnya tersebar ke semua node dan bergantung pada kecepatan disk serta setelan recovery.

Sources: Proxmox VE Ceph, Proxmox VE Cluster Manager, Ceph monitor configuration.

Planning an HCI cluster?Merencanakan cluster HCI?

I have designed and built Proxmox VE + Ceph clusters for hospitals, manufacturers and universities. Ping me with your result and we will turn it into a validated design.Saya pernah merancang dan membangun cluster Proxmox VE + Ceph untuk rumah sakit, manufaktur, dan universitas. Kirimkan hasil Anda, lalu kita jadikan desain yang tervalidasi.

M. Afiful Hashif
M. Afiful HashifTechnical Consultant · SiSTECH Kharisma · elhashif.net/tools