Hpdiscovery command-line syntax, Hpdiscovery command-line arguments, Hpdiscovery return codes – HP ProLiant DL380 Server User Manual
Page 26: Hpdiscovery command-line examples, Using ifhw, Ifhw command-line syntax, Ifhw command-line arguments
•
Processor information
•
NIC information
•
PCI devices present in the system
•
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
Description
Command-line argument
This argument specifies the location and name of the
Hardware Discovery data file.
-f filename
This argument displays help information.
-?
HPDISCOVERY return codes
Meaning
Value
The command was completed successfully. A usage
message might appear.
0
The command contained an invalid parameter.
1
HPDISCOVERY command-line examples
Description
Command-line argument
This command generates the file hpdiscovery.xml in the
/toolkit directory.
hpdiscovery -f /toolkit/hpdiscovery.xml
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
Description
Command-line argument
This argument specifies the hardware discovery file used
to run the query.
[path]hpdiscoveryfilename
This argument specifies the allboards.xml PCI device
list file, which is used to convert PCI IDs found in hardware
[path]allboards.xml
26
Toolkit utilities
- ProLiant BL465c Server Blade ProLiant BL2x220c G5 Server-Blade ProLiant BL2x220c G6 Server-Blade ProLiant SL390s G7 Server ProLiant BL280c G6 Server-Blade ProLiant ML370 Server ProLiant DL360p Gen8 Server ProLiant BL680c G5 Server-Blade ProLiant BL480c Server-Blade ProLiant DL370 G6 Server ProLiant SL230s Gen8 Server ProLiant SL250s Gen8 Server ProLiant SL335s G7 Server ProLiant BL260c G5 Server-Blade ProLiant DL365 G5 Server ProLiant BL490c G6 Server-Blade ProLiant BL460c Gen8 Server Blade ProLiant ML350 Server ProLiant DL160 Gen8 Server ProLiant DL585 Server ProLiant BL620c G7 Server-Blade ProLiant ML330 G6 Server ProLiant BL685c Server-Blade ProLiant DL320 Server ProLiant BL680c G7 Server-Blade Intelligent Provisioning ProLiant DL120 G7 Server ProLiant BL495c G6 Server-Blade ProLiant DL580 Server ProLiant DL380p Gen8 Server ProLiant BL2x220c G7 Server-Blade ProLiant DL785 G6 Server ProLiant BL460c Server-Blade ProLiant BL495c G5 Server-Blade ProLiant BL490c G7 Server-Blade ProLiant DL360 Server ProLiant ML310 G5 Server ProLiant DL385 Server ProLiant DL785 G5 Server ProLiant ML350p Gen8 Server