Skip to main content

Configuring hardware settings through OneCLI

By using the OneCLI, you can modify hardware settings from the command line on multiple operating system platforms. The OneCLI tool supports scripting environments through its batch-processing mode.

The Lenovo XClarity Integrator Deployment Pack leverages the OneCLI to provide the following functions:
  • Modify the CMOS settings of the Basic Input/Output System (BIOS) or the settings of the Unified Extensible Firmware Interface (uEFI), without having to restart the system to access these settings on the BIOS or uEFI menus. (Usually, you have to press F1 in the beginning of the system startup to access these menus.)
  • Set up the Baseboard Management Controller (BMC) and Integrated Management Module (BMC).
The OneCLI depends on internal code for BMC functions and definition files for BIOS functions; therefore, your results might vary with different hardware. Depending on your specific server population, you might have to create hardware-specific task sequences to get the support settings. Support for BMC settings is consistent across the product line, except for blade servers, where the management module in a given chassis overrides most of the blade BMC settings. The hardware release notes for the Lenovo XClarity Integrator Deployment Pack might contain more specific information.
Note
Command lines passed to the OneCLI tool might not return error codes or explanatory feedback, so be careful when creating your commands. For more information about OneCLI, including a list of the OneCLI commands and their descriptions, see the Lenovo XClarity Essentials OneCLI.
Note
All set actions for BMC, uEFI, BIOS, and BMC support the multiple-nodes function. There are only four nodes, with the default setting Node-1 (main).