1.6. 生成 sos 报告
您可以运行 sos report
命令,从 Red Hat Enterprise Linux 收集 Red Hat Ceph Storage 集群的配置详情、系统信息和诊断信息。红帽支持团队使用此信息进一步排除存储集群的问题。
先决条件
- 一个正在运行的 Red Hat Ceph Storage 集群。
- 对节点的根级别访问权限。
流程
安装
sos
软件包:示例
dnf install sos
[root@host01 ~]# dnf install sos
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 运行
sos 报告
以获取存储集群的系统信息:示例
sos report -a --all-logs
[root@host01 ~]# sos report -a --all-logs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 报告保存在
/var/tmp
文件中。对于特定的 Ceph 守护进程信息,运行以下命令:
示例
sos report --all-logs -e ceph_mgr,ceph_common,ceph_mon,ceph_osd,ceph_ansible,ceph_mds,ceph_rgw
[root@host01 ~]# sos report --all-logs -e ceph_mgr,ceph_common,ceph_mon,ceph_osd,ceph_ansible,ceph_mds,ceph_rgw
Copy to Clipboard Copied! Toggle word wrap Toggle overflow