Return Codes; Sethbaini; Synopsis; Description - HP BL860c Administrator's Manual

Microsoft windows server 2008 sp2 and windows server 2008 r2 on integrity servers
Hide thumbs Also See for BL860c:
Table of Contents

Advertisement

Table 7 ifhw Operators (continued)
Operator or
term
string
number

Return Codes

Table 8 ifhw return codes
Value

Description

0 (True)
The device is present.
1 (False)
The device is not present.
2 (Error)
The expression was not understood.
- 1 or 255
An incorrect number of parameters was specified.
1
Because of known issue TT1000754871, error code 2 is never returned. If an invalid expression is found, 1 is returned
instead. This will be fixed in a future release of the SSTK.

sethbaini

Synopsis

sethbaini [c_wwid] [wwid] [lun] [vendor] [hba_ini_file]
Description
When the sethbabootdevice SSTK action is called, the SetHbaBootDevice.cmd script uses the
sethbaini tool. The tool receives parameters generated by hpqlarep or hplpcfg that identify
a SAN disk, SAN vendor, and an hba_ini_file with HBA configurations. Then, it processes
and changes the hba_ini_file and sets the boot device to the specified disk.

Options

c_wwid
wwid
lun
vendor
hba_ini_file

Example

The following is a sample command line:
sethbaini 10000000c9537540 500805f3000d91111 3 emulex %Path%\hba-emulex.ini
The following is a sample hba-emulex.ini file:
.
.
.
[HBAX]
WWID=10000000c9537540
SelectiveLogin=0
EnableSelectiveLUN=0
BootDeviceWWPN=500805f3000d91111
Result
A literal string, used for comparison.
A literal number, used for comparison.
Specifies the controller WWID retrieved by hpshowdisk.
Specifies the disk WWID retrieved by hpshowdisk.
Specifies the LUN number retrieved by hpshowdisk.
Specifies the SAN vendor. Valid values are emulex or qlogic.
Specifies the path to the .INI file generated by the hpqlarep or hplpcfg
tools.
1
sethbaini
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartsetup scripting toolkit

Table of Contents