HP Integrity Superdome 2 8/16 HP Smart Update Manager 5.1 User Guide - Page 31

Using scripts to deploy updates, Command-line interface, Command-line syntax, Switch update commands

Page 31 highlights

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] ] [/group "group_name"] [/b[undle] ] [/allow_update_to_bundle] [/allow_non_bundle_components] [/use_latest] [/use_location "file_share"] [/use_web] [/use_d[ownloaded]] [/tpmbypass] [/ignore_tpm] [/use_snmp] [/use_wmi] [/use_ams][/romonly] [/softwareonly] [/dryrun] [/continue_on_error ] [/override_existing_connection] [/express_install] [/user or /username ] [/passwd ] [/current_credential] [/target "netAddress"] [/logdir "path"] [/v[erbose]] [/veryv[erbose]] [/report][/inventory_report] [/firmware_report] [/On_failed_dependency:] [/oa_username ] [/oa_password ] [/use_proxy ] [/proxy_script ] [/proxy_user ] [/proxy_passwd ][/inputfile "filename"] [/c[omponent] ][ ...][ ...] The following commands are supported only by Superdome 2 servers: [/update_type] [/device_list ] [/reboot_list ] 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 hypen (-) or slash (/) character. These examples show only the slash. On Windows operating systems, use a slash before each argument. On Linux operating systems, 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. Switch update commands G7 and earlier servers do not support AMS agents. The following tables show what updates occur when you use the switch agent commands. Command-line interface 31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77

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] [/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"] [/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>...]
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 hypen (-) or slash (/) character. These examples show only the slash.
On Windows operating systems, use a slash before each argument. On Linux operating systems,
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.
Switch update commands
G7 and earlier servers do not support AMS agents. The following tables show what updates occur
when you use the switch agent commands.
Command-line interface
31