Table 10 CONREP command line arguments (continued)
DescriptionCommand-line Argument
This argument defines the name and location of the XML
hardware definition file. . The default file is /op/hp/
-x filename
tools/conrep.xml. If conrep is not run from directory
/opt/hp/tools, this option must be used.
This argument defines the name and location of the system
configuration data file. The default file is conrep.dat.
-f filename
This argument displays help information.-h
Table 11 CONREP return codes
MeaningValue
The command was completed successfully.0
The hardware definition file (conrep.xml) is not found.1
The system configuration data file (conrep.dat) is corrupt
or not found.
2
The XML hardware definition file (conrep.xml) is corrupt
or not appropriate for the current platform.
5
No XML tag defined in hardware definition file.6
Invalid command line or usage error.7
General error. See error message for details.255
CONREP -s (Store to Data file)
This is an example of usage for HP Proliant servers to extract BIOS settings using the default
conrep.xml file and configuration stored in default conrep.dat file.
/opt/hp/tools # ./conrep –s
conrep 4.0.0.0 - HP Configuration Replication Utility
Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P.
System Type:ProLiant BL465c Gen8
ROM Date: 11/02/2013
ROM Family : A26
Processor Manufacturer: AMD
XML System Configuration: conrep.xml
Hardware Configuration: conrep.dat
Global Restriction: [3.40]
OK
Platform check:
[ProLiant BL ]match
Saving configuration data to conrep.dat
Conrep Return Code:0
Following is an example of usage of conrep tool when run from directory other than /op/hp/tools,
using the default files:
/vmfs/volumes/mytoolsdir# /opt/hp/tools/conrep –x /opt/hp/tools/conrep.xml –s
conrep 4.0.0.0 - HP Configuration Replication Utility
Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P.
System Type: ProLiant BL465c Gen8
ROM Date: 11/02/2013
ROM Family : A26
Processor Manufacturer: AMD
XML System Configuration: /op/hp/tools/conrep.xml
Hardware Configuration: conrep.dat
Global Restriction: [3.40 ]
OK
Platform check:
16 Introduction
Comments to this Manuals