Hplpcfg command-line arguments, Hplpcfg return codes, Hplpcfg command-line examples – HP Linux Server Management Software User Manual
Page 56
Toolkit utilities 56
HPLPCFG command-line arguments
Command-line argument
Description
hplpcfg /s filename
This argument saves the HBA configuration to the filename.
hplpcfg /l filename
This argument loads the HBA configuration to the filename.
hplpcfg /v
This argument displays the tool version information.
Where filename has the following format:
[HBA0]
Section for each HBA
WWID=11223344
Read-only variable
HostAdapterBiosEnable=1
Your input or current value when read from HBA
SelectBootEnable=1
Your input or current value when read from HBA
BootDeviceWWID=22334455
Your input or current value when read from HBA
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=