|
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.
|
-x filename
|
This argument defines the name and location of the XML hardware definition file. The default file is conrep.xml.
|
-f filename
|
This argument defines the name and location of the system configuration data file. The default file is conrep.dat.
|
-h
|
This argument displays help information.
|
CONREP return codes
Value
|
Meaning
|
---|---|
0
|
The command was completed successfully.
|
1
|
The hardware definition data file (conrep.xml) is corruptor not found.
|
2
|
The system configuration data file (conrep.dat) is corruptor 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.
|
5
|
The XML hardware definition file (conrep.xml) is corruptor not appropriate for the current platform.
|
6
|
No XML tag.
|
7
|
Invalid command line or usage error.
|
255
|
General error. See error message for details.
|
Setting the CONREP time zone
The following table are the valid strings touse with CONREP for setting the Time Zone RBSU setting. The TimeZone setting can be found in the CONREP data file with the section name Time_Zone. This setting isvalid for Gen9 based servers only.
CONREP -s (Store to Data file)
This is an example of usage for ProLiant server.To extract the BIOS settings from a DL380 Gen9 server and save theconfiguration to a DL380Gen9.dat data file:
linux:# conrep -s -x conrep.xml -f DL380Gen9.dat
conrep 4.4.0.0 - HP Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2015 Hewlett-Packard Development Company, L.P.
System Type: ProLiant DL380 Gen9
ROM Date : 02/11/2015
ROM Family : P89
Processor Manufacturer : Intel(R) Corporation
XML System Configuration: conrep.xml
Hardware Configuration: DL380Gen9.dat
Global Restriction: [3.40 ] OK
Platform check:
: [ProLiant DL120 G7 ] no match
: [ProLiant ML110 G7 ] no match
: [ProLiant DL3 ] match
: [ProLiant ML3 ] no match
: [ProLiant DL5 ] no match
: [ProLiant ML5 ] no match
: [ProLiant DL7 ] no match
: [ProLiant DL9 ] no match
: [ProLiant BL ] no match
: [ProLiant XW ] no match
: [ProLiant WS ] no match
: [ProLiant SE ] no match
: [ProLiant SL4 ] no match
: [ProLiant SL3 ] no match
: [ProLiant SL2 ] no match
: [ProLiant DL160 Gen8 ] no match
: [ProLiant SL160 Gen8 ] no match
: [ProLiant SL140 ] no match
: [ProLiant WS460c Gen8 WS Blade] no match
: [ProLiant MicroServer Gen8] no match
: [StoreEasy ] no match
: [FlexServer ] no match
: [FlexStorage ] no match
: [3PAR ] no match
: [ProLiant ML10 ] no match
: [Gen9 ] match
: [ProLiant XL ] no match
: [SE2160w Server ] no match
: [UIS ] no match
: [Apollo ] no match
Saving configuration data to DL380Gen9.dat
Conrep Return Code: 0
CONREP ?l (Load from Data File)
This is an example of usage for ProLiant server. To load the BIOS settings from a previously captured/edited DL380Gen9.dat datafile to an ProLiant DL380 Gen9 server:
linux:# conrep -l -x conrep.xml -f DL380Gen9.dat
conrep 4.4.0.0 - HP Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2014 Hewlett-Packard Development Company, L.P.
System Type: ProLiant DL380 Gen9
ROM Date : 02/11/2015
ROM Family : P89
Processor Manufacturer : Intel(R) Corporation
XML System Configuration: conrep.xml
Hardware Configuration: DL380Gen9.dat
Global Restriction: [3.40 ] OK
Platform check:
: [ProLiant DL120 G7 ] no match
: [ProLiant ML110 G7 ] no match
: [ProLiant DL3 ] match
: [ProLiant ML3 ] no match
: [ProLiant DL5 ] no match
: [ProLiant ML5 ] no match
: [ProLiant DL7 ] no match
: [ProLiant DL9 ] no match
: [ProLiant BL ] no match
: [ProLiant XW ] no match
: [ProLiant WS ] no match
: [ProLiant SE ] no match
: [ProLiant SL4 ] no match
: [ProLiant SL3 ] no match
: [ProLiant SL2 ] no match
: [ProLiant DL160 Gen8 ] no match
: [ProLiant SL160 Gen8 ] no match
: [ProLiant SL140 ] no match
: [ProLiant WS460c Gen8 WS Blade] no match
: [ProLiant MicroServer Gen8] no match
: [StoreEasy ] no match
: [FlexServer ] no match
: [FlexStorage ] no match
: [3PAR ] no match
: [ProLiant ML10 ] no match
: [Gen9 ] match
: [ProLiant XL ] no match
: [SE2160w Server ] no match
: [UIS ] no match
: [Apollo ] no match
Loading configuration data from DL380Gen9.dat
Conrep Return Code: 0
CONREP data file sample contents for ProLiant servers not usingthe Oxx ROM family
A typical data file generated by CONREP is similarto the following:
<?xml version="1.0" encoding="UTF-8"?>
<!--generated by conrep version 4.4.0.0-->
<Conrep version="4.4.0.0" originating_platform="ProLiant DL380 Gen9" originating_family="P89" originating_romdate="02/11/2015" originating_processor_manufacturer="Intel(R) Corporation">
<Section name="IMD_ServerName" helptext="LCD Display name for this server"><Line0>WIN2K12</Line0></Section>
<Section name="IPL_Order" helptext="Current Initial ProgramLoad device boot order.">
<Index0>00</Index0><Index1>03</Index1><Index2>02</Index2><Index3>ff</Index3><Index4>ff</Index4><Index5>ff</Index5><Index6>ff</Index6>
<Index7>ff</Index7><Index8>ff</Index8><Index9>ff</Index9><Index10>ff</Index10><Index11>ff</Index11><Index12>ff</Index12><Index13>ff</Index13>
<Index14>ff</Index14><Index15>ff</Index15></Section>
<Section name="IPL_Order_Size" helptext="Current Initial ProgramLoad device boot order size."><Size0>03</Size0></Section>
<Section name="PCI_Devices" helptext="Lists of PCI devices and their interrupts - not displayed if default values are set.">EMPTY_DELETE</Section>
<Section name="Controller_Order" helptext="Lists the current boot controller ordering."><Id0>10 3c 19 21</Id0><Slot0>00</Slot0><BusDev0>02 00</BusDev0><Rest0>41</Rest0><Id1>10 3c 80 30</Id1><Slot1>00</Slot1><BusDev1>00 fa</BusDev1><Rest1>41</Rest1><Id2>10 3c 80 30</Id2><Slot2>00</Slot2><BusDev2>00 8c</BusDev2><Rest2>41</Rest2></Section>
<Section name="System_WOL" helptext="System Wake On Lan Capabilities.">Enabled</Section>
<Section name="System_APIC" helptext="System APIC Settings(MPS Table Mode).">Full Table</Section>
<Section name="System_Mouse" helptext="Enable or Disable the onboard mouse port.">Enabled</Section>
<Section name="System_CPU_Serial_Number" helptext="Enables or disabled CPU serial numbers on systems that support it.">Disabled</Section>
<Section name="System_COMA" helptext="Settings for UART 1 on systems that support it.">COM1</Section>
<Section name="System_COMA_IRQ" helptext="Settings for UART 1 on systems that support it.">IRQ4</Section>
<Section name="System_COMB" helptext="Settings for UART 2 on systems that support it.">Disabled</Section>
<Section name="System_COMB_IRQ" helptext="Settings for UART 2 on systems that support it.">Undefined</Section>
<Section name="System_Virtual_Serial_Port" helptext="Virtual Serial Port Settings for systems that support it.">COM2</Section>
<Section name="System_Virtual_Serial_Port_IRQ" helptext="Virtual Serial Port IRQ Settings for systems that support it.">IRQ3</Section>
<Section name="System_LPT" helptext="System parallel port settings for systems that support it.">Disabled</Section>
<Section name="System_LPT_IRQ" helptext="System parallel port settings for systems that support it.">Undefined</Section>
<Section name="System_LPT_Mode" helptext="System parallel port settings for systems that support it.">SPP</Section>
<Section name="System_USB_Control" helptext="Systemwide USB settings.">Enabled</Section>
<Section name="System_USB_EHCI_Controller" helptext="Enables or disabled EHCI mode(USB 2.0) of the system USB controller.">Enabled</Section>
<Section name="Diskette_Write_Control" helptext="Toggles write control of integrated floppy.">Writes_Enabled</Section>
<Section name="POST_F1_Prompt" helptext="Controls display of the F1 POST prompt.">Delayed</Section>
<Section name="Hyperthreading" helptext="Toggles hyperthreading on systems that support it. This setting is supported on G5 and earlier systems. For newer systems, use the Intel_Hyperthreading setting.">Enabled</Section>
</Conrep>
Click here to view the "RECOMMENDED HPE Scripting Toolkit for Linux" for more information .
Click here to view the "Scripting Toolkit 11.x for Linux User Guide (March 2019)" .
Hewlett Packard Enterprise glaubt daran, bedingungslos inklusiv zu sein. Wir arbeiten daran, nicht-inklusive Bestimmungen in unseren aktiven Produkten zu ersetzen.