Hpdiscovery command-line syntax, Hpdiscovery command-line arguments, Hpdiscovery return codes – HP SmartStart-Software User Manual
Page 27: Hpdiscovery command-line examples, Using ifhw, Ifhw command-line syntax, Ifhw command-line arguments
Toolkit utilities 27
•
HP Smart Array controller information
User process decisions can be made based on data that is in the file created by this utility.
NOTE:
Information may not be as detailed on HP ProLiant 100 series servers.
HPDISCOVERY command-line syntax
hpdiscovery [-f filename] [/?]
HPDISCOVERY command-line arguments
Command-line argument
Description
-f filename
This argument specifies the location and name of the Hardware
Discovery data file.
-?
This argument displays help information.
HPDISCOVERY return codes
Value Meaning
0
The command was completed successfully. A usage message might appear.
1
The command contained an invalid parameter.
HPDISCOVERY command-line examples
Command-line argument
Description
hpdiscovery -f
/toolkit/hpdiscovery.xml
This command generates the file hpdiscovery.xml in the
/toolkit directory.
Using IFHW
IFHW is used from a script file, in conjunction with other utilities, to control the deployment. The IFHW
utility enables you to make intelligent queries against the hardware discovery file. Queries take the form
of a logical expression, and the result of the expression is returned as the return code of the tool, which
the hosting script can use to conditionally perform actions.
IFHW command-line syntax
ifhw [path]hpdiscoveryfilename [path]allboards.xml <expression>
IFHW command-line arguments
Command-line argument
Description
[path]hpdiscoveryfilename
This argument specifies the hardware discovery file used
to run the query.