• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

How to Migrate the VM’s to vSphere Distributed Switch ?

March 7, 2014 By Cloud_Devops 2 Comments

When it comes to VMware networking , you should know about VSS  (vSphere Standard Switch) and VDS (vSphere Distributed Switch). This article is going to demonstrate the migration of  virtual machines  from VSS (vSphere Standard Switch) to VDS (vSphere Distributed Switch). First we will see why do we need to virtualize the networking in VMware environment.The virtual networking provides various services to ESXI host and VM guests. Using the virtual network services , you can connect the virtual machine to the physical network and connect to the VMkernel services like NFS,iSCSI and vMotion to the physical network environment.

What is the Difference between VSS and VDS?                                                                        VSS is controlled on the local host level .But VDS is controlled from vCenter server.If you use VSS, maintaining the similar network configuration across  all the ESXi  is very difficult. But in VDS, same configuration will be pushed across all the ESXi hosts from the vCenter server. If there is any configuration mismatch on the network level , You may not be able to migrate the VM’s to another host using VMotion. So these kind of issues will be eliminated if you use VDS (vSphere Distributed Switch). VDS also supports third part virtual switches.

In this article , i am going to demonstrate the migration of two virtual machines from VSS (vSphere standard switch)to VDS (vSphere Distributed switch).

Environment:vSphere 5.5

Impact : No impact to the VM machines. This migration is completely transparent.

Virtual machines Names:

  1. VOVA
  2. SUSE-Linux

1.Login to vSphere Client and determine the virtual machine’s current network.

VOVA networking info
VOVA networking info

Here is the networking information for SUSE-Linux VM and you can see its using vSphere standard switch.

Host Networking view - SUSE-Linux
Host Networking view – SUSE-Linux

[box type=”info”]

  • If you do not have existing vSphere distributed virtual switch,just create it by following this article.Here i have already created the vSphere distributed switch and added the ESXi hosts to that.Refer this article.

[/box]

2.Navigate it to Home- > Inventory – > Networking . Just right Click the VDS switch to migrate the VM’s to it .

Migrating virtual machine  from VSS to VDS
Migrating virtual machine from VSS to VDS

 

3.In this wizard , you need to select the source network and destination network for VM’s that needs to be migrated .Here i have select the VM network as source (Which is my VSS network) and destination network as vSphere distributed switch(UA-VDS1)

Select Source and Destination network
Select Source and Destination network

 

4.Select the VM’s which needs to be migrated to vSphere distributed switch.

Select the VM for VSS to VDS migration
Select the VM for VSS to VDS migration

 

5.Here is the summary of the migration. Click finish to start the live migration from vSphere standard switch to vSphere distributed switch.

Summary of the live VSS to VDS migration
Summary of the live VSS to VDS migration

 

6.You can monitor the activity in the task list .

Task details of Live VSS to VDS migration
Task details of Live VSS to VDS migration

 

7.Click on the vSphere distributed port group and see new ports active for VM’s.

Port group link status for VM's
Port group link status for VM’s

 

8.Navigate to Home – > Inventory – > Hosts & clusters.Click on the ESXi host – > Configuration – > Networking  – > vSphere Distributed Switch.You can see that virtual machine “VOVA” has been migrated from VSS to VDS .

Verify VSS to VDS migration
Verify VSS to VDS migration

The same way you can also verify for SUSE-Linux virtual machine by clicking its parent ESXi host.

Note:No need to halt the VM’s for this migration. You can perform this change on fly.

We have successfully migrated the VM’s from vSphere standard switch to vSphere distributed switch.The below diagram will explain you about .

VDS  Overview
VDS Overview

If  the vCenter server is down also vSphere distributed switch is available for VM’s.

You can find the reverse operation here.I meant VDS to VSS migration.

Share it ! Comment it !! Be sociable !!!

Filed Under: vSphere Distributed Switch Tagged With: vSphere Distributed switch

Reader Interactions

Comments

  1. Jose says

    February 4, 2015 at 9:33 am

    tried these steps to migrate a “vCenter VM, ” from vss to vds but get stuck in step 4 — destination was inaccessible

    Reply
    • vikrant says

      September 27, 2016 at 2:16 pm

      Thank you , nice article . I have migrated the VMs to DV switch but I am not able to migrate the policy on this DV switch from standard switch can you help me how I can do this .

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version