Parameters, Return codes, Example – HP Smart Update Manager User Manual
Page 111: Generatereports, Syntax, Parameters return codes example, Windows sample command line, Linux/hp-ux sample command line
Parameters
The findavailablenodes command provides the following options:
Description
Option
The HP SUM script initiates this action.
HPSUM
The command to find all nodes available for updates
through HP SUM.
findavailablenodes
If you pass the type option, the value must match one of
three types:
--type ip|LDAP|port
1.
ip
Options: ipAddrLow; ipAddrHi
2.
LDAP
Options: ldapServer; username; ** interactive
prompt for password
3.
port
Options: ipAddrLow; ipAddrHi; portNum
Return codes
Text
Linux
Windows
Return Code
The command was successful.
0
0
SUCCESS_NO_REBOOT
A general failure occurred. For details,
see the logs.
255
-1
FAILURE_GENERAL
A bad input parameter was encountered. For
details, see the logs.
254
-2
FAILURE_BAD_PARM
The command failed. For details, see the
logs.
252
-4
FAILURE_COMMAND_FAILED
Example
Windows sample command line
C:\>hpsum findavailablenodes /type ip 10.7.85.0 10.7.85.128
Linux/HP-UX sample command line
$ hpsum findavailablenodes --type port 10.7.85.0 10.7.85.128 445
GenerateReports
Enables you to generate reports.
generatereports
enables you to generate reports for the HP SUM session. These reports include
inventory, node firmware, node installables, failed dependency details, and installed details. The
output defaults to attributes valuesand the type of report to all available.
Syntax
hpsum generatereports [--type inventory | firmware | installables |
faileddep | installed | combined] [--output html | xml | csv] [--nodes
[nodelist]] [--baselines [baselinelist]]
GenerateReports
111