Return codes, Windows smart-component return codes, Linux smart-component return codes – HP Smart Update Manager (User Guide) User Manual

Page 46

Advertising
background image

Results: All software components and firmware components from the update bundle,
cp008097.exe,

and cp008257.exe were installed on Management Server1, Management

Server2, and Management Server3.

Return codes

HP SUM has consolidated return codes from Linux and Windows smart components into a new,
enhanced return-code mapping. These return codes determine the status of the component
installation. You can also use return codes in a script to control the execution of the script and
determine any required branching.

In Linux, the negative return codes are reported. These return codes are determined by subtracting
the negative value from 256.

Text

Windows

VMware
ESXi 5.0
or later

Linux

Value

Return code

The installation was successful.

0

0

0

0

SUCCESS_NO_REBOOT

The installation was successful,
but a reboot is required.

1

1

1

1

SUCCESS_REBOOT

The component was current or
not required.

3

3

3

3

SUCCESS_NOT_REQUIRED

A general failure occurred. For
details, see the error log.

255

255

255

-1

FAILURE_GENERAL

A bad input parameter was
encountered.

254

254

254

-2

FAILURE_BAD_PARM

The installation of the
component failed.

253

253

253

-3

FAILURE_COMPONENT_FAILED

Windows smart-component return codes

Meaning

Error level

The smart component was not installed. For more
information, see the log file.

0

The smart component was installed successfully.

1

The smart component was installed successfully, but the
system must be restarted.

2

The installation was not attempted because the required
hardware is not present, the software is current, or there
is nothing to install.

3

Linux smart-component return codes

Single-target servers:

Meaning

Error level

The smart component was installed successfully.

0

The smart component was installed successfully, but the
system must be restarted.

1

46

Using scripts to deploy updates

Advertising