VMware vDS setup

By | November 18, 2014

VMware vDS (VMware Distributed switches) Setup

In this post I want to show you the reasons for using vDS if you have an Enterprise Plus license.

First is why…

The vDS only has to be configured once on the vCenter system.  With standard switches you have to configure the ports and NICs on every ESXI/vSphere machine.  If you only have two machines this would not a huge undertaking.  If you have more that four machines this can become time-consuming.

The biggest concern I has been if vCenter is down will this hinder the vDS functionality?  I then came across this wonderful article by Duncan Epping on yellow-bricks.com.  The title of the blog post was Distributed vSwitches and vCenter outage, what’s the deal?  Awesome article.  It put all my fears of running a vCenter controller vDS to rest.

The next decision.

Do I run on a single vDS or two vDS?  I decided to separate the iSCSI network from the rest of the production network.  During my research i found that you can run everything from a single vDS.  In the current project I had two separate switch stacks. one for iSCSI, and one for the rest of the management and production network.  Looking through VMware whitepapers and best practices there are a couple of words that stood out.

iSCSI storage traffic is transmitted in an encrypted format across the LAN. Therefore, it is considered best
practice to use iSCSI on trusted networks only and to isolate the traffic on separate physical switches or to
leverage a private VLAN.

This comment came out of the Best Practices for Running VMware vSphere on iSCSI.

OK, so now that the reasoning is down I can proceed with the how-to setup vDS.

This was my first setup with vDS and at this time I was more comfortable with the vSphere client software.

Using the vSphere clients software, you need to click on Inventory Networking Add vSphere Distributed switch

createvds

As this is a vSphere 5.5 install I went with the 5.5.0 version switch, click Next

 

vDS-NameUplinks

Change then name of the dvSwitch. This one I will call iSCSI, click Next

vDS-addnow

vDS-VNic

Select the NIC’s from each host you wish to add, click Next

 

vDS-Complete

Un-tick the Automatically create a default port group we will create these next, click Finish

vDS-Menu

Right click on the switch and choose New Port Group

vDS-PortGroup

 

We are going to create two new Port Groups, I have gone for seven ports per Port Group because I only have seven hosts. Name your Port Group and define the number of ports, click Next

vDS-iSCSI1

Click Finish, now repeat for every new port group required.

After the Port Groups have been setup we need to configure them.

 

vDS-EditSettings

Right click iSCSI-1 and click Edit Settings

vDS_active

 

Click the Teaming and Failover setting, we can see that the two uplinks are active, for iSCSI use you’re going to need to have only a single active uplink.

vDS-Unused

This is the first iSCSI port so I will use dvUpLink1. Move the other uplinks to Unused.

Go to Hosts and Clusters and click on your host, browse to Configuration and Networking, click on Manage Virtual Adapters

vDS-Manage

 

Click Add

vDS-newAdapter

 

Choose New virtual adapter, click Next

vDS-vKernal

 

Click Next

vDS-VirtAdapter

Select the required port group and click Next

 

vDS-IPAddress

The Hosts IP address is 192.168.2.30, click Next.

Follow these same steps for your remaining. NICs.

I will be following up this post with a How to on iSCSI.

Thanks for reading.

One thought on “VMware vDS setup

  1. Pingback: Recap of #vDM30in30 – Great Work Folks! @ Virtual Design Master

Comments are closed.