惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
J
Java Code Geeks
C
Check Point Blog
Last Week in AI
Last Week in AI
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
L
LangChain Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
IT之家
IT之家
Martin Fowler
Martin Fowler
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
U
Unit 42
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ

OneUptime Blog

How to Monitor Azure App Services (PaaS) with OpenTelemetry Grafana Stack vs OneUptime: DIY Observability or Unified Platform? Your AI Workloads Are About to Blow Up Your Observability Bill The Great Observability Consolidation Is Here How to Write Custom Object Classes for Ceph How to Write Custom Ceph Manager Modules How to Write a ceph.conf Configuration File How to Use Rook-Ceph with OpenShift How to Use Rook-Ceph with Longhorn for Comparison How to Configure Volume Snapshot Class for RBD in Rook How to Configure VolumeReplicationClass Scheduling Intervals in Rook How to Set Up Volume Replication with Rook-Ceph How to Create Volume Group Snapshots with Rook CSI How to Visualize Ceph Network Performance in Grafana How to Enable Virtual Host-Style Bucket Access in Rook How to View Runtime Configuration via Admin Socket How to View Quota Settings and Update Stats in Ceph RGW How to View PG Scaling Recommendations with autoscale-status How to View PG Distribution via Admin Socket How to View Performance Metrics in the Ceph Dashboard How to View OSD Performance Counters in Ceph How to View Connection Status via Admin Socket How to View Ceph Cluster Summary Dashboard via CLI How to Version Control Rook-Ceph Configuration How to Version Control Ceph Infrastructure with Terraform How to Verify Kubernetes Node Requirements for Rook-Ceph Deployment How to Verify Health Before and After Rook Upgrades How to Verify Data Integrity with Deep Scrubbing How to Verify Complete Rook-Ceph Cleanup How to Verify Backup Integrity from Ceph Snapshots
How to Validate Ceph Cluster Configuration After Deployment
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

After deploying a Ceph cluster, a systematic validation pass confirms the cluster is correctly configured before it handles production workloads. Catching misconfiguration early is far less disruptive than finding it under load.

Check 1 - Cluster Health

ceph status
ceph health detail

Expected result: HEALTH_OK. Investigate any warnings before proceeding.

Check 2 - MON Quorum

ceph quorum_status --format json-pretty | python3 -c "
import sys, json
q = json.load(sys.stdin)
print('Leader:', q['quorum_leader_name'])
print('Members:', q['quorum_names'])
"

Verify all expected MONs are in quorum.

Check 3 - OSD Count and Distribution

ceph osd tree

Verify:

  • Correct number of OSDs are up and in
  • OSDs are distributed across the expected hosts and failure domains
  • Weights reflect the disk sizes
ceph osd df tree

Check 4 - CRUSH Map Topology

ceph osd crush tree

Confirm the CRUSH topology matches your intended failure domains (host, rack, datacenter).

Check 5 - Pool Replication Settings

ceph osd pool ls detail | grep -E "size|min_size|pg_num"

For each pool, verify:

  • size = intended replication factor (e.g., 3)
  • min_size = at least 2 for production
  • pg_num appropriate for pool size and OSD count

Check 6 - Network Configuration

ceph config get mon public_network
ceph config get osd cluster_network
ceph quorum_status --format json-pretty | python3 -c "
import sys, json
q = json.load(sys.stdin)
for mon in q['monmap']['mons']:
    print(mon['name'], 'addr=', mon['addr'], 'public_addr=', mon['public_addr'])
"

Verify bindings are on the expected networks and not on 0.0.0.0 unless intended.

Check 7 - StorageClass Provisioning Test

kubectl apply -f - <<'EOF'
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: validation-pvc
spec:
  accessModes: [ReadWriteOnce]
  resources:
    requests:
      storage: 1Gi
  storageClassName: rook-ceph-block
EOF

kubectl wait --for=jsonpath='{.status.phase}'=Bound pvc/validation-pvc --timeout=60s
kubectl delete pvc validation-pvc

Check 8 - Read/Write Performance Baseline

TOOLBOX=$(kubectl get pod -n rook-ceph -l app=rook-ceph-tools -o name | head -1)
POOL=$(kubectl get storageclass rook-ceph-block -o jsonpath='{.parameters.pool}')
kubectl exec -n rook-ceph "$TOOLBOX" -- rados bench -p "$POOL" 30 write --no-cleanup
kubectl exec -n rook-ceph "$TOOLBOX" -- rados bench -p "$POOL" 30 seq
kubectl exec -n rook-ceph "$TOOLBOX" -- rados cleanup -p "$POOL"

Record this baseline for future comparison.

Summary

Validating a Ceph cluster after deployment requires checking cluster health, MON quorum, OSD topology, CRUSH map, pool settings, network bindings, PVC provisioning, and establishing a performance baseline. Running all eight checks takes about 15 minutes and catches the most common deployment errors before they affect production workloads.