How to Configure QLogic HBA on XenServer

How to Configure QLogic HBA on XenServer

book

Article ID: CTX130465

calendar_today

Updated On:

Description

This article describes how to update the parameters of QLogic HBAs with SANSurfer.

HBA parameters might need to be adjusted to the correct configuration on XenServer to function as required.

QLogic HBAs contain a default set of parameters that will function but might not give optimum performance or unexpected behavior. The most common of these incorrect parameters is the HBA port connection type which is often set to LOOP mode. This option should always be set to P2P (Point to Point) mode.


    Instructions

    To complete the procedure, you require a XenServer containing QLogic HBA’s and access to the XenServer command line interface. The SanSurfer CLI tool can be used in an interactive mode to view the configuration of the HBA’s.

    To reconfigure the connection options, complete the following procedure:

    1. Run the scli command and follow the correct menu options to view the current configuration.

      Following is the output of the HBA parameters for the HBA ports:

      User-added image

      Note: This is the incorrect connection type.

    2. Run the following command to reconfigure the option:
      scli -n 0 CO 1
      The –n flag is used to indicate an entry to the configuration mode. The -n flag is followed by the HBA instance number (0). The option to change is (CO) and the mode available for that option is (1).
      For example, for the connection option (CO) following are the available modes:
      Connection Options:
      0 - Loop Only
      1 - Point-to-Point Only
      2 - Loop preferred, otherwise Point-to-Point
      3 - Point-to-Point, otherwise Loop (QLA22xx only)

    3. Run the following command to view a full list of the configuration options and modes:
      scli –n

    Issue/Introduction

    This article describes how to update the parameters of QLogic HBAs with SANSurfer.