OneCLI Logfile Instructions
OneCLI Logfile Instructions
OneCLI Logfile Instructions
Collecting log file using XClarity Essentials OneCLI (LXCE)
Instructions for Windows
- Download the latest version of OneCLI at the following location
https://datacentersupport.lenovo.com/us/en/solutions/lnvo-tcli - Decompress the downloaded zip file into a new directory
- Open a command prompt as Administrator and change to the directory where the expanded version of OneCLI is found
- Run this command to collect service data
OneCli.exe inventory getinfor -–ffdc - It will take approximatively 15 to 45 minutes to complete.
Instructions for Linux
- Download the latest version of OneCLI at the following location
https://datacentersupport.lenovo.com/us/en/solutions/lnvo-tcli - Decompress the downloaded .tgz file into a new directory
- Open a shell as root privilege and change to the directory where the expanded version of OneCLI is found
- Run this command to collect service data
./OneCli inventory getinfor -–ffdc - 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.