Software Instruction Manual

Toolkit utilities 58
Command-line argument Description
BootDeviceLUN[0]=1111
Your input, default LUN, or current value when read from
HBA
HPLPCFG return codes
Value Meaning
0
The command was completed successfully.
1
There was an invalid command line option.
2
There was a file open error.
3
There was an NVRAM checksum error.
4
There was an NVRAM data error.
5
There was no adapter or Emulex HBA found on this host.
6
There was an error retrieving the I/O address.
7
The WWID was invalid because of one of the following:
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)
8
The LUN was invalid.
0x10
Invalid value; for enable/disable value is not 0 or 1 (for /l option only)
0x11
Incorrect iboot BIOS code loaded (for /l option only)
0xFF
General error:
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.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