Migrating a virtual network implementation from VSS to one or more vDS is typically not very challenging, but it does require some care. More than one method exists to make such a migration. One option is to build a new vDS and then migrate all appropriate items from an existing vSS to the new vDS utilizing a single wizard, available when attaching the ESXi host to the vDS.
Things to Consider.
- When replacing a vSS with a vDS, ensure that you configure the ports on the appropriate vDS port group to match the settings on the original vSS portgroup. These configurations should take into consideration security, traffic shaping, NIC teaming, MTU, and VLAN configurations.
- If spare physical adapters exist, consider connecting those to the new vDS and initially migrating just the VMs and vmkernel ports.
Create a Hybrid Virtual Network Solution. In which leave vMotion and Management Traffic are on vSS and migrated all IP Storage, VMs traffic on the vDS.
Existing vSS Design:
I have 5 Physical Uplink connected to vSS for different services.
- Vmnic0 (Management Traffic)
- Vmnic1,2(VM Traffic)
- Vmnic3 (vMotion Traffic)
- Vmnic4 (IP-Storage Traffic)
Purposed Hybrid Design
- Vmnic0, vmnic3 (Management, vMotion Traffic) -> vSS
- Vmnic1,2,4 (VMs and IP Storage Traffic) -> vDS
Figure: Existing vSS design
Here is steps for Migration you vSS Network into vDS
- Create a New vDS
- Create PortGroups
- Rename the Uplinks
- Configure the Teaming/Failover for each PortGroup
- Add ESXi hosts and migrate vKernel and VMS PortGroup from vSS to VDs
1-Create a New vDS
From Web Client Home-> Networking -> Right Click on DataCenter -> New Distributed Switch
Enter the vDS name “vDS-vCAP” -> Click “Next”
If you want to use the vDS with all of your ESXi hosts in the environment. Then choose the vDS version according to you lowest running ESXi version. In my case, I have all ESXi host running version 5.5. So I Choose the default option -> Click “Next”
Select the Total Number of Uplinks. It should be the same as your physical Network which you want to migrate. Uncheck “Create default Port Group” option -> Click “Next” and then “Finish”
Verify you created vDS as shown below.
2- Create PortGroups
Our Next step is to create the PortGroup for vDS. To create a new vDS PG. right click on the vDS and Choose “New Distributed Port Group”
Enter the Port Group name. In my case it is “vDS-IPStorage”. Click “Next”
Leave the settings as default -> Click “Next” and then “Finish”
Similarly create the two more PortGroup for VM Traffic with Name “vDS-VM-1” and “vDS-VM-2” respectively.
Here is snapshot of the vDS after the PortGroups.
3- Rename the Uplinks
Right Click on the vDS and click on “Edit Settings”
In General ->Click on the “Edit Uplink Name” hyperlink
Define the uplink names -> Click “OK” twice.
4-Configure the Teaming/Failover for each PortGroup
Right Click on the PortGroup -> Click “Edit Settings”
In Teaming and Failover Setting of PortGroup. Set the “IPStorage” Uplink as active and move the reset of Uplink in unused uplinks category -> Click “OK”
Next go to “vDS-VM-1” PortGroup settings and set the “VM-1” as active uplink and move reset the uplinks as “Unused”.
Similarly go to “vDS-VM-2” PortGroup settings and set the “VM-2” as active uplink and move reset the uplinks as “Unused”.
5-Add ESXi hosts and migrate vKernel and VMS PortGroup from vSS to VDs
Right Click on the vDS -> Click “Add and Manage Hosts”
In the Wizard -> Select “Add Hosts” -> Click “Next”
Add the host to the vDS by click on Green “+” sign -> Click “Next”
Check the First Three options to miragte Physical,vKernel and VM network at once using this mirgration wizard -> Click “Next”
Next Assign the Uplink (Physical adapters) to the Virtual Nics. Select the “vmnic1” and click on “Assign Uplink” to assign an uplink to vmnic1. At this time recall my purposed design. I defined the mapping in it.
Remember we renamed the uplink of the vDS in third step. The below dialog box showing that uplinks. Now select the uplink against “vmnic1”. In my case it is “VM-1”. Because I am using vmnic1 for VM Traffic -> Click “OK”
Check your assignment.
Similarly assign uplink “VM-2” into “vmnic2” and uplink “IPStorage” into “vmnic4” respectively.
Verify you uplink assignment with virtual adapters. You assignment should look like as shown below -> Click “Next”
Next configure vKernel Portgroup Assignment. In my case I am only going to migrate my IP-Storage traffic into vDS. Click on your “IP-Storage vKernel portGroup (vmk1)” and Click “Assign Port Group”
Choose your destination (vDS) PortGroup. In my case it is “vDS-IPStorage” -> Click “OK”
Verify your vKernel Port Group Assignment -> Click “Next”
In next Screen it will calculate the impact when you mirage your IP-Storage Network. As you can see below screen shot it shown me an error here. The reason of Error is because, I bind my IP-Storage vmkernel adapter with ISCSI traffic. Mean I used it for multipathing. We will rectify it after the migration. Just ignore here and Click “Next”
In Next Screen migrate your VM traffic into vDS. Select your “VM” network and Click “Assign PortGroup”
Next select your “Destination network” on vDS for “Damn Small Linux-1” In my Case it is “vDS-VM-1” -> Click “OK”
Similarly configure Assignment for “xp-02” VM.
Here is final look of VM Network Assignment -> Click “Next” and then “Finish”
Check your recent task and make sure everything is migrated and there will be no error.
Next Test the connectivity of your VMs and vKernel port groups. It should be fine. After that remove the extra Virtual Switch from vSS Section.
Now we have successfully configured our Hybrid design for virtual Network.
Here is the final topology of our network.
Virtual Standard Switch(vSS) Topology
Virtual Distributed Switch(vDS) Topology