nodes command

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

nodes command syntax

OneCli.exe config nodes[--output<folder>][connection option]
Table 1. nodes command parameters
Parameter Required/Optional Notes
--output Optional

By default, the log file output is saved to: ../Onecli-%PID%-%date%-%time%/.

connection options Optional
--imm <user:pwd@ip>
Use for OOB.
Use for in-band, if you know the LAN over USB IP of the target IMM.
Use to specify the target IMM.
Note: Use only one connection option in a command line entry.
Note:
  • The nodes command can be used on a multinode or a single-node system.
  • On a single node system, 1 is always reported.
  • On a multinode system, the available number of nodes is reported.

Example of the nodes command

OneCli.exe config nodes
This is the output generated from this example:
Lenovo ToolsCenterSuite CLI tcliXXX-X.X.X
Based on module version X.X.X
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2016 All Rights Reserved
Invoking SHOW command ...
Connected to IMM by IP address 10.240.252.102
System Nodes : 1