(User Guide) Instruction Manual

3 Using scripts to deploy updates
Command-line interface
You can use the HP SUM command-line interface to script custom installations.
Command-line syntax
The general command-line syntax for HP SUM is as follows:
hpsum [/h[elp]] [/?] [/f[orce]] [/f[orce]:bundle] [/f[orce]:rom]
[/f[orce]:software] [/f[orce]:all ] [/g (/downgrade)] [/e (/rewrite)
[/r[eboot]] [/reboot_message "reboot message"] [/reboot_delay
timeout_in_seconds] [/reboot_always] [/s[ilent]] [/c[omponent]
<component_to_install>] [/group "group_name"] [/b[undle]
<bundle_to_install>] [/allow_update_to_bundle]
[/allow_non_bundle_components] [/use_latest] [/use_location "file_share"]
[/use_web] [/use_d[ownloaded]] [/tpmbypass] [/ignore_tpm] [/nomgmt]
[/use_snmp] [/use_wmi] [/use_ams][/romonly] [/softwareonly] [/dryrun]
[/continue_on_error <error>] [/override_existing_connection]
[/express_install] [/user <username> or /username <username>] [/passwd
<password>] [/current_credential] [/target "netAddress"] [/targettype
type of target ] [/logdir "path"] [/v[erbose]] [/veryv[erbose]]
[/report][/inventory_report] [/firmware_report]
[/On_failed_dependency:<parameter>] [/oa_username <username>]
[/oa_password <password>] [/use_proxy <proxy server>] [/proxy_script
<proxy script>] [/proxy_user <username>] [/proxy_passwd
<password>][/inputfile "filename"] [/c[omponent]
<component_to_install>][<component1_to_install> <component2_to_install>
...][<bundle1_to_install> <bundle2_to_install>...] [/su_username]
[/su_password] [/use_sudo] [/auth_key]
The following commands are supported only by Superdome 2 servers:
[/update_type <type>] [/device_list <device[,device]>] [/reboot_list
<npar[,npar]>]
HP SUM with OA requires a user ID and password to log in. The user ID must be an administrator
equivalent ID and not an operator or user equivalent level ID.
NOTE: All parameters and information enclosed in brackets are optional. The parameters may
be prefixed with either a hyphen (-) or slash (/) character. These examples show only the slash.
On Windows, use a slash before each argument. On Linux, use a hyphen before each argument.
If the /s[ilent] argument is not included on the command line, the HP SUM GUI appears.
NOTE: Command-line syntax does not support double-byte character sets. Any messages entered
through the command line via a double-byte character set will not be displayed correctly.
NOTE: /targettype is an optional command line argument. Use /targettype and /target
together.
Using Linux root credentials
If you run HP SUM from a Linux system where you have not logged in to the system as a root user,
you can still update targets from the CLI if you use Linux root credentials.
34 Using scripts to deploy updates