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 an Emulex HBA

How to Set the Timeout Parameter for an Emulex HBA

This section describes how to configure the timeout parameter of an Emulex HBA by modifying the value of parameter lpfc_devloss_tmo.

Procedure

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

    ~ # esxcfg-scsidevs -a 
    vmhba0  ata_piix          link-n/a  sata.vmhba0                             (0:0:31.2) Intel Corporation 2 port SATA IDE Controller (ICH9) 
    vmhba1  mptsas            link-n/a  sas.5782bcb0234e8000                    (0:3:0.0) LSI Logic / Symbios Logic Dell SAS 6/iR Integrated 
    vmhba2  lpfc820           link-up fc.20000090fa76d5c6:10000090fa76d5c6    (0:4:0.0) Emulex Corporation LPe12000 8Gb Fibre Channel Host Adapter 
    vmhba3  lpfc820           link-n/a  fc.20000090fa76d5c7:10000090fa76d5c7    (0:4:0.1) Emulex Corporation LPe12000 8Gb Fibre Channel Host Adapter 
    vmhba32 ata_piix          link-n/a  sata.vmhba32                            (0:0:31.2) Intel Corporation 2 port SATA IDE Controller (ICH9) 
    vmhba33 iscsi_vmk         online    iscsi.vmhba33                           iSCSI Software Adapter               

  2. Check the current value of lpfc_devloss_tmo.

    1. If the ESXi operating system version is 5.0 or 5.1, execute esxcli system module parameters list -m lpfc820 |grep -E "lpfc_devloss_tmo| -- |Description"to check the value of lpfc_devloss_tmo. If the value is null, it indicates default value 10.
      ~ # esxcli system module parameters list -m lpfc820 |grep -E "lpfc_devloss_tmo| -- |Description" 
      Name                         Type  Value  Description                                                                  
      lpfc_devloss_tmo             int 10     Seconds driver hold I/O waiting for a loss device to return

      lpfc820 is the valid drive name queried in 1.

    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 
      ... 
      Name: param 
      Type: string 
      value:  Configuration Parameters for lpfc1 
       
      Name                  Low      High    Dflt Current      Description 
      log-verbose             0    7fffffff       0       0      Verbose logging bit-mask 
      lun-queue-depth         1         200      1e      1e      Max number of FCP commands we can queue to a specific LUN 
      devloss-tmo             1          ff       a       1      Seconds driver hold I/O waiting for a loss device to return 
      use-adisc               0           1       0       0      Use ADISC on rediscovery to authenticate FCP devices 
      first-burst-size        0       10000       0       0      First burst size for Targets that support first burst 
      max-scsicmpl-time       0        ea60       0       0      Use command completion time to control queue depth 
      fcp2-no-tgt-reset       0           1       0       0      Determine bus reset behavior for FCP2 devices 0-issue tgt reset, 1-no tgt reset 
      topology                0           6       0       0      Select Fibre Channel topology: valid values are 0,1,2,4,6. See driver manual 
      link-speed              0          10       0       0      Select link speed: [ 2 4 8 ] or 0 for auto negotiate 
      task-mgmt-tmo           5          b4      3c      3c      Maximum time to wait for task management commands to complete 
      XLanePriority           0          7f       0       0      CS_CTL for ExpressLane. 
      compression-log         5       15180     12c     12c      Frequency compression logs are written (seconds) 
      throttle-log-cnt        1         3e8       a       a      Do not exceed this number of messages logged within throttle_log_time 
      throttle-log-time       1          3c       1       1      Do not exceed throttle_log_cnt within this limit (seconds) 
      ... 
      Name: param 
      Type: string 
      value:  Configuration Parameters for lpfc0 
       
      Name                  Low        High    Dflt Current  Description 
      log-verbose             0    7fffffff       0       0      Verbose logging bit-mask 
      lun-queue-depth         1         200      1e      1e      Max number of FCP commands we can queue to a specific LUN 
      devloss-tmo             1          ff       a       1      Seconds driver hold I/O waiting for a loss device to return 
      use-adisc               0           1       0       0      Use ADISC on rediscovery to authenticate FCP devices 
      first-burst-size        0       10000       0       0      First burst size for Targets that support first burst 
      max-scsicmpl-time       0        ea60       0       0      Use command completion time to control queue depth 
      fcp2-no-tgt-reset       0           1       0       0      Determine bus reset behavior for FCP2 devices 0-issue tgt reset, 1-no tgt reset 
      topology                0           6       0       0      Select Fibre Channel topology: valid values are 0,1,2,4,6. See driver manual 
      link-speed              0          10       0       0      Select link speed: [ 2 4 8 ] or 0 for auto negotiate 
      task-mgmt-tmo           5          b4      3c      3c      Maximum time to wait for task management commands to complete 
      XLanePriority           0          7f       0       0      CS_CTL for ExpressLane. 
      compression-log         5       15180     12c     12c      Frequency compression logs are written (seconds) 
      throttle-log-cnt        1         3e8       a       a      Do not exceed this number of messages logged within throttle_log_time 
      throttle-log-time       1          3c       1       1      Do not exceed throttle_log_cnt within this limit (seconds) 
      ... 
      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

  3. Modify the value of lpfc_devloss_tmo according to the actual environment. For example, if you want to set the value to 1, execute esxcli system module parameters set -p lpfc_devloss_tmo=1 -m lpfc820.

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

    lpfc820 is the valid drive name queried in 1.

    • 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: 14477

Downloads: 145

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