Chinaunix首页 | 论坛 | 博客
  • 博客访问: 510284
  • 博文数量: 80
  • 博客积分: 1475
  • 博客等级: 上尉
  • 技术积分: 1047
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-01 22:58
文章分类

全部博文(80)

文章存档

2012年(3)

2010年(77)

我的朋友

分类: 服务器与存储

2010-04-23 00:19:31

Hi,

I need to set the timeout linkdown on the ESX 4.0 that has qlogic card to 10 seconds, I used the commands below, but It seems didn't work:
Request Queue = 0xbc013000, Response Queue = 0xbc094000
 
#esxcfg-module -s qllink_down_timeout=10 qla2300_707_vmw
或者#esxcfg-module -s 'qllink_down_timeout=10' qla2xxx
#esxcfg-boot -b
#reboot
 
The qllink_down_timeout value is still set to default 30.
# cat /proc/scsi/qla2xxx/4
QLogic PCI to Fibre Channel Host Adapter for QLE2562:
Firmware version 4.04.09 Class 2 Multi-ID , Driver version 8.02.01-k1-vmw43
BIOS version 2.02
FCODE version 2.00
EFI version 2.00
Flash FW version 4.03.01
ISP: ISP2532
Request Queue = 0xbc013000, Response Queue = 0xbc094000
Request Queue count = 4096, Response Queue count = 512
Total number of interrupts = 5306
Device queue depth = 0x20
Number of free request entries = 3179
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 1
Host adapter:loop state = , flags = 0x105ac3
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 030
Port down retry = 005
Login retry count = 008
Execution throttle = 2048
ZIO mode = 0x6, ZIO timer = 1
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000

NPIV Supported : Yes
Max Virtual Ports = 255

SCSI Device Information:
scsi-qla0-adapter-node=2000001b320e3c69:040800:0;
scsi-qla0-adapter-port=2100001b320e3c69:040800:0;

FC Target-Port List:
scsi-qla0-target-0=203600a0b8475d42;
scsi-qla0-target-1=203700a0b8475d42;
scsi-qla0-target-2=20420080e51b08b6;
scsi-qla0-target-3=20430080e51b08b6;

FC Port Information:
scsi-qla0-port-0=20000000c9745994:10000000c9745994:040700:81;
scsi-qla0-port-1=200600a0b8475d42:203600a0b8475d42:060000:82;
scsi-qla0-port-2=200600a0b8475d42:203700a0b8475d42:060100:83;
scsi-qla0-port-3=20020080e51b08b6:20420080e51b08b6:020400:84;
scsi-qla0-port-4=20020080e51b08b6:20430080e51b08b6:020500:85;
----------------------
经笔者测试:在ESX Server4.0中,这样设置,重启后会导致qla2xxx文件夹丢失,光纤驱动加载不成功,不能再使用光纤及其挂载的资源。
解决措施如下:

#esxcfg-module -s '' qla2xxx

#reboot
----------------------
若要设置想要的参数:
#vmkload_mod -s qla2xxx
will generate a list of all parameters the module could handle.
#esxcfg-module -s 'par1=xxx par2=yyy' qla2xxx
#reboot
即可。
----------------------
当然,我们也可以下载Qlogic的SANsurfer工具修改FC HBA卡的BIOS信息,笔者未测试。


 

阅读(2429) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~