This document lists the diagnostic information that helps Cloud Customer Care
troubleshoot issues related to Red Hat Enterprise Linux (RHEL)
high-availability (HA) clusters running SAP solutions on Google Cloud.
Sharing these details when you create a support case helps Customer Care
quickly isolate the root cause and reduce the overall resolution time.

Include the following details in your support case:

- A complete and detailed description of the problem or error, including the
  following:

  - The current application or system state.
  - The date and time when the error occurred.
  - If you're facing a performance issue with your SAP workload, then [gather diagnostic information about SAP workload performance](https://docs.cloud.google.com/sap/docs/getting-support-diag-info-performance.md.txt).
- If you are using
  [Google Cloud's Agent for SAP](https://docs.cloud.google.com/sap/docs/agent-for-sap/latest/planning.md.txt),
  then you can generate and share the
  [support bundle](https://docs.cloud.google.com/sap/docs/agent-for-sap/latest/getting-support-diag-info.md.txt#support_bundle).

- If you aren't using
  [Google Cloud's Agent for SAP](https://docs.cloud.google.com/sap/docs/agent-for-sap/latest/all-guides),
  then collect information about the cluster, including configuration details,
  system information, and diagnostic information, which includes the following:

  - If you have the Red Hat `sos` package or can install it, use the
    `sosreport` tool to collect the cluster information.

    - To install the `sos` package:

      ```sh
      sudo yum install -y sos
      ```
    - Run the `sosreport` tool on all cluster nodes:

      ```sh
      sosreport
      ```
  - If don't have the `sos` package, you can run the `crm_report` tool
    on all cluster nodes and provide the Corosync logs.

    Specify a start time (*from time* ) that is approximately 1 hour before
    the issue occurred. Specify an end time (*to time*) that is at least
    an hour after the issue was resolved.
    - Run the `crm_report` on all nodes, specifying the *from time*
      and *to time* on the '-f' and '-t' flags, respectively.

      ```sh
      crm_report -f "yyyy/mm/dd hh:mm" -t "yyyy/mm/dd hh:mm"
      ```
    - For RHEL 7, additionally provide the log file `/var/log/cluster/corosync.log` for the cluster software from each cluster
      node.

  For more information about the `sosreport` tool, see
  [What is an sos report and how to create one in Red Hat Enterprise Linux?](https://access.redhat.com/solutions/3592).