Manual

Return codes
TextLinuxWindowsReturn Code
The command was successful.00SUCCESS_NO_REBOOT
The command completed successfully, but was
not required or everything was already
current.
NOTE: The node or baseline already existed.
33SUCCESS_NOT_REQUIRED
A general failure occurred. For details,
see the logs.
255-1FAILURE_GENERAL
A bad input parameter was encountered. For
details, see the logs.
254-2FAILURE_BAD_PARM
The command failed. For details, see the
logs.
253-4FAILURE_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:
DescriptionOption
The HP SUM script initiates this action.hpsum
The command to delete nodes or baselines from the HP
SUM session.
delete
108 Console Commands