Hwquery return codes, Hwquery command-line examples, Using conrep – HP SmartStart-Software User Manual
Page 30: Hwquery return codes hwquery command-line examples
Toolkit utilities 30
Command-line argument
Description
case-sensitive.
...
You can specify multiple variable=<string> arguments.
HWQUERY return codes
Value
Meaning
0
The command was completed successfully
n
N arguments were ignored because they were not in the variable=
HWQUERY command-line examples
Command-line argument
Description
hwquery hpdiscovery.xml allboards.xml
MY_SYS_RAM=TotalRAM
For a hpdiscovery.xml file that contains
produces the following:
MY_SYS_RAM=768
hwquery hpdiscovery.xml allboards.xml
"TEST=Smart Array"
For a hpdiscovery.xml file that indicates a Smart
Array 5i Controller is present, HWQUERY
produces the following:
TEST=Smart Array 5i Controller
hwquery hpdiscovery.xml allboards.xml
MYRAM=TotalRAM MYROMDATE=ROMDate
For a hpdiscovery.xml file that contains
HWQUERY produces the following:
MYRAM=768
MYROMDATE=11/15/2002
hwquery hpdiscovery.xml allboards.xml
"TEST=smart array 5i"
Although the controller is present, HWQUERY
produces the following:
TEST=
This behavior is correct. The string is case-
sensitive, and the argument uses lowercase
lettering instead of the uppercase found in the
allboards.xml file.
Using CONREP
The CONREP utility generates a system configuration XML file used to duplicate the hardware
configuration of one ProLiant server onto another. The CONREP utility uses the hardware configuration
XML file to identify and configure the system, which defaults to conrep.xml. You can change the default
using the -x option. The actual system configuration file is captured as an XML data file. The default name
is conrep.dat.
CAUTION:
Improper modification of the CONREP data files can result in the loss of critical
data. Only experienced users of the Toolkit should attempt to modify the data files. Because
of the potential risk of data loss, take all necessary precautions to ensure that mission-critical
systems remain online if a failure occurs.