HP BL680c HP ProLiant Firmware Maintenance CD User Guide - Page 52

HP Smart Update Manager return codes, were installed on Management Server1, Management Server2

Page 52 highlights

• hpsum /b BP000315.xml /f:bundle /softwareonly Results: All the software components from the 7.80 PSP, which HP Smart Update Manager determined needed to be installed, were installed. No firmware was installed. Example 3: This command line input deploys firmware: hpsum /romonly Results: All the firmware components, which HP Smart Update Manager determined needed to 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 /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 the firmware components, software components from the 7.90 PSP, cp008097.exe, and cp008257.exe were installed on Management Server1, Management Server2, and Management Server3. HP Smart Update Manager return codes HP Smart Update Manager has consolidated return codes from Linux and Windows® 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. To view the installation log file locations, see "Viewing the installation results (on page 30)." Return code SUCCESS_NO_REBOOT Value 0 Linux 0 Window s 0 Text The installation was successful. Scripted deployment 52

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87

Scripted deployment 52
hpsum /b BP000315.xml /f:bundle /softwareonly
Results: All the software components from the 7.80 PSP, which HP Smart Update Manager determined
needed to be installed, were installed. No firmware was installed.
Example 3:
This command line input deploys firmware:
hpsum /romonly
Results: All the firmware components, which HP Smart Update Manager determined needed to 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
/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 the firmware components, software components from the 7.90 PSP,
cp008097.exe,
and
cp008257.exe
were installed on Management Server1, Management Server2, and Management
Server3.
HP Smart Update Manager return codes
HP Smart Update Manager has consolidated return codes from Linux and Windows® 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.
To view the installation log file locations, see "Viewing the installation results (on page
30
)."
Return code
Value
Linux Window
s
Text
SUCCESS_NO_REBOOT
0
0
0
The installation was successful.