Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
E: enquiries@precedence.co.uk
ThinkSystem-OneCLI

Jump To: Support > KB > IBM > ThinkSystem? > OneCLI

Getting logs and changing UEFI settings with OneCLI on ThinkSystem

OneCLI is a command line tool for Windows or Linux that allows you to connect to a ThinkSystem XClarity Controller (XCC) on a remote server. The XCC network port must be connected to your network and you must know its IP address (DHCP by default, but you can set statically).

Get it here:

  • Linux - extract the tar ball once downloaded to get the onecli binary.
  • Windows

Getting logs and inventory

To get an inventory including a friendly HTML report use (on Linux):
./onecli inventory getinfor --htmlreport --output /root/onecli --bmc USERID:PASSWORD@192.168.70.125
or Windows use the full name to the .exe you downloaded (all on one line):
lnvgy_utl_lxceb_onecli01h-3.0.1_winsrv_x86-64.exe inventory getinfor 
    --htmlreport --output C:\Users\administrator\Downloads\onecli --bmc USERID:PASSWORD@192.168.70.125

Alter USERID, PASSWORD and 192.168.70.125 as appropriate. If running the command on the server itself, you can skip the --bmc option and its parameters.

To collect XCC Service Data in addition to the OneCLI Full Inventory Data log, add --ffdc to the command, e.g.
./onecli inventory getinfor --htmlreport --output /root/onecli --ffdc

Checking and altering settings

The full list of system settings can be viewed in the HTML log from the above commands. Open index.html and click on System Settings on the left (or just open system_settings.html). Example:

From OneCLI use the config show sub-command.
./onecli config show Processors.Cstates --bmc USERID:PASSWORD@192.168.70.125

Some settings are protected (e.g. Processors.PackageCstate) and so will need the --override flag

./onecli config show Processors.PackageCstate --bmc USERID:PASSWORD@192.168.70.125 --override
To alter a setting use the config set sub-command:
./onecli config set Processors.PackageCstate "Disable" --bmc USERID:PASSWORD@192.168.70.125 --override

Many settings will require you to reboot the server afterwards.

© Copyright Precedence Technologies 1999-2024
Page last modified on March 12, 2021, at 08:59 AM by sborrill