Activate, Syntax, Parameters – HP Smart Update Manager User Manual
Page 106: Return codes, Example, Syntax parameters return codes example, Windows sample command line, Linux/hp-ux sample command line
Activate
activate
enables you to activate updates previously staged or installed. This may involve rebooting
or other processes based on specific devices.
Syntax
hpsum activate [--nodes [nodelist]] [--cancelpending]
Parameters
The activate command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
The command to activate pending HP SUM updates.
activate
A list of the nodes (full hostname or IP address) on which
to perform the activate nodes operation. If you do not
--nodes [nodelist]
provide any, the command applies to all nodes in the
session.
When specified, the pending firmware update is cancelled
instead of activated.
--cancelPending
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
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 installation of the component failed.
253
-3
FAILURE_COMPONENT_FAILED
The command failed. For details, see the
logs.
252
-4
FAILURE_COMMAND_FAILED
Example
Windows sample command line
C:\> hpsum activate /nodes a.b.c.d a.b.c2.d2
Activating a.b.c.d
Linux/HP-UX sample command line
$ hpsum activate --nodes a.b.c.d a.b.c2.d2
Activating a.b.c.d
Activating a.b.c2.d2
106 Console Commands