官术网_书友最值得收藏!

  • Ceph Cookbook
  • Karan Singh
  • 165字
  • 2021-07-16 13:01:15

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…

  1. Check the status of your Ceph installation:
    # ceph -s or # ceph status
    
  2. Watch the cluster health:
    # ceph -w
    
  3. Check the Ceph monitor quorum status:
    # ceph quorum_status --format json-pretty
    
  4. Dump the Ceph monitor information:
    # ceph mon dump
    
  5. Check the cluster usage status:
    # ceph df
    
  6. Check the Ceph monitor, OSD, and placement group stats:
    # ceph mon stat
    # ceph osd stat
    # ceph pg stat
    
  7. List the placement group:
    # ceph pg dump
    
  8. List the Ceph pools:
    # ceph osd lspools
    
  9. Check the CRUSH map view of OSDs:
    # ceph osd tree
    
  10. 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.

主站蜘蛛池模板: 唐河县| 巴南区| 准格尔旗| 石城县| 石楼县| 神池县| 伊金霍洛旗| 监利县| 交城县| 左权县| 孝义市| 申扎县| 花莲市| 定南县| 邢台县| 三门县| 昌乐县| 民丰县| 东源县| 内丘县| 武隆县| 彩票| 望奎县| 梨树县| 金平| 翁源县| 从江县| 建阳市| 城步| 买车| 泗阳县| 临沧市| 沛县| 呼伦贝尔市| 轮台县| 金阳县| 玛沁县| 安平县| 沐川县| 辽中县| 巴东县|