Skip to main content

nodes command

Use the nodes command to obtain the available nodes in the current system.

nodes command syntax

OneCli.exe config nodes [<options>]
Note
  • The nodes command does not require any command options.

  • The nodes command can be used on a multi-node or a single-node system.
  • On a single node system, 1 is always reported.
  • On a multi-node system, the available number of nodes is reported.
Table 1. nodes command specific parameters
ParameterRequired/OptionalNotes
--interactive, -iOptional

Configure the OneCLI interactive mode. In this mode, OneCLI guides user to input the parameter step by step. Users can also click Tab to generate the configuration setting name.

--kcsOptionalForce to use IPMI over KCS local interface.
--redfishOptionalForce to communicate with BMC through Redfish.
  • --bmc, -b

  • --bmc-rest-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --node

  • --nolog

  • --never-check-trust, -N

  • --output, -o

  • --redfish

Optional

Refer to Table 2.

Example of the nodes command

OneCli.exe config nodes