VMware Cloud Community
eugene123
Contributor
Contributor

iSCSI vmhba and vmnics - how are they related

Greetings!

As I'm learning the scripted install for ESX 4, I've noticed that I can not explain to myself how is my vmhba34 related to my vmnic1 (the one that I;m using to connect to the iSCSI)

My script is as follows:

"...

esxcfg-firewall -e swISCSIClient

esxcfg-swiscsi -e

vmkiscsi-tool -D -a 10.0.0.2 vmhba34

esxcfg-swiscsi -s

esxcfg-rescan vmhba34

..."

Nowhere in here do I see an explicit association between the vmhba34 and vmnic of any kind,

How is this done (i.e. where is this association ever being made)?

-Eugene

0 Kudos
2 Replies
Paul_Lalonde
Commander
Commander

There is no direct association between an iSCSI software initiator (vmhba34) and a physical NIC (vmnic). A vmhba34 iSCSI initiator is simply a software construct that resembles a hardware storage adapter. This iSCSI initiator can leverage any VMkernel NIC (vmknic) portgroup on a vSwitch that maintains at least one outbound physical NIC (vmnic).

Paul

0 Kudos
AntonVZhbankov
Immortal
Immortal

As already said, vmhba34 is just software, and you can make iSCSI traffic go through any vmnic. It can be configured in networking section - software iSCSI uses VMkernel interface with "IP storage" checkbox enabled.


---

MCSA, MCTS, VCP, VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos