02 Configure A VDS (VSphere Distributed Switch) For ISCSI Use

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Configure a vDS (vSphere Distributed Switch) for iSCSI use and how to enable Multipathing to

use more than one network path to your storage (there by increasing throughput).
I have 4 NIC on my hosts that are currently not assigned to a vSwitch.
Click on Inventory \ Networking \ Add a vSphere Distributed Switch. For ease of management I have named my
switch iSCSI, click Next. Select the NIC’s from each host to add to the switch, click Next. Un-tick the Automatically
create a default port group as we are going to add these next, click Finish.
Right click your new switch and choose New Port Group. We are going to create 4 new Port Groups. Name your Port
Group iSCSI-1, iSCSI-2, iSCSI-3, and iSCSI-4.

Right click on iSCSI-1 and click Edit Settings. Click the Teaming and Failover setting, we can see that currently all 4
uplinks are active. For iSCSI use you’re going to need to have only a single active uplink and move the rest of the
uplinks to Unused Uplinks.
Go to Hosts and Clusters and click on your host, browse to Configuration and Networking, click on Manage
Virtual Adapters and Click Add to add VMKernel port. Select the required port group (iSCSI-1) and click Next.

Here is the Inventory \ Networking\ Configuration tab showing the whole config.


Go back to the Inventory \ Hosts and Clusters \ Configuration \ Storage Adapters screen. Click the Add button on
the top right of the screen to add the iSCSI Software Adapter. Click Properties from the lower pane to bring up the
iSCSI Initiator properties. Click Network Configuration and Click Add to add the new Port Groups.

We now have 12 paths to the iSCSI Storage server, but we would only be using a single path back to our storage, so we
need to change our Path Selection setting from MRU (Most Recently Used) to Round Robin. Right click the LUN and
choose Manage Paths…

It’s worth noting at this time that by default the Path Selection Policy (PSP) will send down 1000 I/O’s before moving
on to the next path, in a busy Production environment that’s not much of an issue but if you’re using this in a home lab
you may want to reduce this down to a single I/O per path.

You might also like