You can use these recommended settings for QLogic QLA23xx, QLA246x, QLE246x, QLE256x adapters on a Sun host. Adapter QLA23 xx is for storage units with a San Surf configuration (4.06+ driver). Adapters QLA246 x, QLE246 x, and QLE256 x are for storage units with a San Surf configuration (5.0+ driver). SANsurfer iSCSI HBA Manager User’s Guide User’s Guide - QConvergeConsole CLI (for 2400, 2500, 2600, 2700, 3200, 4000, 8100, 8200, 8300, and 10000 Series Adapters) Previously released versions. Qlogic Execution Throttle Qlogic has a firmware setting called „Execution Throttle” which specifies the maximum number of simultaneous commands the adapter will send. The default value is 16, increasing the value above 64 has little to no effect, because the maximum parallel execution of SCSI operations is 64.
This article describes how to rescan QLogic Host Bus Adapter (HBA) for new Logical Unit Numbers (LUNs), and query the HBA or ISCSI in XenServer 6 and later.
Requirements
XenServer 6 or later
Basic Command Line Interface skills
Instructions
Repeat the following steps on each server in the pool:
Run the following command to find the scsi_host directory. To be able to send the command for rescan you must find the correct scsi_host directory:
# cat /proc/scsi/scsi
You can see that that the HBA driver is mapped to host scsi3 and scsi2, which XenServer translates to host2 and host3.
Note: Servers in the pool might be having different scsi_host numbers.- Run the following command to view the current LUN count:
Note: If 'scli' is not in the path, you can find it at /opt/QLogic_Corporation/QConvergeConsoleCLI/scli
Send the rescan command and check the LUN count update:
# echo '- - -' > /sys/class/scsi_host/host2/scan
# scli –t
# echo “- - -“ > /sys/class/scsi_host/host3/scan
# scli –tRun the following command to view the LUN details:
# scli –l 0
# scli –l 1Run the corresponding commands from the following list, to display HBA and SCSI details using systool:
To examine some simple information about the Fibre Channel HBAs in a unit:
# systool -c fc_host –vTo look at verbose information regarding the SCSI adapters present on a system:
# systool -c scsi_host –vTo see what Fibre Channel devices are connected to the Fibre Channel HBA cards:
# systool -c fc_remote_ports -v –dFor Fibre Channel transport information:
# systool -c fc_transport –vFor information on SCSI disks connected to a system:
# systool -c scsi_disk –vTo examine more disk information including which hosts are connected to which disks:
# systool -b scsi –vUse the sg_map command to view more information about the SCSI map:
# sg_map –xTo obtain driver information, including version numbers and active parameters:
For QLogic HBAs:
# systool -m qla2xxx –v
For Emulex HBAs:
# systool -m lpfc –v