HP Smart Update Manager 4.2.1 Command Line Help HP Smart Update Manager recognizes the following command line arguments. These arguments pre-populate the GUI in the Select Items to be Installed screen. If you specify the host or group, the Select Items to be Installed screen will not appear. If no command line arguments are executed on the command line, the HP Smart Update Manager GUI appears. Some arguments, such as /romonly and /softwareonly, cannot be used together. Using HP Smart Update Manager with HP BladeSystem C-Class Onboard Administrator or remote hosts requires the user ID, password and the target server IP address or DNS name to log in. The general command line syntax for the HP Smart Update Manager is: hpsum [/h[elp]] [/?] [/f[orce]] [/f[orce]:bundle] [/f[orce]:rom] [/f[orce]:software] [/f[orce]:all ] [/g (/downgrade)] [/e (/rewrite)] [/m[utual])] [/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_proxy ] [/proxy_script ] [/use_d[ownloaded]] [/tpmbypass] [/ignore_tpm][/use_snmp] [/use_wmi] [/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:][/inputfile "filename"] [/c[omponent] ][ ...][ ...] NOTE: All arguments and information enclosed in brackets are optional. The arguments may be prefixed with either a '-' or '/' character. These examples show only the '/'. Command line argument Description /h[elp] or /? This argument displays command line Help information. /f[orce] This argument enables you to override or downgrade an existing installation of a given software component. This has the same behavior as /f:software. /f[orce]:bundle This argument enables you to override or downgrade the existing installation of components in the selected bundle. /f[orce]:rom This argument enables you to override or downgrade the existing installation of the selected firmware components. (Applies to firmware only.) /f[orce]:software This argument enables you to override or downgrade the existing installation of the selected software components. /f[orce]:all This argument enables you to override or downgrade the existing installation of the selected software components, firmware components, and bundles. /g or /downgrade This argument enables you to downgrade to an earlier version of firmware only for multi-target devices such as hard drives and array controllers. (Applies to firmware only.) /e or /rewrite This argument enables you to rewrite the same version of firmware only for multi-target devices such as hard drives and array controllers. (Applies to firmware only.) /m[utual] This argument informs the firmware flash engine to flash the firmware if the device to be flashed is in a shared storage environment. If the device to be flashed is in a shared storage environment and the -m option is not passed, the component installation will fail. (Applies to firmware only.) /r[eboot] This argument causes the server (or host server in a remote installation) to reboot if the following conditions are met: * The /reboot option has been selected or given as a command line argument. * All components selected for installation were successfully installed or were not required to install. * At least one of the components installed required a reboot to complete its installation. /reboot_message "message" This argument displays the specified reboot message on remote consoles connected to the server to be rebooted. This argument must be used with the /reboot option or it will be ignored. /reboot_delay timeout_in_secs This argument delays server reboot for timeout_in_seconds seconds. This argument must be used with the /reboot option or it will be ignored. Acceptable values are between 15 and 3600. The default timeout alue is 15 seconds for Windows® and 60 seconds for Linux. Note: In Linux, the Reboot Delay time is automatically converted from seconds to minutes. Any alue under a full minute, 59 seconds or less, will be rounded to the next minute for Linux. /reboot_always This argument forces the server to reboot if the following conditions are met: * The /reboot_always option is selected or given as a command line argument. * All components selected for installation were successfully installed. /s[ilent] This argument causes the installation to run silently with no GUI or console output. All data writes to the log file. Any generated prompts use the default option and continue the installation without user input. If a component requires input before installation (such as configuration information), then the component installation fails, and an error message writes to the log file. Failed dependencies are not reported to the user when using the /s[ilent]argument. To check for failed dependencies, remove the /s[ilent] argument, reissue the command line, and then the HP Smart Update Manager is presented. Continue_on_error argument is not supported with the /s[ilent] argument for this release of HP Smart Update Manager. /c[omponent] This argument specifies components to or install.Components to install can be specified with or without the /c[omponent] argument. If ... using the /c[omponent] argument, only one component can specified with the argument. However, multiple /c arguments and components can be specified on the same line. If the /c[omponent] argument is not used, multiple components can be specified at the same time, but the components must be separated by a blank and listed after all the arguments on the command line. The components are installed in the order provided unless dependencies between components require installation in a different order. If so, the utility changes the installation order based on the component dependencies to ensure the successful installation of as many components as possible. Multiple components and bundles can be specified on the same command line. When mixing components and bundles on the command line, it is the filter switches that control what what components and bundles are installed. /group "group_name" This argument specifies an already defined group name in the HP Smart Update Manager graphical user interface. /b[undle] This argument specifies bundles to install. or Bundles to install can be specified with or without the /b[undle] argument. If using the /b[undle] argument, only one bundle can specified with the argument. However, multiple /b arguments and bundles can be specified on the same line. If the /b[undle] argument is not used, multiple bundles can be specified at the same time, but the bundles need to be separated by a blank and listed after all the arguments on the command line. Multiple components and bundles can be specified on the same command line. When mixing components and bundles on the command line, it is the filter switches that control what components and bundles are installed. /allow_update_to_bundle This argument is a filter switch and enables the user to install newer versions of components defined in a PSP or firmware bundle if they exist. This parameter enables these components to replace the older versions of the same component that might have shipped with the bundles. /allow_non_bundle_components This argument is a filter switch and enables the user to install components which are not included in the bundle but reside in the directory with the components in the bundle. /use_latest This argument is a filter switch for use with bundles. The argument enables the latest version of the bundle to be used when multiple versions of bundles are listed on the command line. If there are no bundles specified on the command line, and multiple bundles are in the directory, the /use_latest argument allows HP Smart Update Manager to use the bundle with the latest version for installation. /use_location "file_share" This argument specifies a directory or file share that contains the PSP and components for use with HP Smart Update Manager. The "file_share" format must be a mapped file share and not in Universal Naming Convention (UNC) format.If this argument is not specified, the directory containing hpsum.exe or HP Smart Update Manager is used by default. This will populate the Directory box on the Source Selection screen. The logged in account must have access to this location. The /user and /passwd arguments do not have any effect when attempting to access the file share. They are only used when connecting to a target system. /use_web This argument specifies that the check box for Check ftp.hp.com on the Source Selection screen is to be selected. This allows components to be retrieved from hp.com and to be used in the list of possible updates. /use_proxy This argument enables the inclusion of a proxy server (and port number) to access ftp.hp.com. This parameter must be used with /use_web. For example, /use_web /use_proxy <1.22.33.44:80> /proxy_script This argument enables the inclusion of a proxy script to access ftp.hp.com. This parameter must be used with /use_web. For example, /use_web /proxy_script /use_d[ownloaded] This argument specifies that the check box for Include components previously downloaded from HP.com on the Source Selection screen is to be selected. This allows those previously downloaded components to be included in the list of possible updates. This argument is not supported on HP Integrity servers /tpmbypass or /ignore_tpm These arguments specifies that if a Trusted Platform Module (TPM) is enabled, the warning message should be ignored and component installation will be allowed to continue. /use_snmp This argument specifies that components, which use SNMP protocol, are available to be selected for installation. These components are available for selection by default. When the /use_snmp argument is used and the /use_wmi argument is not, the WMI components are optional. This argument is not supported on HP Integrity servers. /use_wmi This argument specifies that components, which use WMI protocol, are available to be selected for installation. These components are optional by default and will not be installed unless this argument is used. When the /use_wmi argument is used and the /use_snmp argument is not, the SNMP components are optional. This argument is not supported on HP Integrity servers. /romonly This argument is a filter switch and allows the user to only see the firmware components needed for installation. When using this filter switch, you must exit and restart HP Smart Update Manager if you wish to return to an unfiltered state. Do not use the /romonly argument with the /softwareonly argument. /softwareonly This argument is a filter switch and allows the user to only see the software components needed for installation. When using this filter switch, you must exit and restart HP Smart Update Manager if you wish to return to an unfiltered state. Do not use the /softwareonly argument with the /romonly argument. /dryrun This argument simulates the installation for a test run. Nothing is installed. /continue_on_error This argument causes the installation to continue and ignore errors. Valid values are =ServerNotFound and =BadPassword. The ServerNotFound option can be used to bypass inactive or unavailable remote hosts when deploying firmware or software to multiple remote hosts at the same time. /override_existing_connection This argument is used to define the behavior when a remote target has an existing HP Smart Update Manager session in progress. It overrides the session in progress and reinitializes the installation framework on the remote host. /express_install This argument starts express install (for local host only). The HP Smart Update Manager performs discovery/install/exit without user interaction. The user can cancel or terminate HP Smart Update Manager. /user or This argument enables you to log in to HP /username BladeSystem c-Class Onboard Administrator or remote hosts with this user ID. /passwd This argument enables you to use this password for the user ID specified in the /user parameter. The password is used to login to remote hosts and HP BladeSystem c-Class Onboard Administrators. /current_credential This argument enables the credential of the local host to be used as the credential to access the targets instead of providing the username and password explicitly for each target. The assumption is that the current credential is valid for the targets being accessed. (Applies to Windows® only) /target "netAddress" This argument is the IP address or the DNS name of a remote host which can be remote server, remote iLO NIC port, Virtual Connect Ethernet or Fibre Channel Module for c-Class BladeSystem, or BladeSystem Onboard Administrator When two Onboard Administrators are in an enclosure, this argument should be the active Onboard Administrator. /logdir "path" This argument enables you to redirect the output from HP Smart Update Manager or the HP BladeSystem c-Class Onboard Administrator flash utility to a different directory than the default location. For Windows® components, the default location is %SYSTEMDRIVE%\CPQSYSTEM\hp\log and the redirected location is \hp\log\. For Linux components, the default location is /var/hp/log/ and the redirected location is /hp/log/. /v[erbose] or These arguments enable you to set the verbosity /veryv[erbose] level for the HP Smart Update Manager execution log file, hpsum_execution_log__