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

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.

主站蜘蛛池模板: 从江县| 神池县| 夏河县| 古浪县| 灵山县| 蒙城县| 常熟市| 武安市| 襄垣县| 怀仁县| 临高县| 阳高县| 大邑县| 全南县| 大荔县| 北辰区| 民权县| 平定县| 丹江口市| 泰顺县| 富宁县| 五常市| 汝阳县| 姚安县| 龙江县| 松阳县| 宣威市| 北京市| 教育| 通道| 青龙| 岳普湖县| 铁岭县| 陈巴尔虎旗| 习水县| 雷山县| 民县| 阿勒泰市| 萍乡市| 富锦市| 玛曲县|