Return codes – HP ProLiant Support Pack User Manual

Page 71

Advertising
background image

Scripted deployment 71

Either of the following command-line inputs can deploy the previous version of the PSP only and force all
the components to be installed:

hpsum /f:bundle /softwareonly BP000315.xml

hpsum /b BP000315.xml /f:bundle /softwareonly

Results: All software components from the 7.80 PSP, which HP SUM determined are required to be
installed, were installed. No firmware was installed.
Example 3:
This command-line input deploys firmware:
hpsum /romonly
Results: All firmware components, which are required to be installed, were installed. No software was
installed.
Example 4:
Either of the following command-line inputs can deploy two software components:

hpsum /f:software cp008097.exe cp008257.exe

hpsum /c cp008097.exe /c cp008257.exe /f:software

Results: The two components were installed. No firmware or other software was installed.
Example 5:
Either of the following command-line inputs can deploy the latest PSP, later versions of components in the
bundle, and firmware to three remote hosts and force all components to be installed:

hpsum /group "Management Servers" /current_credential /use_latest

/allow_update_to_bundle /allow_non_bundle_components /force:all

/override_existing_connection /continue_on_error ServerNotFound /silent

/logdir "Management_Server_Files"

hpsum /target "Management Server1" /target "Management Server2" /target

"Management Server3" /user administrator /passwd letmein /use_latest

/allow_update_to_bundle /allow_non_bundle_components /force:all

/override_existing_connection /continue_on_error ServerNotFound /silent

/logdir "Management_Server_Files"

Results: All firmware components, software components from the 7.90 PSP, 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.
To view the installation log file locations, see "Viewing the installation results (on page

42

)."

Advertising
This manual is related to the following products: