Input files, Command-line usage of input file – HP ProLiant Support Pack User Manual

Page 24

Advertising
background image

Advanced topics 24

Command-line argument Description

repository. The report name is of the format,

HPSUM_Inventory_Report_<date>_<time>.html.
By default, it is located in the present working directory from where HP SUM is

initiated. If that location is write-protected, the report can be found in the same

directory as the HP SUM log files.

/firmware_report

This argument generates a report listing of the firmware in the specified
repository. The report name is of the format,

HPSUM_Firmware_Report_<date>_<time>.html.

By default, it is located in the present working directory from where HP SUM is
initiated. If that location is write-protected, the report can be found in the same

directory as the HP SUM log files.

Using input files

/inputfile “filename”

This argument enables you to script the deployment of firmware and software to

multiple remote systems at one time. For details of the file format and commands,

see Input files (on page

24

).

/Delete input file

This argument enables you to instruct HP SUM to delete the input file after it has

been read in.

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.

Command-line usage of input file

The form for the HP SUM command line using an input file is hpsum -inputfile <filename>. The input

file itself can contain the same flags on the command line. The usual command line flags can still be used with

Advertising
This manual is related to the following products: