qaucli.exe

The qaucli utility configures Fibre Host Bus Adapters (HBAs).

Two versions of the utility come with ServerGuide Scripting Toolkit:

You can also download this utility from QLogic at http://www.qlogic.com. For additional information about the qaucli utility, refer to the documentation in the sgdeploy\SGTKWinPE\Docs\qaucli directory.

The qaucli utility uses these commands.
Table 1. qaucli command usage examples
Command Description
qaucli.exe -pr fc e (view | ?) Shows the current boot device information on all HBAs.
qaucli.exe -pr fc -e (hba_instance | hba_wwpn target_wwnn target_wwpn lun_id [prim | alt1 | alt2 | alt3]) Configures the operating system to boot from a particular target.
hba_instance
The HBA instance number of an HBA port.
hba_wwpn
The World Wide Port Name of an HBA port.
target_wwnn
The World Wide Node Name of a target device, in the format nn-nn-nn-nn-nn-nn-nn-nn or nnnnnnnnnnnnnnnn.
target_wwpn
The World Wide Port Name of a target device, in the format nn-nn-nn-nn-nn-nn-nn-nn or nnnnnnnnnnnnnnnn.
lun_id
The Logical Unit Number of a LUN.
prim
The primary boot port name.
altn
The name of the alternate boot port. You can specify up to three alternate boot ports.
qaucli.exe -pr fc -e (hba_instance | hba_wwpn) (view | ?) Shows the current boot device information for the specified HBA port.
qaucli.exe -pr fc -e (hba_instance | hba_wwpn) (enable | 0 0 0) Configures the operating system to boot from the first target found by the BIOS. The default LUN is 0.
qaucli.exe -pr fc -e (hba_instance | hba_wwpn) disable [prim | alt1 | alt2 | alt3] Clears the selected boot device settings on the indicated HBA port.
qaucli.exe -pr fc -l (hba_instance | hba_wwpn) Displays information about the LUNs attached to the specified HBA port.

Examples

The following examples provide additional examples of qaucli usage.
Note: While some of these examples are broken across multiple lines, when using, you must enter all of the parameters on a single line.
Table 2. Additional examples of qaucli usage
Example Description
qaucli.exe -pr fc -e view
Displays the current boot device information on all HBAs.
qaucli.exe -pr fc e 
E0-FF-EE-DE-CD-34-56-30 
E0-00-ED-DE-CD-34-56-30 
E0-10-ED-DE-CD-34-56-30 1 prim
Configures HBA E0-FF-EE-DE-CD-34-56-30 E0-00-ED-DE-CD-34-56-30 E0-10-ED-DE-CD-34-56-30 to boot from the primary target.
qaucli.exe -pr fc e E0-FF-EE-DE-CD-34-56-30 view
Displays the current boot setting information for HBA port E0-FF-EE-DE-CD-34-56-30.
qaucli.exe -pr fc e E0-FF-EE-DE-CD-34-56-30
disable prim	
Clears the selected boot device setting on HBA port E0-FF-EE-DE-CD-34-56-30.
qaucli.exe -pr fc l E0-FF-EE-DE-CD-34-56-30
Displays information about the LUNs attached to HBA port E0-FF-EE-DE-CD-34-56-30.