HP ProLiant SL4500 HP ROM-Based Setup Utility User Guide - Page 202
CONREP -s (Store to Data file), HP Scripting Toolkit User Guide
View all HP ProLiant SL4500 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 202 highlights
CONREP is shipped in the Scripting Toolkit (STK) and is a program that works with RBSU to replicate hardware configuration on ProLiant G7 and earlier servers. This utility is run during State 0, Run Hardware Configuration Utility when doing a scripted server deployment. CONREP reads the state of the system environment variables to determine the configuration and then writes the results to an editable script file. This file can then be deployed across multiple servers with similar hardware and software components. For more information, see the HP Scripting Toolkit User Guide for your operating system environment on the HP website (http://www.hp.com/go/ProLiant/STK). The following sections provide information on using CONREP scripts: • Backing up the existing configuration ("CONREP -s (Store to Data file) " (page 202)) • Restoring a configuration from a backup ("CONREP -l (Load from Data File)" (page 202)) 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 Saving configuration data to sl160zconrep.dat. CONREP Return code: 0 NOTE: The file names after the -x and -f options must be specified, otherwise, the default file names conrep.xml and conrep.dat are used, respectively. NOTE: A platform specific XML file needs to be used for HP ProLiant 100-series servers. If you use the default name this may cause an error while running the CONREP utility. CONREP -l (Load from Data File) This is an example of usage for HP ProLiant servers not using the Oxx ROM family. To load the BIOS configuration settings from a previously captured/edited data file (in this case "sl160zconrep.dat") to an SL160z G6 server: [root@ilo002481b08134 conrep]# ./conrep -l -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 Loading configuration from sl160zconrep.dat. ASM values not set! aborting CONREP Return code: 0 202 RBSU configuration flows (manual and scripted)