Enable the software iSCSI initiator
Note the vmhba number of the software iSCSI initiator – in this example vmhba39
Setup vSwitch
Create a Vmkernal vSwitch to be used for iSCSI
In the vSwitch properties, create Vmkernal ports for each physical interface.
Note the vmk numbers. | |
Setup Vmkernal ports
In the vSwitch properties specify each Vmkernal port to use a specific adapter | |
Bind vmkernal ports
Note you will need to connect to the console to issue these commands. You will need to enable either local or remote tech support mode on ESXi.
Bind each vmkernal port to the iSCSI software initiator. You will need to know the vmk# and the vmhba# of the iSCSI initator. Run these commands in the service console. | esxcli swiscsi nic add –n vmk1 –d vmhba39
esxcli swiscsi nic add –n vmk2 –d vmhba39 |
Enable Jumbo frames (optional)
The command to enable jumbo frames is
esxcfg-vswitch -m 9000 vSwitchx – where x= switch number
Note you should only enable jumbo frames if all other devices in your storage network are configured to use jumbo frames
Setup iSCSI target
In the properties of the software iSCSI initatiator add the relevant info for your SAN
Add iSCSI Target
You should be prompted to rescan – please select yes.
You should now have more paths to the datastores.
To use round robin access, right click on each datastore and select manage paths. Choose Round Robin.
Please Click any of the following link
0 Comment to "Setup VMware vSphere to Access ISCSI SAN"
Post a Comment