inventory

Enables you to scan nodes for the currently installed version of firmware, drivers, and hardware components.

Syntax

smartupdate inventory [--nodes <nodelist>] [--baselines <baselinelist>]

Parameters

--nodes [<nodelist>]
A list of the nodes on which to perform the inventory command. You can specify each node in the following ways:

localhost
127.0.0.1
::1
--baselines [<baselinelist or install_set_name>]
Specify the path of the SPP or components. If the baseline location includes spaces or special characters, use escape characters (Linux) or double-quotations (Windows).

To use a saved install set on the iLO Repository, include a node IP address or DNS name and the baseline install set name.

If you include a node list with the baseline, SUM performs inventory on the nodes with the baseline specified. If you do not include a node list, then SUM only performs inventory on the baseline.

Restrictions

Set the management options with the setattributes parameter before performing inventory. For example, set the AMS, SNMP, or WMI agents.

After performing successful inventory on a VC node using an encryption key, use the setattributes command to assign the encryption_key parameter details.

Windows usage

C:\>smartupdate inventory /nodes 10.0.1.1 /baselines C:\Users\Administrator\Desktop\blds\ilo\26.33

C:\>smartupdate inventory /nodes 10.0.1.1 /baseline <install_set_name>

Linux usage

$ ./smartupdate inventory --nodes 10.0.1.1 --baselines /root/Desktop/rono/blds/ilo

Return codes
SUCCESS_NO_REBOOT
Windows: 0

Linux: 0

Text: The command was successful.

SUCCESS_REBOOT
Windows: 1

Linux: 1

Text: The command was successful but a reboot is required.

SUCCESS_NOT_REQUIRED
Windows: 3

Linux: 3

Text: The command completed successfully, but was not required or everything is already current.

FAILURE_GENERAL
Windows: -1

Linux: 255

Text: A general failure occurred. For details, see the logs.

FAILURE_BAD_PARM
Windows: -2

Linux: 254

Text: A bad input parameter was encountered. For details, see the logs.

FAILURE_COMPONENT_FAILED
Windows: -3

Linux: 253

Text: The installation of the component failed.

FAILURE_COMMAND_FAILED
Windows: -4

Linux: 252

Text: The command failed. For details, see the logs.