Creating HP Smart Update Manager input files

The HP Smart Update Manager input file functionality enables network administrators to leverage this capability to script multiple targets or groups within a single operation. Currently, there is a limit of 29 total targets for an installation with HP Smart Update Manager. The input file functionality can be leveraged to streamline even further the updates for workgroup-sized groups of servers and targets. To protect your credentials, use a secure server or a management console.

To create an input file, use Microsoft® Notepad. 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 do dry runs of installations to ensure the scripts are working without deploying the firmware updates that may be needed 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.

Examples of the HP Smart Update Manager input file:

REBOOTALLOWED = YES

REBOOTREQUIRED = NO

REBOOTMESSAGE = “Server is going down for a reboot”

REBOOTDELAY = 15

COMPONENTSLIST = cp001234.exe, cp001235.exe

BUNDLESLIST = bp001234.xml

ALLOWUPDATEBUNDLE = YES

SKIPTARGET = NO

IGNOREERRORS = ServerNotFound, FailedDependencies

SOURCEPATH = c:pkgsource1

USELATEST = YES

SILENT = YES

OPTIONS = /f:rom

[TARGETS]

HOST = schinta1

HOST = schinta2

UID = root

PWD = root123

HOST = 234.567.765.432

[END]

Example 1: The two targets are passed to be updated. The targets do not necessarily have to be OAs. They can be any target supported by HP Smart Update Manager.

DRYRUN = YES

SILENT = YES

[TARGETS]

HOST = BL465C-01

HOST = 192.168.1.2

[END]

Example 2: A host is passed along with the user ID and password to use.

DRYRUN = YES

SILENT = YES

[TARGETS]

HOST=BL685cG6

UID = Bigboss2

PWD = password

[END]

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 Smart Update Manager, add it as the inputfile <filename> parameter to a normal HP Smart Update Manager 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 Smart Update Manager executables. The <filename> field may be enclosed in double quotes to allow for paths with spaces. Also, the input file itself may contain the same flags on the command line. The usual command line flags may still be used with the -inputfile flag, and takes precedence over any given input file.

Creating HP Smart Update Manager input files