|
3 Using scripts to deploy updatesCommand-line interfaceYou can use the HP SUM command-line interface to script custom installations.Command-line syntaxThe 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 server>][/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 administratorequivalent ID and not an operator or user equivalent level ID.NOTE: All parameters and information enclosed in brackets are optional. The parameters maybe 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 enteredthrough the command line via a double-byte character set will not be displayed correctly.Switch update commandsG7 and earlier servers do not support AMS agents. The following tables show what updates occurwhen you use the switch agent commands.Command-line interface 31 PreviousNext |