Hplpcfg return codes, Hplpcfg command-line examples, Hplpcfg return codes hplpcfg command-line examples – HP Scripting Toolkit for Windows 9.60 User Manual

Page 46

Advertising
background image

Description

Command-line argument

Your input or current value when read from HBA

BootDeviceWWID=22334455

Your input, default LUN, or current value when read from
HBA

BootDeviceLUN[0]=1111

HPLPCFG 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 or Emulex HBA found on this host.

5

There was an error retrieving the I/O address.

6

The WWID was invalid because of one of the following:

7

An invalid value for WWID and BootDeviceWWID, and not a hex value

The WWID specified for HBA in the .ini file does not match any HBAs found on the host (for the
/l option only)

The LUN was invalid.

8

Invalid value; for enable/disable value is not 0 or 1 (for /l option only)

0x10

Incorrect iboot BIOS code loaded (for /l option only)

0x11

General error:

0xFF

Initialization error (for both /l and /s option)

Cannot read HBAs WWPN (for /s option only)

HPLPCFG command-line examples

hplpcfg –s hba.ini

generates hba.iniwith 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

46

Scripting Toolkit utilities

Advertising