Conrep command-line syntax, Conrep command line arguments, Conrep return codes – HP ProLiant DL380 Server User Manual

Page 30: Conrep screen output

Advertising
background image

CONREP command-line syntax

conrep [-s | -l] [-xhardware_definition_file] [-fsystem_configuration_file] [-?]

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

30

Toolkit utilities

Advertising