HP Integrity Superdome 2 8/16 HP Smart Update Manager 5.0 User Guide - Page 41

Linux RPM return codes, Input files

Page 41 highlights

Error level 1 2 3 4 5 6 7 Meaning The installation of the deliverable is successful. Reboot is required for the deliverable to be enabled. The installation was not attempted because the version to be installed matches the version already installed. The installation was not attempted because of one of the following: • The version to be installed is older than the version already installed. • The supported hardware is not present, not enabled, or in a state that an installation could not be attempted. • The smart component does not support the environment. • There is nothing for the component to accomplish. If the component is installing to a remote target, such as Onboard Administrator or other network-based deployment, this return code indicates that the target cannot be found. The installation was canceled by a user before anything could be installed. The installer cannot execute because of an unmet dependency or installation tool failure. The actual installation operation (not the installation tool) failed. Linux RPM return codes Error level 0 1 Meaning The Linux RPM installation was successful. The Linux RPM installation failed. Input files HP SUM provides the ability to script the update of multiple, individual targets or groups of targets (HP ProLiant and Integrity server and options) within a single operation through the input file functionality. To protect your credentials, use a secure server or a management console. To create an input file, use a text editor. All section headers and trailers [END] must match. Failure to use the SILENT=YES option causes the GUI mode to be used, but the information provided enables you to skip screens where information has already been provided. The DRYRUN=YES option can be used to perform dry runs of installations to ensure the scripts are working without deploying the firmware updates that might be required on each target. Remove the DRYRUN=YES option to perform the updates. For parameters that can take list values, list separator can be commas, semicolons, or spaces. NOTE: The credentials can be left out of the file for greater security and passed on the command line to HP Smart Update Manager. The only limitation of this is that the userID and credentials must be the same on all. When the file has been created, to use it with HP SUM, add it as the inputfile parameter to a normal HP SUM command line. For example, if the name of the input file is hpsum.in, the command-line syntax is hpsum -inputfile hpsum.in. Full paths can be added to the input file location if it is not stored in the same location as the HP SUM executables. The field can be enclosed in double quotes to enable paths with spaces. Also, the input file itself might contain the same flags on the command line. The usual command-line flags can still be used with the -inputfile flag and takes precedence over any given input file. Scripted deployment 41

  • 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

Scripted deployment 41
Error level
Meaning
1
The installation of the deliverable is successful. Reboot is required for the deliverable to be
enabled.
2
The installation was not attempted because the version to be installed matches the version
already installed.
3
The installation was not attempted because of one of the following:
The version to be installed is older than the version already installed.
The supported hardware is not present, not enabled, or in a state that an installation could
not be attempted.
The smart component does not support the environment.
There is nothing for the component to accomplish.
4
If the component is installing to a remote target, such as Onboard Administrator or other
network-based deployment, this return code indicates that the target cannot be found.
5
The installation was canceled by a user before anything could be installed.
6
The installer cannot execute because of an unmet dependency or installation tool failure.
7
The actual installation operation (not the installation tool) failed.
Linux RPM return codes
Error level
Meaning
0
The Linux RPM installation was successful.
1
The Linux RPM installation failed.
Input files
HP SUM provides the ability to script the update of multiple, individual targets or groups of targets (HP
ProLiant and Integrity server and options) within a single operation through the input file functionality. To
protect your credentials, use a secure server or a management console.
To create an input file, use a text editor. All section headers and trailers [END] must match. Failure to use the
SILENT=YES
option causes the GUI mode to be used, but the information provided enables you to skip
screens where information has already been provided. The
DRYRUN=YES
option can be used to perform dry
runs of installations to ensure the scripts are working without deploying the firmware updates that might be
required on each target. Remove the
DRYRUN=YES
option to perform the updates.
For parameters that can take list values, list separator can be commas, semicolons, or spaces.
NOTE:
The credentials can be left out of the file for greater security and passed on the command
line to HP Smart Update Manager. The only limitation of this is that the userID and credentials must
be the same on all.
When the file has been created, to use it with HP SUM, add it as the
inputfile
<filename>
parameter to
a normal HP SUM command line. For example, if the name of the input file is
hpsum.in
, the command-line
syntax is
hpsum -inputfile hpsum.in
. Full paths can be added to the input file location if it is not stored
in the same location as the HP SUM executables. The
<filename>
field can be enclosed in double quotes to
enable paths with spaces. Also, the input file itself might contain the same flags on the command line. The
usual command-line flags can still be used with the -
inputfile
flag and takes precedence over any given
input file.