beautypg.com

Hpqlarep return codes, Hpqlarep command-line examples – HP Scripting Toolkit for Windows User Manual

Page 49

background image

HPQLAREP return codes

Meaning

Value

The command was completed successfully.

0

There was an invalid command line option.

1

There was a file open error.

2

There was an NVRAM checksum error.

3

There was an NVRAM data error.

4

There was no adapter found on this host.

5

There was an error retrieving the I/O address.

6

The WWID was invalid.

7

The LUN setting was invalid.

8

The EFI Enable Selective LUN setting was invalid.

9

The BIOS Enable setting was invalid.

10

The Selectable BIOS setting was invalid.

11

The EFI Selective login settings were invalid.

12

The EFI WWID (Boot Node Name) was invalid.

13

There was a Memory Allocation error.

14

The adapter has no VPD.

15

There was a failure reading the adapter VPD.

16

The adapter has no VPD.

17

VPD has bad checksum.

18

The adapter serial number is missing in the VPD.

19

HPQLAREP command-line examples

hpqlarep /s hba.ini

generates hba.ini with the following content:

[HBA0]

WWID=11111111

HostAdapterBiosEnable=1

SelectBootEnable=1

BootDeviceWWID=

BootDeviceLUN[0]=

You must edit hba.ini and add the following boot device information:

[HBA0]

WWID=11111111

HostAdapterBiosEnable=1

SelectBootEnable=1

BootDeviceWWID=22222222

BootDeviceLUN[0]=3

Using HPQLAREP

49