Conrep return codes, Conrep screen output, Conrep -s (store to data file) – HP Scripting Toolkit for Linux 9.60 User Manual
Page 32

CONREP return codes
Meaning
Value
The command was completed successfully.
0
The hardware definition data file (conrep.xml) is corrupt
or not found.
1
The system configuration data file (conrep.dat) is corrupt
or not found.
2
The system administrator password is set. The settings
cannot be changed unless this password is cleared.
4
The XML hardware definition file (conrep.xml) is corrupt
or not appropriate for the current platform.
5
No XML tag.
6
Invalid command line or usage error .
7
General error. See error message for details.
255
CONREP screen output
A typical screen output generated by CONREP is similar to the following:
conrep 3.00 3.10 - Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2012 Hewlett-Packard Development Company, L.P.
System Type: ProLiant DL360 G4
ROM Date: 08/16/2005
ROM Family: P52
XML System Configuration: conrep.xml
Hardware Configuration: demo.dat
File contains global platform restrictions
Global Restriction: [minimumconrepversion] OK
Platform check:
[ProLiant DL3] match
[ProLiant DL5] no match
Saving configuration data to demo.dat.
CONREP Return code: 0
CONREP -s (Store to Data file)
This is an example of usage for HP ProLiant servers not using the Oxx ROM family. To extract the
BIOS settings from an SL160z G6 server and save the configuration to an "sl160zconrep.dat"
data file:
[root@ilo002481b08134 conrep]# ./conrep -s -xconrepSL160zg6_20090728.xml -fsl160zconrep.dat
conrep 3.00 - Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2012 Hewlett-Packard Development Company, L.P.
System Type: ProLiant SL160z G6
ROM Date : 07/28/2009
ROM Family : O33
Processor Manufacturer : Intel
XML System Configuration : conrep_SL160zg6_20090728.xml
Hardware Configuration : sl160zconrep.dat
32
Scripting Toolkit utilities