HP Smart Update Manager (SUM) manual Command-line examples, Hp Sum

Page 26

Command-line examples

The following command-line parameter examples can be executed within these environments:

Firmware:

System ROM

Smart Array controller

Hard drives

iLO

Software—later version of:

HP Insight Diagnostics Online Edition for Windows Server 2003 (cp008097.exe)

HP System Management Homepage (HP SMH) for Windows (cp008257.exe)

HP SUM

Defined groups: Management Servers—three servers (Management Server1, Management Server2, Management Server3)

Example 1:

This command-line input deploys the latest PSP and firmware components:

hpsum /use_latest /allow_non_bundle_components /silent

Results: All software components and firmware components from the update bundle, which HP SUM determined must be installed, were installed.

Example 2:

Either of the following command-line inputs can deploy the previous version of the PSP only and force all the components to be installed:

hpsum /f:bundle /softwareonly BP000315.xml

hpsum /b BP000315.xml /f:bundle /softwareonly

Results: All software components and firmware components from the update bundle, which HP SUM determined must be installed, were installed. No firmware was installed.

Example 3:

This command-line input deploys firmware:

hpsum /romonly

Results: All firmware components that must be installed, were installed. No software was installed.

Example 4:

Either of the following command-line inputs can deploy two software components:

hpsum /f:software cp008097.exe cp008257.exe

hpsum /c cp008097.exe /c cp008257.exe /f:software

Results: The two components were installed. No firmware or other software was installed.

Example 5:

Either of the following command-line inputs can deploy the latest PSP, later versions of components in the bundle, and firmware to three remote hosts and force all components to be installed:

hpsum /group "Management Servers" /current_credential /use_latest /allow_update_to_bundle /allow_non_bundle_components /force:all

26 Advanced topics

Image 26
Contents HP ProLiant Support Pack User Guide Page Contents Documentation feedback Acronyms and abbreviations Index Components in the PSP IntroductionPSP overview Not be available in some casesComponent Description/Benefit Storage-Linux Which does not ship in Red Hat or SuseObtaining PSP Version control New featuresNew features Creating a centralized, network-based software repositoryDeployment for Microsoft Windows Deploying PSPsPSP deployment scenarios 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 interface Command-line interfaceCommand-line syntax Advanced topicsUsesnmp No switchesUseams UsewmiCommand-line arguments Installation options Useweb 22.33.4480Reboot Rebootmessage reboot message Installation options Overriding errorsReboot options Use this argument to select a partition to update Dryrun Rebootdelay timeoutinsecs Rebootalways CurrentcredentialSYSTEMDRIVE%\CPQSYSTEM\hp\ PasswordLogdir path Path\hp\log\netAddressComponent configuration for Windows components only Command-line examples HP SUMReturn codes Linux smart-component return codesInput files Linux RPM return codesFile encoding Error reportingInput file format and rules Input filesInput file parameters Uselatest IgnoreerrorsSourcepath YES, noUsecurrentcredential WebupdateneededSoftwareonly UseproxyserverCmamgmtstationrwipordns CmalocalhostrwcommstrCmalocalhostrocommstr CmamgmtstationrwcommstrADMIN-GROUP HpvcavcrmloginidHpvcavcrmloginpasswd ANONYMOUS-ACCESS10.1.1.1-10.1.1.10 10.2.2.2-10.2.2.10 IP-RESTRICTED-EXCLUDE orIP-RESTRICTED-INCLUDE Xenamelist TrustmodeCertlist HPQLA2X00FOIgnorewarnings UpdatetypeRebootlist DevicelistEND Targets HpsumReportdate.html HpsumReportdate.xml ReportsUsage hpsum /report HpsumInventoryReportdate.html HpsumInventoryReportdate.xmlHPSUMInstalledReportdatatime.xml or Html Report typeInstallation troubleshooting for Microsoft Windows TroubleshootingInstallation troubleshooting for Microsoft Windows Ports Description TroubleshootingPorts Ports 445 and 137/138/139 Installation troubleshooting for Linux Ports How many target devices are selected for installationSend data to the target server PortSupport and other resources How to contact HPSubscription service Related information Information to collect before contacting HPWebsites Typographic conventionsHP Insight Remote Support software Monospace textHP Insight Remote Support software Documentation feedback Documentation feedbackAcronyms and abbreviations Transmission Control Protocol/Internet ProtocolIndex IndexObtaining PSPs overview