beautypg.com

Return codes, Windows smart component return codes, Linux smart component return codes – HP Integrity rx2800 i2 Server User Manual

Page 74

background image

Scripted deployment 74

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.
To view the installation log file locations, see "Viewing the installation results (on page

44

)."

Return code

Value Linux Windows® Text

SUCCESS_NO_REBOOT

0

0

0

The installation was successful.

SUCCESS_REBOOT

1

1

1

The installation was successful, but

a reboot is required.

SUCCESS_NOT_REQUIRED

3

3

3

The component was current or not
required.

FAILURE_GENERAL

-1

255

255

A general failure occurred. For

details, see the error log.

FAILURE_BAD_PARM

-2

254

254

A bad input parameter was
encountered.

FAILURE_COMPONENT_FAILED

-3

253

253

The installation of the component

failed.

Windows smart component return codes

Error level Meaning

0

The smart component failed to install. For more details, see the log file.

1

The smart component installed successfully.

2

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

3

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

Linux smart component return codes

Single target servers:

Error level Meaning

0

The smart component installed successfully.

1

The smart component 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

The smart component failed to install. For more details, see the log file.

Multi-target servers:

Error level Meaning

0

The installation of the deliverable is successful. No reboot is required.