HP Integrity rx2800 HP Smart Update Manager User Guide - Page 73

Return codes, Windows smart component return codes, were installed on Management Server1

Page 73 highlights

• 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 firmware components, software components from the 7.90 PSP, 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. To view the installation log file locations, see "Viewing the installation results (on page 43)." Return code SUCCESS_NO_REBOOT SUCCESS_REBOOT SUCCESS_NOT_REQUIRED FAILURE_GENERAL FAILURE_BAD_PARM FAILURE_COMPONENT_FAILED Value 0 1 Linux 0 1 Windows ® 0 1 3 3 3 -1 255 255 -2 254 254 -3 253 253 Text The installation was successful. The installation was successful, but a reboot is required. The component was current or not required. A general failure occurred. For details, see the error log. A bad input parameter was encountered. The installation of the component failed. Windows smart component return codes Error level 0 1 2 3 Meaning The smart component failed to install. For more details, see the log file. The smart component installed successfully. The smart component installed successfully, but the system must be restarted. The installation was not attempted because the required hardware is not present, the software is current, or there is nothing to install. Scripted deployment 73

  • 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
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124

Scripted deployment 73
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 firmware components, software components from the 7.90 PSP,
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.
To view the installation log file locations, see "Viewing the installation results (on page
43
)."
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 failed to install. For more details, see the log file.
1
The smart component installed successfully.
2
The smart component installed 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.