监测ceph集群

1.查看集群空间使用情况:

ceph df

2、集群所有的key:

ceph auth list

3、监测 mon

mon 状态:

`ceph mon stat`

`ceph mon dump`

quorum status:

`ceph quorum_status`

4、监测 osd

查看osd信息:

    `ceph osd stat`

    `ceph osd dump`   #详细信息

显示黑名单 客户端:

    `ceph osd blacklist ls`

5、监测CRUSH map

ceph osd crush dump # 查看CRUSH map

ceph osd crush rule list #查看rule 名单

ceph osd crush rule dump <crush_rule_name> #查看某个rule的详细信息

ceph osd find <Numeric_OSD_ID> #查看某个osd 的详细信息

例子:`ceph osd find 1`

6、监测PG

ceph pg stat # PG 总体状态

ceph pg dump # PG 详细信息

ceph pg 2.7d query # 查看某个 pg (比如 2.7d)的详细信息

ceph pg dump_stuck unclean/inactive/stale # 查看处于 unclean 状态的pg,

7、监测 MDS

ceph mds stat #MDS 总体状态

ceph mds dump # mds 详细信息

本文出自“heivy”的博客,转载请务必保留此出处:http://blog.csdn.net/heivy/article/details/50623376

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值