HP ProLiant SL4545 HP Scripting Toolkit 9.30 for Windows User Guide - Page 25

CONREP command line arguments, CONREP return codes, CONREP screen output

Page 25 highlights

CONREP command line arguments Command-line argument -s -l -xfilename -ffilename -? Description This argument saves the system configuration to a file. This argument loads the system configuration from a file and writes it to the target server. This argument defines the name and location of the XML hardware definition file. The default file is conrep.xml. 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 0 1 2 3 4 5 Meaning The command was completed successfully. The hardware definition data file (conrep.xml) is corrupt or not found. The system configuration data file (conrep.dat) is corrupt or not found. The Health Driver is required for this operation but is not loaded. The system administrator password is set. The settings cannot be changed unless this password is cleared. The XML hardware definition file (conrep.xml) is corrupt or not appropriate for the current platform. CONREP screen output A typical screen output generated by CONREP is similar to the following: conrep 3.00 - 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 Using CONREP 25

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

CONREP command line arguments
Description
Command-line argument
This argument saves the system configuration to a file.
-s
This argument loads the system configuration from a file
and writes it to the target server.
-l
This argument defines the name and location of the XML
hardware definition file. The default file is conrep.xml.
-xfilename
This argument defines the name and location of the system
configuration data file. The default file is conrep.dat.
-ffilename
This argument displays help information.
-?
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 Health Driver is required for this operation but is not
loaded.
3
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
CONREP screen output
A typical screen output generated by CONREP is similar to the following:
conrep 3.00 - 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
Using CONREP
25