Return codes, Example, Delete – HP Smart Update Manager User Manual
Page 108: Syntax, Parameters, Return codes example, Syntax parameters
Return codes
Text
Linux
Windows
Return Code
The command was successful.
0
0
SUCCESS_NO_REBOOT
The command completed successfully, but was
not required or everything was already
current.
NOTE:
The node or baseline already existed.
3
3
SUCCESS_NOT_REQUIRED
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.
253
-4
FAILURE_COMMAND_FAILED
Example
Windows sample command line
C:\>hpsum add /nodes 10.0.1.15 type=windows
C:\>hpsum add /baselines type=ftp bundle=spp.2014.02.0
save_location="C:\mywebrepository\"
Linux/HP-UX sample command line
$ hpsum add --baselines 10.0.1.16 type=linux
$ hpsum add --baselines "/SPP/" "/tmp/myrepos/"
Delete
Enables you to delete a baseline or node from the current session.
delete
enables you to delete both selected and non-selected baselines or nodes (or all) from the
current session.
Syntax
hpsum delete [--nodes [nodelist]] [--baselines [baselinelist]]
WARNING!
If you do not specify parameters for the Delete function (for example if you type
hpsum delete
), HP SUM will delete all nodes or baselines. For example, the command hpsum
delete /nodes
deletes all nodes.
Parameters
The delete command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
The command to delete nodes or baselines from the HP
SUM session.
delete
108 Console Commands