Generating an sos report

Run the sos report command to collect the configuration details, system information, and diagnostic information of an IBM Storage Ceph cluster from a Red Hat Enterprise Linux system.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.
  • Root-level access to the nodes.

About this task

IBM Support uses the logs that are generated for further troubleshooting of the storage cluster.

For more information, see the What is an sos report and how to create one in Red Hat Enterprise Linux? KnowledgeBase article.

Procedure

  1. Install the sos package.
    For example,
    [root@host01 ~]# dnf install sos
  2. Run the sos report command to get the system information of the storage cluster.
    sos report -a --all-logs
    For example,
    [root@host01 ~]# sos report -a --all-logs
    The report is saved in the /var/tmp file.

    Run the following command for specific Ceph daemon information.

    sos report --all-logs -e CEPH_SERVICE1,CEPH_SERVICE2
    For example,
    [root@host01 ~]# sos report --all-logs -e ceph_mgr,ceph_common,ceph_mon,ceph_osd,ceph_ansible,ceph_mds,ceph_rgw