Conrep command-line syntax, Conrep command line arguments, Conrep return codes – HP SmartStart-Software User Manual
Page 31
Toolkit utilities 31
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 300, 500, and 700 series servers. 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 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.
CONREP command-line syntax
conrep [-s | -l] [-xhardware_definition_file] [-
fsystem_configuration_file] [-?]
CONREP command line arguments
Command-line argument
Description
-s
This argument saves the system configuration
to a file.
-l
This argument loads the system configuration
from a file and writes it to the target server.
-xfilename
This argument defines the name and location
of the XML hardware definition file. The
default file is conrep.xml.
-ffilename
This argument defines the name and location
of the system configuration data file. The
default file is conrep.dat.
-?
This argument displays help information.
CONREP return codes
Value
Meaning
0
The command was completed successfully.
1
The system configuration data file (conrep.dat) is corrupt or not found.
2
The hardware definition data file (conrep.xml) is corrupt or not found.
3
The Health Driver is required for this operation, but is not loaded.
4
The system administrator password is set. The settings cannot be changed unless this
password is cleared.