Downloading and using OneCLI
The topics in this section describe how to download and use OneCLI. OneCLI is packaged as the compressed file (zip file for Windows and tgz file for Linux), which can be used by being decompressed, be removed by being deleted, and be upgraded by being replaced with the new files.
From V2.5.0, OneCLI supports to collect the inventory and service data by double-clicking the self-extracting executable file. This executable file automatically runs the OneCLI command to collect inventory and service data. After this procedure is completed, it automatically cleans up the files while leaving the execution result and output log at the default designated directory.
The extracted executable file has the same content as the compressed file. However, self-extracting and cleaning up at every invocation might bring system overload, so it is not recommended to use this feature at regular basis. This feature is suitable for the scenario that users have limited time to learn about the OneCLI parameters or hurry to troubleshoot a failing system.
Lenovo recommends the compressed file for regular usage. Considering the security, it is also recommended to decompress the files to a directory only accessible to administrative users.
The following tables show the formats of the compressed file and the self-extracting executable file for Windows and Linux:
Operating system | Compressed file | Self-extracting executable file |
---|---|---|
Microsoft Windows | lnvgy_utl_lxce_oneclixxx-{ version }_winsrv_indiv.zip | lnvgy_utl_lxceb_oneclixxx-{ version }_winsrv_indiv.exe |
Operating system | Compressed file | Self-extracting executable file |
---|---|---|
SUSE Linux Enterprise Server Edition | lnvgy_utl_lxce_oneclixxx-{ version }_linux_indiv.tgz | lnvgy_utl_lxceb_oneclixxx-{ version }_linux_indiv.bin |
Red Hat Enterprise Linux Edition | lnvgy_utl_lxce_oneclixxx-{ version }_linux_indiv.tgz | lnvgy_utl_lxceb_oneclixxx-{ version }_linux_indiv.bin |
Note
|