HP Smart Update Manager (SUM) manual Return codes, Linux smart-component return codes

Page 27

/override_existing_connection /continue_on_error ServerNotFound /silent /logdir "Management_Server_Files"

hpsum /target "Management Server1" /target "Management Server2" /target "Management Server3" /user administrator /passwd letmein /use_latest /allow_update_to_bundle /allow_non_bundle_components /force:all /override_existing_connection /continue_on_error ServerNotFound /silent /logdir "Management_Server_Files"

Results: All software components and firmware components from the update bundle, cp008097.exe, and cp008257.exe were installed on Management Server1, Management Server2, and Management Server3.

Return codes

HP SUM has consolidated return codes from Linux and Windows smart components into a new, enhanced return-code mapping. These return codes determine the status of the component installation. You can also use return codes in a script to control the execution of the script and determine any required branching.

In Linux, the negative return codes are reported. These return codes are determined by subtracting the negative value from 256.

Return code

 

Value

Linux

Windows

Text

SUCCESS_NO_REBOOT

 

0

0

0

The installation was successful.

SUCCESS_REBOOT

 

1

1

1

The installation was successful, but a

 

 

 

 

 

reboot is required.

SUCCESS_NOT_REQUIRED

 

3

3

3

The component was current or not

 

 

 

 

 

required.

FAILURE_GENERAL

 

-1

255

255

A general failure occurred. For details,

 

 

 

 

 

see the error log.

FAILURE_BAD_PARM

 

-2

254

254

A bad input parameter was

 

 

 

 

 

encountered.

FAILURE_COMPONENT_FAILED

-3

253

253

The installation of the component

 

 

 

 

 

failed.

Windows smart-component return codes

 

 

 

Error level

Meaning

 

 

 

0

The smart component was not installed. For more information, see the log file.

1

The smart component was installed successfully.

 

2

The smart component was nstalled successfully, but the system must be restarted.

3

The installation was not attempted because the required hardware is not present, the

 

software is current, or there is nothing to install.

 

Linux smart-component return codes

Single-target servers:

Error level

Meaning

0

The smart component was installed successfully.

1

The smart component was installed successfully, but the system must be restarted.

Command-line interface 27

Image 27
Contents HP ProLiant Support Pack User Guide Page Contents Documentation feedback Acronyms and abbreviations Index Not be available in some cases IntroductionPSP overview Components in the PSPWhich does not ship in Red Hat or Suse Component Description/Benefit Storage-LinuxCreating a centralized, network-based software repository New featuresNew features Obtaining PSP Version controlMinimum requirements for Microsoft Windows PSP Deploying PSPsPSP deployment scenarios Deployment for Microsoft WindowsInstalling the PSP for Windows Installing the PSP for WindowsDeploying PSPs for Linux Server virtualization detection and supportUpgrading a PSP from HP SUM 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 Advanced topics Command-line interfaceCommand-line syntax Command-line interfaceUsewmi No switchesUseams UsesnmpCommand-line arguments Installation options 22.33.4480 UsewebUse this argument to select a partition to update Installation options Overriding errorsReboot options Reboot Rebootmessage reboot messageCurrentcredential Rebootdelay timeoutinsecsRebootalways DryrunPath\hp\log\netAddress PasswordLogdir path SYSTEMDRIVE%\CPQSYSTEM\hp\Component configuration for Windows components only HP SUM Command-line examplesLinux smart-component return codes Return codesLinux RPM return codes Input filesInput files Error reportingInput file format and rules File encodingInput file parameters YES, no IgnoreerrorsSourcepath UselatestUseproxyserver WebupdateneededSoftwareonly UsecurrentcredentialCmamgmtstationrwcommstr CmalocalhostrwcommstrCmalocalhostrocommstr CmamgmtstationrwipordnsANONYMOUS-ACCESS HpvcavcrmloginidHpvcavcrmloginpasswd ADMIN-GROUPIP-RESTRICTED-EXCLUDE or IP-RESTRICTED-INCLUDE10.1.1.1-10.1.1.10 10.2.2.2-10.2.2.10 HPQLA2X00FO TrustmodeCertlist XenamelistDevicelist UpdatetypeRebootlist IgnorewarningsEND Targets HpsumInventoryReportdate.html HpsumInventoryReportdate.xml ReportsUsage hpsum /report HpsumReportdate.html HpsumReportdate.xmlReport type HPSUMInstalledReportdatatime.xml or HtmlTroubleshooting Installation troubleshooting for Microsoft WindowsInstallation troubleshooting for Microsoft Windows Troubleshooting Ports Ports 445 and 137/138/139Ports Description Installation troubleshooting for Linux Port How many target devices are selected for installationSend data to the target server PortsInformation to collect before contacting HP How to contact HPSubscription service Related information Support and other resourcesMonospace text Typographic conventionsHP Insight Remote Support software WebsitesHP Insight Remote Support software Documentation feedback Documentation feedbackTransmission Control Protocol/Internet Protocol Acronyms and abbreviationsIndex Obtaining PSPs overviewIndex