This case is applicable to SUSE10, CentOS5.X, RedHat5.X, OEL5.X and OEL6.X operating systems.
linux-8jmd:~ # cat /etc/*-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 4 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
ls /sys/class/fc_host host3 host4 host5 host6 host7 host8



If the HBA model is Emulex (started with LPe), use the following method to query the timeout parameters:
X/lpfc_devloss_tmo command to obtain the timeout setting of every HBA port one by one. X in hostX indicates the HBA port number. You can also replace hostX with host* to query the timeout settings of all the FC ports.

hostX/port_name command to obtain the WWPN of every port when an error occurs. X in hostX indicates the HBA port number.
[root@centos5 host0]# cat /sys/class/fc_host/host3/port_name 0x10000000c9aa552a
If the HBA model is Qlogic (started with QLE), use the following method to query the timeout parameters:
qaucli command. (A plug-in needs to be installed before executing this command.) If Please Enter Selection can be seen in the command output, the command has been executed successfully. Then go to the next step; otherwise, the timeout setting is Unknown and the collection ends.

Please Enter Selection, enter 2 (Adapter Configuration).

Enter 3 (HBA Parameters).

state does not need to be collected.)

Perform the following steps for every port (ports 1, 2, 3, 4). Port 1 is used as an example here:
Enter the port number (1).


Enter 0 to go back to the previous directory. Repeat the steps to query information about the next port. After all the ports are queried, enter quit.
For HBAs from other vendors (HBA models: not started with LPe or QLE), try to use the method for Emulex HBAs.
If thecommand querying HBA information fails to be executed, an error will be reportedand "Command execution failure: execution error!" is added in theHTML file. Add the error information in the TXT document. Fill in Errorin the HBA timeout setting in the Excel. Continue to collect information aboutother HBAs.


If the timeout setting of an Emulex HBA does not pass the check, the error information is as follows:
(HBA model: LPe11002, host ID: host3,WWPN:0x10000000c9aa552a)(Timeout:30) (HBA model: LPe11002, host ID: host4,WWPN:0x10000000c9aa5456)(Timeout:45)
If the timeout setting of a Qlogic HBA does not pass the check, the error information is as follows:
When the QConvergeConsoleCLI plug-in is installed:
(HBA model: LPe11002, host ID: host3,WWPN:0x10000000c9aa552a)(Timeout:30); (HBA model: LPe11002, host ID: host4,WWPN:0x10000000c9aa5456)(Timeout:45); (HBA model: QLE2462, host ID: host1,WWPN:21-00-00-E0-8B-87-45-11)(Timeout:30); (HBA model: QLE2462, host ID: host2,WWPN:21-00-00-E0-8B-87-45-12)(Timeout:45);
When the QConvergeConsoleCLI plug-in is not installed:
(HBA model: LPe11002, host ID: host3,WWPN:0x10000000c9aa552a)(Timeout:30); (HBA model: LPe11002, host ID: host4,WWPN:0x10000000c9aa5456)(Timeout:45);
If the QConvergeConsoleCLI plug-in is not installed, the timeout settings of all Qlogic HBAs cannot be obtained. The check is not passed.
For HBAs from other vendors, the error information is as follows:
{'Timeout': 'Error', 'HBAModel': 'HPAE312A', 'Host': {'PortID': 'host2', 'HBAName': 'NA'}, 'HBADriver': 'NA', 'WWPN': '0x50014380020021b0'},
For an Emulex HBA:
Run the cho X > /sys/class/scsi_host/hostY/lpfc_devloss_tmo command to modify the HBA timeout setting, where X indicates the timeout value and Y the FC port number. As shown in the following figure, the timeout value is 5s.

For a Qlogic HBA:
Run the qaucli command to modify the HBA timeout setting.

Enter 2 (Adapter Configuration).

Enter 3 (HBA Parameters).

Enter the number of the port for which you want to modify the timeout setting. Port 1 is used as an example here.

Enter 2 (Configure HBA Parameters).

Set the timeout parameter. In the following example, the timeout parameter is set to 15s.

Enter 19 (Commit Changes).

For HBAs from other vendors (HBA models: not started with LPe or QLE), try to use the method for Emulex HBAs.
The modification takes effect immediately but will become invalid after a restart. You can collect timeout parameters again for verification.


If you have any questions or any other exceptions exist, contact Huawei technical support.