- Ceph Cookbook
- Karan Singh
- 165字
- 2025-02-21 19:10:12
Using Ceph cluster with a hands-on approach
Now that we have a running Ceph cluster, we will perform some hands-on practice to gain experience with Ceph, using some basic commands.
How to do it…
- 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.