Configuring Port
Binding on vSphere 5.0 Using CLI
Run the following commands from the vSphere 5.0 host CLI to
bind the VMkernel network adapter to the iSCSI adapter:
esxcli iscsi networkportal add --nic vmk0 --adapter vmhbaXX
esxcli iscsi networkportal add --nic vmk1 --adapter
vmhbaXX
Where vmk0 and vmk1 are the VMkernel network adapters compatible
with iSCSI port binding requirements. You
can get the list of VMkernel network adapters connected to all vSwitches by using the command
esxcfg-vmknic –l
vmhbaXX is the
software iSCSI adapter vmhba ID. You can verify the binding details by using
the following command:
esxcli iscsi networkportal list --adapter vmhbaXX.
Then rescan the software iSCSI adapter to verify that
multiple paths are available for iSCSI LUNs.
Configuring Port
Binding on vSphere 4.x Using CLI
To enable vmknic-based multipathing for software iSCSI, run
the following CLI commands:
esxcli swiscsi nic add --nic vmk0 --adapter vmhbaXX
esxcli swiscsi nic add --nic vmk1 --adapter vmhbaXX
Where vmk0 and vmk1 are the VMkernel network adapters compatible with iSCSI port binding requirements.
You can get the list of VMkernel network
adapters connected to all vSwitches by using the command
esxcfg-vmknic
-l.
vmhbaXX is the software iSCSI adapter vmhba ID. After configuring port binding, you can
verify the binding details by using the following command:
esxcli swiscsi nic list --adapter vmhbaXX.
Then rescan the software iSCSI adapter to verify that
multiple paths are available for iSCSI LUNs.
http://www.vmware.com/files/pdf/techpaper/vmware-multipathing-configuration-software-iSCSI-port-binding.pdf
http://www.vmware.com/files/pdf/techpaper/vmware-multipathing-configuration-software-iSCSI-port-binding.pdf