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

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.

主站蜘蛛池模板: 襄樊市| 桦川县| 皮山县| 当雄县| 奉新县| 古丈县| 绵竹市| 福海县| 洪江市| 阳谷县| 扎囊县| 乐昌市| 怀来县| 龙南县| 商城县| 洛阳市| 亳州市| 阿合奇县| 迁西县| 祥云县| 左云县| 商南县| 龙江县| 栖霞市| 遂平县| 隆子县| 通山县| 调兵山市| 米易县| 民丰县| 巴青县| 孟州市| 原平市| 海宁市| 五大连池市| 原阳县| 项城市| 从化市| 大连市| 石屏县| 苏尼特左旗|