No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor UltraPath for vSphere 21.3.0 User Guide 03

This document covers the functions, features, installation, configuration, upgrade, uninstallation, maintenance, troubleshooting, and FAQs of OceanStor UltraPath for vSphere (UltraPath forvSphere). UltraPath for vSphere is the multipathing software developed by HuaweiTechnologies Co., Ltd (Huawei for short). The document aims at helping users to be fully familiar with UltraPath for vSphere and its use.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Set the Timeout Parameter for a QLogic HBA

How to Set the Timeout Parameter for a QLogic HBA

This section describes how to configure the timeout parameter of a QLogic HBA by modifying the value of parameter Port down retry.

Procedure

  1. Check the QLogic HBA valid drive and execute the esxcfg-scsidevs -a command. In the following figure, the valid drive is qlnativefc.

    [root@localhost:~] esxcfg-scsidevs -a 
    vmhba0 ata_piix link-n/a sata.vmhba0 (0000:00:1f.2) Intel Corporation ICH10 4 port SATA IDE Controller 
    vmhba1 ata_piix link-n/a sata.vmhba1 (0000:00:1f.5) Intel Corporation ICH10 2 port SATA IDE Controller 
    vmhba2 lpfc link-up fc.20000000c9bfe3e6:10000000c9bfe3e6 (0000:05:00.0) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter 
    vmhba3 lpfc link-up fc.20000000c9bfe3e7:10000000c9bfe3e7 (0000:05:00.1) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter 
    vmhba4 mptsas link-n/a sas.500062b000000280 (0000:07:00.0) LSI Logic / Symbios Logic LSI1068E 
    vmhba5 qlnativefc link-up fc.20000024ff2e780e:21000024ff2e780e (0000:06:00.0) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA 
    vmhba6 qlnativefc link-up fc.20000024ff2e780f:21000024ff2e780f (0000:06:00.1) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA 
    vmhba32 ata_piix link-n/a sata.vmhba32 (0000:00:1f.2) Intel Corporation ICH10 4 port SATA IDE Controller 
    vmhba33 ata_piix link-n/a sata.vmhba33 (0000:00:1f.5) Intel Corporation ICH10 2 port SATA IDE Controller 
    [root@localhost:~]

  2. Check the value of the Port down retry parameter.

    1. If the ESXi operating system version is 5.0 or 5.1, execute cat /proc/scsi/qla2xxx/9.9 indicates adapter_number. Modify the number according to the actual environment.
      root@~ #cat /proc/scsi/qla2xxx/9 
      QLogic PCI to Fibre Channel Host Adapter for QLE2562: 
              FC Firmware version 5.06.05 (90d5), Driver version 902.k1.1-9vmw 
       
      Host Device Name vmhba2 
       
      BIOS version 2.16 
      FCODE version 2.00 
      EFI version 2.00 
      Flash FW version 4.04.00 
      ISP: ISP2532, Serial# RFD1207Y58822 
      Request Queue = 0xcd810000, Response Queue = 0xcd851000 
      Request Queue count = 2048, Response Queue count = 512 
      Number of response queues for multi-queue operation: 0 
      Total number of interrupts = 44612 
          Device queue depth = 0x40 
      Number of free request entries = 161 
      Total number of outstanding commands: 0 
      Number of mailbox timeouts = 0 
      Number of ISP aborts = 0 
      Number of loop resyncs = 142 
      Host adapter:Loop State = <READY> , flags = 0x1aa68 
      Link speed = <8 Gbps> 
       
      Dpc flags = 0x0 
      Link down Timeout =  045 
      Port down retry = 001 
      Login retry count = 008 
      Execution throttle = 2048 
      ZIO mode = 0x6, ZIO timer = 1 
      Commands retried with dropped frame(s) = 0 
      Product ID = 4953 5020 2532 0002 
       
       
      NPIV Supported : Yes  
      Max Virtual Ports = 254 
       
      SCSI Device Information: 
      scsi-qla0-adapter-node=20000024ff372178:290600:0; 
      scsi-qla0-adapter-port=21000024ff372178:290600:0; 
       
      FC Target-Port List: 
      scsi-qla0-target-0=221020f17ce12dff:140100:83:Online; 
      scsi-qla0-target-1=222120f17ce12dff:140200:84:Online; 
      scsi-qla0-target-2=222220f17ce12dff:180100:85:Online; 
      scsi-qla0-target-3=200020f17ce12dff:180400:86:Online; 
      scsi-qla0-target-4=201148435a775148:210300:88:Online; 
      scsi-qla0-target-5=200148435a775147:210600:89:Online; 
      scsi-qla0-target-6=201348435a775147:210800:8a:Online; 
      scsi-qla0-target-7=200148435a775148:210301:8b:Online; 
      scsi-qla0-target-8=22000022a104056f:330500:8d:Online; 
      scsi-qla0-target-9=22180022a104056f:330600:8e:Online; 
      scsi-qla0-target-10=20084846fb8ca15f:331000:8f:Online; 
      scsi-qla0-target-11=20184846fb8ca15f:331200:90:Online; 
      scsi-qla0-target-12=22083400a30d9c5f:330200:9f:Online; 
      scsi-qla0-target-13=24113400a30d9c5f:330300:a0:Online;
    2. If the ESXi operating system version is 5.5, 6.0, 6.5 or 6.7, execute /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a.
      [root@localhost:~] /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a 
      Listing all system keys: 
      Key Value Instance:  vmhba3/Emulex 
      Listing keys: 
      Name: adapter 
      Type: string 
      value:   
      lpfc Adapter Page 
       
      Emulex LightPulse FC SCSI 10.2.309.8 
      EMC LPe12002-E 8Gb 2-port PCIe Fibre Channel Adapter on PCI bus 0000:05 device 00 fn 1 port 1 Link Speed: 8000 Gb 
       
      BoardNum: 1 
      FW Version: 2.00A5  
      HW Version: 31004549 
      ROM Version:    5.03a13 
      SerialNum:  VM14949181 
      Vendor Id:  f10010df 
       
      SLI Rev: 3 
       MQ: Unavailable 
       NPIV Supported: VPIs max 255  VPIs used 0 
       RPIs max 4096  RPIs used 13 IOCBs inuse 0  IOCB max 9 txq cnt 0  txq max 0  txcmplq 0 
       XRIs max 4096  FCP 1344 
       FCP BDEs max 66  DMA buf size 1024 
       
      .... 
      Dpc flags = 0x0 
      Link down Timeout =  045 
      Port down retry =  010 
      Login retry count =  010 
      Execution throttle = 2048 
      ZIO mode = 0x6, ZIO timer = 1 
      Commands retried with dropped frame(s) = 0 
      Product ID = 4953 5020 2432 0003 
       
      NPIV Supported : Yes  
      Max Virtual Ports = 127 
       
       
      .... 
       
      Host Device Name vmhba6 
       
      BIOS version 3.00 
      FCODE version 3.15 
      EFI version 2.21 
      Flash FW version 5.04.01 
      ISP: ISP2432, Serial# RFD1111M56011 
      MSI-X enabled 
      Request Queue = 0x4302cb00a000, Response Queue = 0x4302cb02b000 
      Request Queue count = 2048, Response Queue count = 512 
      Number of response queues for CPU affinity operation: 0 
      Total number of interrupts = 1632347 
      Device queue depth = 0x40 
      Number of free request entries = 751 
      Total number of outstanding commands: 0 
      Number of mailbox timeouts = 0 
      Number of ISP aborts = 0 
      Number of loop resyncs = 59 
      Host adapter:Loop State = [READY], flags = 0xaa60 
      Link speed = [4 Gbps] 
       
      Dpc flags = 0x0 
      Link down Timeout =  045 
      Port down retry =  010 
      Login retry count =  010 
      Execution throttle = 2048 
      ZIO mode = 0x6, ZIO timer = 1 
      Commands retried with dropped frame(s) = 0 
      Product ID = 4953 5020 2432 0003 
       
      NPIV Supported : Yes  
      Max Virtual Ports = 127 
       
      .... 
       
      Module Parameters  
       
      ... 
      ql2xloadfwbin = 1 
      ql2xdbwr = 1 
      ql2xbypass_log_throttle = 0 
      ql2xt10protmask = 85 
      ql2xt10enable = 1 
      ql2xt10guard = 3 
      ql2xenablehba_err_chk = 2 
      qlfxdisablewatchdogtimer = 0 
      qlfxdisablereset = 0 
      qlfxmaxqdepth = 32 
      qlfxmaxqueues = 1 
      qlfxmaxlun = 65535 
      qlfxtargetreset = 1 
      qlfxcmdtimeout = 20 
      qlfxmaxsgs = 0 
      qlfxmaxxfersize = 0 
      [root@localhost:~] 

  3. Modify the value of Port down retry according to the actual environment. For example, if you want to set the value to 1, execute esxcli system module parameters set -p qlport_down_retry=1 -m qlnativefc.

    [root@localhost:~] esxcli system module parameters set -p qlport_down_retry=1 -m qlnativefc 
    [root@localhost:~] 

    qlnativefc is the valid drive name queried in How to Set the Timeout Parameter for a QLogic HBA.

    • If there is only one HBA, the command will change the parameters of both ports on the HBA.
    • If there are multiple HBAs and the HBAs have the same valid drive name, the command will change the parameters of the ports on all the HBAs.

  4. Restart the ESXi host.
  5. Check whether the setting takes effect after the restart using the method in 2.
Translation
Download
Updated: 2019-06-29

Document ID: EDOC1100052672

Views: 14595

Downloads: 145

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next