SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Windows Server 2003 and Windows Server 2008 for Itanium-based Systems
conrep
Synopsis
conrep { -s | -l | -c | -d } [-F] [-v] [-f data file] [-x XML file] [-- ] [--version ]
[-h ]
Description
The conrep utility replicates the configuration data stored in the EFI variables. It reads the EFI
variables from the NVRAM of a server and writes the results to a data file. It also reads the data
file and writes the data into the NVRAM of the target server. The conrep utility uses the
conrep.xml configuration file to determine the data to retrieve from the server. You can edit
this file to control the data retrieval.
Options
-s | --read
Reads the EFI environment variables from a server and
saves them to the specified data file.
-l | --write
Loads the EFI environment variables from the specified
data file and writes them to the server.
-c | --clear
Clears all boot entries related to the given partition.
-d | --delete
Restores the EFI boot menu to factory defaults.
-F | --force
Forces the creation of the new EFI variables listed in the
data file (conrep.dat).
-v | --verbose
Specifies verbose execution.
-f data file | --dat data
file
Specifies the name and location of the data file. The default
is conrep.dat.
-x XML file | --config XML
file
Specifies the name and location of the XML definition file.
The default is conrep.xml.
--version
Displays version information and exits.
-h | --help
Displays usage information and exits.
Examples
Example 6-1 Sample conrep.dat file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep_data>
<section name="EFI_general_variables">
<PcieMpsOptimization>50 00 63 00 69 00 65 00 4d 00 70 00
73 00 4f 00 70 00 74 00 69 00 6d 00 69 00 7a 00 61 00 74 00 69 00
6f 00 6e ... 07 00 00 00
</PcieMpsOptimization>
</section>
<digest>ac a7 c7 64 e4 ab c6 b3 54 01 a6 d1 f9 e0 9f b6
</digest>
</conrep_data>
Example 6-2 Sample conrep.xml file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep>
<section name="EFI_general_variables">
<ev>Lang</ev>
<ev>Default</ev>
<ev>UIOption</ev>
<ev>CPUThreadControl</ev>
44 Utilities reference