OneCLI Logfile Instructions

OneCLI Logfile Instructions

OneCLI Logfile Instructions

Collecting log file using XClarity Essentials OneCLI (LXCE)

Instructions for Windows

  1. Download the latest version of OneCLI at the following location
    https://datacentersupport.lenovo.com/us/en/solutions/lnvo-tcli
  2. Decompress the downloaded zip file into a new directory
  3. Open a command prompt as Administrator and change to the directory where the expanded version of OneCLI is found
  4. Run this command to collect service data
    OneCli.exe inventory getinfor -–ffdc
  5. It will take approximatively 15 to 45 minutes to complete.

Instructions for Linux

  1. Download the latest version of OneCLI at the following location
    https://datacentersupport.lenovo.com/us/en/solutions/lnvo-tcli
  2. Decompress the downloaded .tgz file into a new directory
  3. Open a shell as root privilege and change to the directory where the expanded version of OneCLI is found
  4. Run this command to collect service data
    ./OneCli inventory getinfor -–ffdc
  5. It will take approximatively 15 to 45 minutes to complete.

Additional information

  • A new directory will be created under the current execution directory to store the result of each run at logs/OneCli-pid-date-time
    e.g. logs/OneCli-5460-20190326-141910
  • The result directory contains the service data file (.tgz/.tzz) that was gotten from the BMC, same as by downloading service data from the web interface.
  • It also contains a detailed server inventory file that could be useful to technical support. If you’d like to have the detailed inventory in HTML instead of the XML, you can run this command:
    OneCli.exe inventory getinfor -–ffdc -–htmlreport
  • You may compress the result directory as a file to send to technical support.
Alias Id:ONECLI-LOGFILE
Document ID:HT508132
Original Publish Date:03/27/2019
Last Modified Date:12/20/2024