Skip navigation

vSphere has introduced many new features. One of new feature is vDS (vNetwork Distributed Switch) which always confuses me and lots of people. I’m trying to explain it as simple and easy, also deep to you as I can. If I make any mistakes, please feel free to leave comment. Thank you.

So What is vDS? What’s difference between vSS and vDS from configure file structure?

vDS is a new Virtual Switch introduced by Vmware. The old vSS is more like local Host property. All switch data saved in the local Host. Other Host is not aware what kind of vSS other Host has.Not only vCenter can’t do anything about it, it causes trouble when you do vMotion.  vDS is saved in both vCenter and Host. One copy in the vCenter, vDS is saved in the SQL database. In the local host, vDS has another local database cache copy sits at /etc/vmware/dvsdata.db. This local cache will be updated by vCenter every 5 minutes.

You can use following command to help you to get copy to read the local host database.

cd /usr/lib/vmware/bin

./net-dvs > /tmp/dvs.txt

then, you can read dvs.txt

Also, after you configure vDS on your local host, your esx.conf (/etc/vmware) has record shows brief configuration information of vDS.

Those 3 configuration combines vDS structure. This also makes vDS can work even after Host disconnected from vCenter.

What’s difference between vSS and vDS on control level?

With vSS, everything should be controlled on local host. Basically, you go to Local Host->Configuration->Networking. Then, you start everything from there. But vDS is different. vDS divide control into 2 different level. I call them high level and low level.

High Level: High level is to create/remove, management teaming, distribution port group etc. This level sits at vCenter->Inventory->Networking.

Low Level: This level is to connect your vm, vmkernel, and your local physical cards to vDS. Please be aware that your vm, vmkernel, etc are connecting to distribute port group. Unlike local vSS (you have create same vswitch, same vswitch port group on all hosts), vDS is pushed from vCenter to all Hosts. As long as you are connecting to same vDS, you will have same distribute port group.

With local physical nic card, they need to connect to dvUPlink side. You can choose any number of local nics to connect or even no nic at all. But what you can’t do is to setup teaming (only work for 2 nics from same host), traffic shaping, VLAN because you need to setup on high level.

To be continued. ……..

Advertisements

3 Comments

  1. Very useful information, I will try it

  2. Your content seems to be pirated by Tuan Pham at http://www.4salesbyself.com/vds-vnetwork-distributed-switch.aspx

    This person at LinkedIn is the seem to be the same person: http://www.linkedin.com/pub/tuan-pham/30/476/992

    /M

  3. I’ve read a few good stuff here. Certainly price bookmarking for revisiting. I surprise how a lot attempt you set to make this type of excellent informative website.


2 Trackbacks/Pingbacks

  1. […] can always find this answer from my old post here. Comparing with vSS, vDS provide more virtual gateways (not like vSS, vDS also virtualize Uplink). […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: