Skip to main content
Hitachi Vantara Knowledge

How to Collect Data from HCI Content Intelligence

 

Objective

This article covers data collection from HCI. If you experience an issue, use the procedures in this section to obtain required data for GSC to analyze and fix your problem.

Environment

  • Content Intelligence (HCI)
    • v1.1 and above
    • v1.0 and below, refer to Addition Notes

Procedure

  1. Collect HCI logs via log_download utility

HCI includes a tool for easily retrieving logs and diagnostic information from all instances in the system. This tool is located at this path on each HCI instance:

/<hci-installation-path>/bin/log_download

e.g  /opt/hci/bin/log_download

To gather logs for the past 24 hours, execute:

/<hci-installation-path>/bin/log_download -d -l

To gather logs for a specific timeframe, you can use the -t option (in this example this would collect logs from 8/10/2020 - 8/14/2020):

/<hci-installation-path>/bin/log_download -d -l -t 2020-08-10,2020-08-14

For information on running the tool, run:

/<hci-installation-path>/bin/log_download -h

When using the log_download script, if you specify the --output option, do not specify an output path that contains colons, spaces, or symbolic links. If you omit the --output option, you cannot run the script from within a directory path that contains colons, spaces, or symbolic links.

When you run the log_download script, all log files are automatically compressed and moved to the retired/ directory.

  1. Collect HCI configuration information via gatherhciinfo.sh script
  • Download the gatherhciinfo.sh script from here
  • Upload gatherhciinfo.sh script to HCI server (this can be done on any instance). 
  • Make script executable: chmod u+x gatherhciinfo.sh
  • Run script with -t option to tar the output: ./gatherhciinfo.sh -t
  • Collect the output .tgz file (this should be created in the current directory you are in, and will be specified at the completion of the script)

Additional Notes

- From v1.1 and above, there was a change of name for the log collection tool from hci_log_download to log_download 
 

 

  • Was this article helpful?