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

How to do it...

Below are some of the common commands used by Ceph admins:

  1. Check the status of your Ceph installation:
      # ceph -s or # ceph status
  1. Check Ceph's health detail:
      # ceph health detail
  1.  Watch the cluster health:
      # ceph -w
  1. Check Ceph's monitor quorum status:
      # ceph quorum_status --format json-pretty
  1. Dump Ceph's monitor information:
      # ceph mon dump
  1. Check the cluster usage status:
      # ceph df
  1. Check the Ceph monitor, OSD, pool, and placement group stats:
      # ceph mon stat
# ceph osd stat
# ceph osd pool stats

# ceph pg stat
  1. List the placement group:
      # ceph pg dump
  1.  List the Ceph pools in detail:
      # ceph osd pool ls detail
  1.  Check the CRUSH map view of OSDs:
      # ceph osd tree
  1. Check Ceph's OSD usage:
      # ceph osd df
  1. List the cluster authentication keys:
      # ceph auth list

These were some basic commands that you learned in this section. In the upcoming chapters, you will learn advanced commands for Ceph cluster management.

主站蜘蛛池模板: 会宁县| 云南省| 隆德县| 荣昌县| 攀枝花市| 图木舒克市| 新野县| 邵阳市| 聊城市| 福安市| 长宁区| 蓝山县| 三江| 商河县| 彩票| 盐池县| 台州市| 牡丹江市| 荃湾区| 晋江市| 林芝县| 灌云县| 三都| 长沙市| 时尚| 兴化市| 赤水市| 汉沽区| 万盛区| 南涧| 阳信县| 逊克县| 错那县| 盐源县| 佛学| 建宁县| 合川市| 元谋县| 武安市| 北票市| 西安市|