SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems

Table Of Contents
<HWDiscovery version=1.0>
<ServerInformation>
<SystemName>Server rx2620</SystemName>
<SerialNumber>52JAPE4343073100</SerialNumber>
<AssetTag>rx2620<AssetTag>
<EFIFw>1.10</EFIFw>
<BMCFw>01.56</BMCFw>
<MPFw>E.02.26</MPFw>
<Cells>1</Cells>
<Ram>512</Ram>
<Processors>2</Processors>
<PCIDevices>
<PCIDevice num=0>
<Bus>0</Bus>
<Device>3</Device>
<Function>0</Function>
<Id>10024752</Id>
<SubID>0E11001E</SubID>
</PCIDevice>
<PCIDevice num=1>
<Bus>0</Bus>
<Device>4</Device>
<Function>0</Function>
<Id>0E11B203</Id>
<SubID>0E11B206</SubID>
</PCIDevice>
.
.
.
</PCIDevices>
</ServerInformation>
</HWDiscovery>
hwquery
Synopsis
hwquery [path]hwdiscfilename [path]allboards.xml variable=<string> ...
Description
The hwquery utility is executed from a script file, in conjunction with other utilities, to control
the install process. The hwquery utility uses data from the hardware discovery file in your own
scripts. The hwquery utility cannot alter environment variables directly. To set the variable, the
output of hwquery must be used by the hosting script. The most common way to use it is to
write the output to an intermediate script file that is subsequently called by the hosting script.
Options
Table 5-13 Options
DescriptionCommand line argument
This argument specifies the hardware discovery file used to run the query.
[path]hwdiscfilename
This argument specifies the allboards.xmlPCI device list file, which is
used to convert PCI IDs found in hardware discovery into device names,
such as “Smart Array 6402 Controller.”
[path]allboards.xml
76 Utilities Reference