25.0 Collecting Diagnostic Logs

Diagnostic log files helps in investigating and troubleshooting issues. This section provides information about collecting diagnostic logs for ESM for Fusion.

To collect diagnostic logs :

  1. Log in to the CDF master node as root.

  2. Change to the directory where you installed ESM for Fusion:

    cd /opt/esm

    Alternatively, if you have installed manually, you can find the support_utils script in the location where you extracted the ESM for Fusion installer. For example, /opt/esm-x.x.x.x.

  3. Execute the script to generate logs:

    ./support_utils.sh

  4. If you want to collect the operating system logs, specify Y to install the sos package. Otherwise, specify N.

    The sos package is required to generate the operating system logs. Installation of the sos package is a onetime activity.

  5. Specify the password to encrypt the output file.

    The encrypted log file is stored in the location:

    /opt/support_util/<ddmmyyyyhhmmss>

    For example:

    /opt/support_util/07072020043015

  6. To view the logs, you must decrypt the file as follows:

    1. Change to the directory where the log file is stored.

      For example:

      cd /opt/support_util/07072020043015

    2. Execute the command:

      dd if=<log_file_name> | openssl aes-256-cbc -md sha1 -d -k <Encrypt-Password> | tar zxf -

      For example:

      dd if=esm-support-util-20200707043015.aes | openssl aes-256-cbc -md sha1 -d -k <Encrypt-Password> | tar zxf -