QAUCLI

You can use the QAUCLI utility to configure Fibre Host Bus Adapters (HBAs). A 32–bit version of this utility comes with the Linux Scripting ToolkitServerGuide Scripting Toolkit, Linux Edition. You can download this utility from QLogic at http://www.qlogic.com.

Usage

Table 1. QAUCLI usage
Command Description
qaucli -pr fc –e (view | ?) Shows the current boot device information on all HBAs
qaucli -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, where:
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 -pr fc -e (hba_instance | hba_wwpn) (view | ?) Shows the current boot device information for the specified HBA port.
qaucli -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 -pr fc -e (hba_instance | hba_wwpn) disable [prim | alt1 | alt2 | alt3] Clears the selected boot device settings on the indicated HBA port.
qaucli -pr fc -l (hba_instance | hba_wwpn) Displays information about the LUNs attached to the specified HBA port.

Examples

The following examples illustrate how to use the QAUCLI utility.
Note: Some of these examples are broken across multiple lines due to formatting constraints. When using QAUCLI, you must enter all of the parameters on a single line.
Example Description
qaucli -pr fc -e view
Displays the current boot device information on all HBAs.
qaucli -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 -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 -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 -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.