[译|转]ESX 3.5中使用QLogic QLE 220 HBA卡

原文地址:Using a QLogic QLE220 HBA with ESX 3.5

ESX 3.5 不能认QLogic QLE 220这块HBA卡,表现为装完后在VI client找不到

估计是驱动的问题,但是在QLogic的网站也找不到驱动。

image 找到VMWare的相关下载,就是找不到Driver。

image

于是乎在Google中一顿搜索,终于找到一篇Blog。

废话少说,马上说说解决方案。

1。SSH到ESX的服务器上,执行:

more /etc/vmware/esx.conf

然后模式查找 QLogic,如图所示。

2。找到如下的一段:

/device/010:00.0/class = "0c0400"
/device/010:00.0/devID = "5432"
/device/010:00.0/irq = "16"
/device/010:00.0/name = "QLogic Corp: Unknown device 5432 (rev 03)"
/device/010:00.0/options = ""
/device/010:00.0/owner = "serviceConsole"
/device/010:00.0/subsysDevID = "013f"
/device/010:00.0/subsysVendor = "1077"
/device/010:00.0/vendor = "1077"

记住 devID (5432)。

3。QLE 220 HBA卡可以使用 qla2300_707_vmw.o 这个驱动的,马上修改 /etc/vmware/pciid/qla2300_707_vmw.xml

vi /etc/vmware/pciid/qla2300_707_vmw.xml

3。参照QLA200那段,写一段QLA220的device节点。device id 由第二步获得。name节点当然也要改一下啦,其他照抄QLA200的就行。

<device id="5432">
  <vmware label="fc">
    <driver>qla2300_707_vmw</driver>
  </vmware>
  <name>QLA220</name>
  <table file="pcitable" module="ignore" />
  <table file="pcitable.Linux" module="qla2300_707_vmw" />
</device>

4。执行 esxcfg-pciid

这样做是为了:

This utility will use /etc/vmware/pciid/*.xml and will update the following files:

«pci.ids, pcitable, pcitable.Linux, vmware-devices.map»

and will add the required values from (2) into «pci.xml».

5。reboot ESX。

好了,ESX可以使用QLA 220 HBA卡了。

原文地址:https://www.cnblogs.com/killkill/p/1442011.html