Real-time configuration/parameter changes that can be made to the running QLogic or Emulex FC HBA driver
search cancel

Real-time configuration/parameter changes that can be made to the running QLogic or Emulex FC HBA driver

book

Article ID: 343030

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides commands to make real-time changes to the running QLogic or Emulex FC HBA driver.


Symptoms:



Environment

VMware vSphere ESXi 6.5
VMware ESXi 4.0.x Installable
VMware ESX 4.0.x
VMware vSphere ESXi 5.1
VMware ESXi 4.1.x Embedded
VMware ESXi 3.5.x Installable
VMware vSphere ESXi 5.5
VMware ESXi 3.5.x Embedded
VMware ESX Server 3.0.x
VMware vSphere ESXi 5.0
VMware ESX 4.1.x
VMware ESX Server 3.5.x
VMware vSphere ESXi 6.0
VMware ESXi 4.1.x Installable
VMware ESXi 4.0.x Embedded

Resolution

  • To force an HBA rescan, run this command:

    echo "scsi-qlascan" > /proc/scsi/qla2xxx/adapter_id

  • To enable verbose QLogic driver logging in the VMkernel log, run this command:

    echo "scsi-qlaenable-log" > /proc/scsi/qla2xxx/adapter_id

  • To disable verbose QLogic driver logging, run this command:

    echo "scsi-qladisable-log" > /proc/scsi/qla2xxx/adapter_id

  • To force the adapter to perform a fabric login, run this command:

    QLogic HBA:

    echo "scsi-qlalip" > /proc/scsi/qla2xxx/adapter_id

    Emulex HBA:

    echo "dev_login wwpn" > /proc/scsi/lpfc/host_num
Note:
    • In ESXi 5.1 and 5.5, an esxcli storage namespace accommodates forcing a fabric login from FC or FCOE adapters regardless of the vendor. For more information, see Forcing a Fiber Login reset on Fibre Channel and FCOE Adapters (2058675). It is not necessary to enter the colon characters in the WWPN.
    • In ESXi 5.5, native drivers do not reside under /proc, only legacy drivers do.

ESX 3.x andESX/ESXi 3.5

  • To force an HBA rescan, run this command:

    echo "scsi-qlascan" > /proc/scsi/qla2xxx/adapter_id

  • To force the adapter to perform a fabric login, run this command:

    QLogic HBA:

    echo "scsi-qlalip" > /proc/scsi/qla2xxx/adapter_id

    Emulex HBA:

    echo "dev_login wwpn" > /proc/scsi/lpfc/adapter_id


    Note: It is not necessary to enter the colon characters in the WWPN.

  • To enable the verbose QLogic driver logging into the VMkernel log, run this command:

    echo "scsi-qlaenable-log" > /proc/scsi/qla2xxx/adapter_id

  • To disable the verbose QLogic driver logging, run this command:

    echo "scsi-qladisable-log" > /proc/scsi/qla2xxx/adapter_id


Additional Information


Forcing a Fabric Login reset on Fibre Channel and FCOE Adapters
実行中の QLogic または Emulex FC HBA ドライバに対して加えることができる構成/パラメータのリアルアイム変更

Impact/Risks: