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
vmkiscsi-tool -D -a 10.0.0.2 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)?
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).
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