HP ProLiant ML10 HP Smart Update Manager 6.0.0 User Guide - Page 46
Return codes, Server2, and Management Server3.
View all HP ProLiant ML10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 46 highlights
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" Example 6: To use sudo to update components: /hpsum / target 10.0.1.7 /targetype linux /username userid /passwd password /use_sudo /silent To use super user to update components: /hpsum /target 10.0.1.7 /targetype linux /username userid /passwd password /silent /su_username root /su_password rootpwd 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. Return code SUCCESS_NO_REBOOT SUCCESS_REBOOT Value 0 1 SUCCESS_NOT_REQUIRED 3 FAILURE_GENERAL -1 FAILURE_BAD_PARM -2 FAILURE_COMPONENT_FAILED -3 Linux 0 1 3 255 254 253 Windows 0 1 3 -1 -2 -3 Text The installation was successful. The installation was successful, but a reboot is required. The component was current or not required. A general failure occurred. For details, see the error log. A bad input parameter was encountered. The installation of the component failed. 46 Using legacy scripts to deploy updates