HP ProLiant SL2500 HP Scripting Toolkit 9.60 for Windows User Guide - Page 46

HPLPCFG return codes, HPLPCFG command-line examples, hplpcfg, s hba.ini

Page 46 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

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.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
46
Scripting Toolkit utilities