vDCA550-Objective 2.2-2-Migrate a vSS network to a hybrid or full vDS solution

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.

  1. 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.
  2. If spare physical adapters exist, consider connecting those to the new vDS and initially migrating just the VMs and vmkernel ports.

Example.

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

vDCA550-Obj-2-2-migratevssstohybridorfullvds-01

Figure: Existing vSS design

Here is steps for Migration you vSS Network into vDS

  1. Create a New vDS
  2. Create PortGroups
  3. Rename the Uplinks
  4. Configure the Teaming/Failover for each PortGroup
  5. 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

vDCA550-Obj-2-2-migratevssstohybridorfullvds-02

Enter the vDS name “vDS-vCAP” -> Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-03

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-04

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-05

Verify you created vDS as shown below.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-06

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-07

Enter the Port Group name. In my case it is “vDS-IPStorage”. Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-08

Leave the settings as default -> Click “Next” and then “Finish”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-09

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.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-10

3- Rename the Uplinks

Right Click on the vDS and click on “Edit Settings”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-11

In General ->Click on the “Edit Uplink Name” hyperlink

vDCA550-Obj-2-2-migratevssstohybridorfullvds-12

Define the uplink names -> Click “OK” twice.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-13

4-Configure the Teaming/Failover for each PortGroup

Right Click on the PortGroup -> Click “Edit Settings”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-14

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-15

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-16

In the Wizard -> Select “Add Hosts” -> Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-17

Add the host to the vDS by click on Green “+” sign -> Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-18

Check the First Three options to miragte Physical,vKernel and VM network at once using this mirgration wizard -> Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-19

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.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-20

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-21

Check your assignment.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-22

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-23

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-24

Choose your destination (vDS) PortGroup. In my case it is “vDS-IPStorage” -> Click “OK”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-25

Verify your vKernel Port Group Assignment -> Click “Next”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-26

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”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-27

In Next Screen migrate your VM traffic into vDS. Select your “VM” network and Click “Assign PortGroup”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-28

Next select your “Destination network” on vDS for “Damn Small Linux-1” In my Case it is “vDS-VM-1” -> Click “OK”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-29

Similarly configure Assignment for “xp-02” VM.

Here is final look of VM Network Assignment -> Click “Next” and then “Finish”

vDCA550-Obj-2-2-migratevssstohybridorfullvds-30

Check your recent task and make sure everything is migrated and there will be no error.

vDCA550-Obj-2-2-migratevssstohybridorfullvds-31

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

vDCA550-Obj-2-2-migratevssstohybridorfullvds-32

Virtual Distributed Switch(vDS) Topology

vDCA550-Obj-2-2-migratevssstohybridorfullvds-33

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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