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

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.

主站蜘蛛池模板: 家居| 获嘉县| 德钦县| 彭水| 神木县| 内江市| 潞西市| 东光县| 临颍县| 迁西县| 江永县| 崇信县| 桦甸市| 容城县| 邳州市| 陆河县| 巧家县| 凉城县| 漳州市| 博罗县| 潼南县| 兴义市| 灵璧县| 南雄市| 台安县| 镇安县| 扬州市| 蕉岭县| 大余县| 南投市| 蒙山县| 龙井市| 金昌市| 香河县| 聊城市| 剑河县| 合阳县| 内丘县| 商城县| 隆安县| 静海县|