Hwquery command-line examples, Using conrep – HP ProLiant DL380 Server User Manual
Page 29
HWQUERY command-line examples
Description
Command-line argument
For a hpdiscovery.xml file that contains
, HWQUERY produces
the following:
hwquery hpdiscovery.xml allboards.xml
MY_SYS_RAM=TotalRAM
MY_SYS_RAM=768
For a hpdiscovery.xml file that indicates a Smart Array
5i Controller is present, HWQUERY produces the following:
hwquery hpdiscovery.xml allboards.xml
"TEST=Smart Array"
TEST=Smart Array 5i Controller
For a hpdiscovery.xml file that contains
hwquery hpdiscovery.xml allboards.xml
MYRAM=TotalRAM MYROMDATE=ROMDate
produces the following:
MYRAM=768
MYROMDATE=11/15/2002
Although the controller is present, HWQUERY produces
the following:
hwquery hpdiscovery.xml allboards.xml
"TEST=smart array 5i"
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.
The CONREP utility reads the state of the system environment settings to determine the server
configuration and writes the results to a file that you can edit. The CONREP utility uses the data in
the generated file to configure the target server hardware.
The CONREP utility uses an XML definition file to determine what information to retrieve from and
restore to the server. You can modify this file to update new features or restrict features when
capturing configurations. The default conrep.xml file contains common hardware configuration
settings for most ProLiant series servers other than HP ProLiant 100 series servers using the Oxx
ROM family. Some platforms require special settings that are contained in other XML files. These
files are included in the Scripting Toolkit and are available from the HP website
configure systems that are not supported by the default hardware configuration file.
Many fields in the conrep.xml file contain help text that enables you to configure the field
meanings. This information is also added to the conrep.dat file. Hardware features that are not
supported by the existing platform or ROM version appear in the conrep.dat file.
IMPORTANT:
The file format for the DOS version of CONREP and the current version of CONREP
are not compatible.
Using CONREP
29
- 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