Pcornel
Automation · Storage Automation

Ceph Automation

Cheat sheet · https://pcornel.dk/topic.php?topic=5749

Back to the Topic

Answer

Ceph automation deploys and manages clusters with cephadm or Rook, creates pools, RBD images and CephFS, and checks health with ceph -s and ceph health detail in scripts.

Remember

  • cephadm or Rook deploy and manage Ceph.
  • Check health before and after changes.
  • Pools, RBD and CephFS are created by automation.

First checks

  • ceph orch apply osd --all-available-devices --dry-run — cephadm preview
  • ceph osd pool create <p>; ceph osd pool application enable <p> rbd — pool
  • ceph -s — health gate

Verify in this order

automation → Ceph orchestrator → cluster → health

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5749

Confirmation

Confirm action

Continue?