Manual

Example 4:
Either of the following command-line inputs can deploy two software components:
hpsum /f:software cp008097.exe cp008257.exe /s
hpsum /c cp008097.exe /c cp008257.exe /f:software /s
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 SPP in the directory with HP SUM,
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 server1.mydomain.com /target server2.mydomain.com
/target 10.15.25.101 /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 c:\documents\management_server_files
Results: All software components and firmware components from the update bundle were installed
on the three target nodes.
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 components were installed on server 10.0.1.7.
Return codes
HP SUM has consolidated return codes from Linux and Windows smart components into an,
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.
TextWindowsLinuxValueReturn code
The installation was successful.000SUCCESS_NO_REBOOT
The installation was successful, but a
reboot is required.
111SUCCESS_REBOOT
The component was current or not
required.
333SUCCESS_NOT_REQUIRED
A general failure occurred. For details,
see the error log.
-1255-1FAILURE_GENERAL
Command-line interface 79