Now that we have a running Ceph cluster, we will perform some hands-on practice to gain experience with Ceph, using some basic commands.
Check the status of your Ceph installation:
# ceph -s or # ceph status
Watch the cluster health:
# ceph -w
Check the Ceph monitor quorum status:
# ceph quorum_status --format json-pretty
Dump the Ceph monitor information:
# ceph mon dump
Check the cluster usage status:
# ceph df
Check the Ceph monitor, OSD, and placement group stats:
# ceph mon stat # ceph osd stat # ceph pg stat
List the placement group:
# ceph pg dump
List the Ceph pools:
# ceph osd lspools
Check the CRUSH map view of OSDs:
# ceph osd tree
List the cluster authentication keys:
# ceph auth list
These were some basic commands that we learned in this section. In the upcoming chapters, we will learn advanced commands for Ceph cluster management.