Example, Inventory, Syntax – HP Smart Update Manager User Manual

Page 119: Parameters, Login, Syntax parameters example

Advertising
background image

Example

Windows sample command line

C:\>hpsum getnodes 16.157.90.123 /details

Linux/HP-UX sample command line

$ hpsum getnodes 16.157.90.123 --details

Inventory

inventory

enables you to scan nodes for the currently installed version of firmware, drivers, and

hardware components.

If no nodes are specified, the default setting is all nodes in the current session.

Syntax

hpsum inventory --nodes n1 n2 n3[--groups mygroup] --baselines c:\repo1

Parameters

The inventory command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to inventory the nodes.

inventory

A list of the nodes on which to perform the inventory command. You can specify
each node in the following ways:

--nodes nodelist

1.

localhost

2.

127.0.0.1

3.

::1

You can specify the path of the SPP or components. If a location contains multiple
bundles, you can specify a specific bundle in the location.

--baselines c:\repo1

1.

baseline: C:\repor1

2.

baseline: C:\repor1\bp0001.xml

Example

Windows sample command line

C:\>hpsum inventory /nodes 16.157.90.182 /baselines

C:\Users\Administrator\Desktop\blds\ilo\26.33

Linux sample command line

$ hpsum inventory --nodes 16.157.90.182 --baselines

/root/Desktop/rono/blds/ilo

Login

The Login command enables you to set the credentials used for the current session.

Authenticating with credentials for the first time.

Offline mode with no credentials – In this case you do not need the credentials because there is
no user interaction. The command creates a session if the IP address of the request is the same as
the hpsum_server. This is an anonymous session.

Inventory

119

Advertising