0 Ergebnis(se) gefunden
Kein Ergebnis gefunden
Scripting Toolkit for Linux - Using CONREP

Scripting Toolkit for Linux - Using CONREP

Using CONREP

The CONREP utility generates a system configuration XML file used to duplicate the hardware configuration of one ProLiant server or Synergy compute module onto another. TheCONREP utility uses the hardware configuration XML file to identify and configure the system, which defaults to conrep.xml. User can change the default using the -x option. The actual system configuration file is captured as an XML data file. The default name is conrep.dat.

CAUTION: Improper modification of the CONREP data files can result in the loss of critical data. Only experienced users ofthe Scripting Toolkit should attempt to modify the data files. Because of the potential risk of data loss, take all necessary precautions to ensure that mission-critical systems remain online if a failure occurs.

The CONREP utility reads the state of the system environment settings to determine the server configuration and writes the results to a file that user 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 fileto determine what information to retrieve from and restore to theserver. User 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 serversor Synergy compute modules other than ProLiant100 series servers using the Oxx ROM family. Some platforms require special settings that are contained in other XML files. These files are included in the Scripting Toolkit and are available from theHewlett Packard Enterprise website.

Click here to access the HPE website .

Onthe support page for each platform. User can use these files with the-x option to configure systems that are not supported by the default hardware configuration file.

Many fields in the conrep.xml filecontain help text that enables user to configure the field meanings.This information is also added to the conrep.dat file.Hardware features that are not supported by the existing platformor ROM version appear in the conrep.dat file.

NOTE: The file format for the DOS version of CONREPand the current version of CONREP are not compatible.
NOTE: To use the -s or -l option with the CONREP utility,hp-health needs to be loaded separately. hp-health is available through the SPP or as a separate RPM under the SPP directory from Software Delivery Repository (SDR).

Click here to access the SoftwareDelivery Repository (SDR) website .

NOTE: For more information on BIOS settings, see the appropriate guide for users server:

top

CONREP command-line syntax

conrep [-s | -l] [-x hardware_definition_file] [-f system_configuration_file] [-h]

top

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.
-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.

top

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.

top

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.

top

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

NOTE: The file names after the -x and -f optionsmust be specified, otherwise, the default file names conrep.xml and conrep.dat areused, respectively.

NOTE: A platform specific XML file needs to be usedfor ProLiant 100-series servers. If user use the default name thismay cause an error while running the CONREP utility.

top

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

top

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)" .

top

©Copyright 2025 Hewlett Packard Enterprise Development LP Hewlett Packard Enterprise Development shall not be liable for technical or editorial errors or omissions contained herein. The information provided is provided "as is" without warranty of any kind. To the extent permitted by law, neither HPE nor its affiliates, subcontractors or suppliers will be liable for incidental, special or consequential damages including downtime cost; lost profits; damages relating to the procurement of substitute products or services; or damages for loss of data, or software restoration. The information in this document is subject to change without notice. Hewlett Packard Enterprise Development and the names of Hewlett Packard Enterprise Development products referenced herein are trademarks of Hewlett Packard Enterprise Development in the United States and other countries. Other product and company names mentioned herein may be trademarks of their respective owners.
  • Scripting Toolkit for Linux - Using CONREP
    • Using CONREP
    • CONREP command-line syntax
    • CONREP command-line arguments
    • CONREP return codes
    • Setting the CONREP time zone
    • CONREP -s (Store to Data file)
    • CONREP ?l (Load from Data File)
    • CONREP data file sample contents for ProLiant servers not usingthe Oxx ROM family
Haftungsausschluss: Produkte, die vor dem 1. November 2015 (Datum der Trennung der Hewlett-Packard Company in Hewlett Packard Enterprise Company und HP Inc.) verkauft wurden, tragen möglicherweise ältere Produktnamen und Modellnummern, die von den aktuellen Modellen abweichen.
Hewlett Packard Enterprise glaubt daran, bedingungslos inklusiv zu sein. Wir arbeiten daran, nicht-inklusive Bestimmungen in unseren aktiven Produkten zu ersetzen.
wiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwiwi