HP Smart Update Manager (SUM) manual Advanced topics, Command-line interface, Command-line syntax

Page 17

3 Advanced topics

Command-line interface

You can use the HP SUM command-line interface to script custom installations.

For more information on using HP SUM, see the HP Smart Update Manager User Guide at http:// www.hp.com/support/HP_Smart_Update_Manager_UG_en.

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 hyphen (-) 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

HP ProLiant 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 17

Image 17
Contents HP ProLiant Support Pack User Guide Page Contents Documentation feedback Acronyms and abbreviations Index PSP overview IntroductionComponents in the PSP Not be available in some casesWhich does not ship in Red Hat or Suse Component Description/Benefit Storage-LinuxNew features New featuresObtaining PSP Version control Creating a centralized, network-based software repositoryPSP deployment scenarios Deploying PSPsDeployment for Microsoft Windows Minimum requirements for Microsoft Windows PSPInstalling the PSP for Windows Installing the PSP for WindowsUpgrading a PSP from HP SUM Deploying PSPs for LinuxServer virtualization detection and support Minimum requirements for Linux PSP Minimum requirements for Linux PSPMinimum requirements for Red Hat Enterprise Linux 6 servers Rpm-build-4.8.0-12.el6.arch.rpm Gcc-4.4.4-13.el6.arch.rpm E2fsprogs-32bit Installing or upgrading a PSP for Linux Verifying Installed Components Command-line syntax Command-line interfaceCommand-line interface Advanced topicsUseams No switchesUsesnmp UsewmiCommand-line arguments Installation options 22.33.4480 UsewebReboot options Installation options Overriding errorsReboot Rebootmessage reboot message Use this argument to select a partition to updateRebootalways Rebootdelay timeoutinsecsDryrun CurrentcredentialLogdir path PasswordSYSTEMDRIVE%\CPQSYSTEM\hp\ Path\hp\log\netAddressComponent configuration for Windows components only HP SUM Command-line examplesLinux smart-component return codes Return codesLinux RPM return codes Input filesInput file format and rules Error reportingFile encoding Input filesInput file parameters Sourcepath IgnoreerrorsUselatest YES, noSoftwareonly WebupdateneededUsecurrentcredential UseproxyserverCmalocalhostrocommstr CmalocalhostrwcommstrCmamgmtstationrwipordns CmamgmtstationrwcommstrHpvcavcrmloginpasswd HpvcavcrmloginidADMIN-GROUP ANONYMOUS-ACCESS10.1.1.1-10.1.1.10 10.2.2.2-10.2.2.10 IP-RESTRICTED-EXCLUDE orIP-RESTRICTED-INCLUDE Certlist TrustmodeXenamelist HPQLA2X00FORebootlist UpdatetypeIgnorewarnings DevicelistEND Targets Usage hpsum /report ReportsHpsumReportdate.html HpsumReportdate.xml HpsumInventoryReportdate.html HpsumInventoryReportdate.xmlReport type HPSUMInstalledReportdatatime.xml or HtmlInstallation troubleshooting for Microsoft Windows TroubleshootingInstallation troubleshooting for Microsoft Windows Ports Description TroubleshootingPorts Ports 445 and 137/138/139 Installation troubleshooting for Linux Send data to the target server How many target devices are selected for installationPorts PortSubscription service Related information How to contact HPSupport and other resources Information to collect before contacting HPHP Insight Remote Support software Typographic conventionsWebsites Monospace textHP Insight Remote Support software Documentation feedback Documentation feedbackTransmission Control Protocol/Internet Protocol Acronyms and abbreviationsIndex IndexObtaining PSPs overview