Operating Ceph

Maintaining the cluster

Check cluster status,

ceph health
ceph status
ceph -s
ceph -w

Stop/Start or restart the whole thing,

#systemctl stop ceph.target
#systemctl start ceph.target
#systemctl restart ceph.target

Overwrite the configurations,

ceph-deploy --overwrite-conf config push ceph1 ceph2 ceph3

Maintaining Monitors

To add a monitor: http://docs.ceph.com/docs/kraken/rados/operations/add-or-rm-mons/

Maintaining OSDs

Review the disk/osd tree,

ceph osd tree

Check the OSD usage!

ceph osd stat

Bring an OSD down and purge it,

ceph osd out 0
ceph -w
ssh ceph3 ls -1 /var/run/ceph
ssh ceph3 systemctl stop ceph-osd@0
ceph osd purge 0 --yes-i-really-mean-it

Maintaining CephFS

Check the Metadata services,

ceph mds stat

References


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun