Hrconf rescan, Hrconf restore, Hrconf setconfig – HP ProLiant ML110 G4 Server User Manual

Page 12

Advertising
background image

Using the Command Line Utility 12


hrconf rescan

This command enables the controller to detect the removal of any disk drives in the ready state and to detect the
connection of any new disk drives to the controller. The command returns when the rescan is complete.

Syntax

hrconf rescan <Controller#>

Parameters

Controller#

is the controller number.

Example

hrconf rescan 1

Return values

SUCCESS: 0x00

indicates the command completed successfully.

FAILURE: 0x01

indicates the command failed.

hrconf restore

This command restores the controller configuration by importing its configuration settings from a specified file and
deletes the current configuration. The file must have been saved through the

BACKUP

command from a controller

of the same type with the same number and type of physical drives and having the same channels and device
IDs. A reboot is required for the configuration change to take effect.

Syntax

hrconf restore <Controller#> <Filename> [noprompt]

Parameters

Controller#

is the controller number.

Filename

is the name of the file from which to read the configuration.

noprompt

: No prompt for confirmation.

Example

hrconf restore 1 c:\windows\hr2200 noprompt

Return values

SUCCESS: 0x00

indicates the command completed successfully.

FAILURE: 0x01

indicates the command failed.

BAD_PATH: 0xFF

indicates that the path provided is incorrect.

FAILURE: 0xFE

indicates an error occurred writing the configuration file.

hrconf setconfig

This command resets the configuration of the controller.

Syntax

hrconf setconfig <Controller#> DEFAULT [noprompt]

Parameters

Controller#

is the controller number.

Default

: Logical drives are deleted, disk drives are reset to the ready state, and any controller settings are reset

to default values.

noprompt

: No prompt for confirmation.

Example

hrconf setconfig 1 default noprompt

Advertising
This manual is related to the following products: