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.

Qlogic SCSI & RAID Devices Driver
downloadWhy can't I download this file?

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:

  1. 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.

  2. 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

  3. 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 –t

  4. Run the following command to view the LUN details:
    # scli –l 0
    # scli –l 1

  5. Run 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 –v

    • To look at verbose information regarding the SCSI adapters present on a system:
      # systool -c scsi_host –v

    • To see what Fibre Channel devices are connected to the Fibre Channel HBA cards:
      # systool -c fc_remote_ports -v –d

    • For Fibre Channel transport information:
      # systool -c fc_transport –v

    • For information on SCSI disks connected to a system:
      # systool -c scsi_disk –v

    • To examine more disk information including which hosts are connected to which disks:
      # systool -b scsi –v

    • Use the sg_map command to view more information about the SCSI map:
      # sg_map –x

    • To obtain driver information, including version numbers and active parameters:
      For QLogic HBAs:
      # systool -m qla2xxx –v
      For Emulex HBAs:
      # systool -m lpfc –v

Additional Resources

UpdaterQlogic SCSI & RAID Devices Driver

Qlogic Scsi & Raid Devices Driver Win 7

Disclaimer

Qlogic SCSI & RAID Devices Driver

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.