Menu Close

Red Hat Training

A Red Hat training course is available for Red Hat Ceph Storage

3.4.3. 运行诊断检查

Ceph 存储群集潜在问题的基本检查。

先决条件
  • 正常工作的 Red Hat Ceph Storage 集群
  • SSH 和 sudo 访问存储节点
流程

以普通用户身份,从 Ansible 管理节点执行以下步骤。

  • 使用 ceph-medic check 命令:

    [admin@admin ~]$ ceph-medic check
    Host: mon0                  connection: [connected  ]
    Host: mon1                  connection: [connected  ]
    Host: mon2                  connection: [connected  ]
    Host: osd0                  connection: [connected  ]
    Host: osd1                  connection: [connected  ]
    Host: osd2                  connection: [connected  ]
    Collection completed!
    
    =======================  Starting remote check session  ========================
    Version: 1.0.2    Cluster Name: "example"
    Total hosts: [6]
    OSDs:    3    MONs:    3     Clients:    0
    MDSs:    0    RGWs:    0     MGRs:       0
    
    ================================================================================
    
    ------------ osds ------------
     osd0
     osd1
     osd2
    
    ------------ mons ------------
     mon0
     mon1
     mon2
    
    17 passed, 0 errors, on 6 hosts
其它资源