How to configure Multi-NIC vMotion on vSS or vDS?

By | January 21, 2015

As I described in my article about speeding up vMotion, Multi-NIC vMotion provides load balancing the vMotion network traffic over multiple network adapters. It means that one vMotion session is balanced between all available vmknic. In this post I will show how to configure this feature with vSphere Standard Switch (vSS) or vSphere Distributed Switch (vDS).

Requirements and prerequisites are as follows:

  • at least two dedicated network adapters for vMotion per host (If you do not have dedicated links for vMotion, consider using Network I/O Control. vMotion can saturate a link)
  • prepared IP and mask settings for each VMkernel
  • ensure that all VMkernel ports configured are in the same IP subnet/VLAN on all hosts

To configure Multi-NIC vMotion in vSphere 5.x on a Standard vSwitch please follow steps:

  1. Log into the vSphere Client and select the host from the inventory panel.
  2. Click the Configuration tab and select Networking.
  3. Click Add Networking and choose VMkernel as the Connection Type.Set up Multi-NIC vMotion on vSS via vSphere Client 1
  4. Click Next.
  5. Add two or more NICs to a new standard switch.Set up Multi-NIC vMotion on vSS via vSphere Client 2
  6. Name the VMkernel portgroup (for example, vMotion-01), and assign a VLAN ID as required. Click Use this port group for vMotion, then click Next.Set up Multi-NIC vMotion on vSS via vSphere Client 3
  7. Configure the IP address and subnet mask, then click Next.Set up Multi-NIC vMotion on vSS via vSphere Client 4
  8. Click the Properties tab of the vSwitch.Set up Multi-NIC vMotion on vSS via vSphere Client 5
  9. Click Add to create a second VMkernel portgroup and follow steps 3-7 again.
  10. Select the vMotion-01 portgroup, and click Edit.
  11. Click the NIC Teaming tab.
  12. Under Failover Order, select Override switch failover order.
  13. Configure the first adapter (for example, vmnic0 in my case) as active and move the first adapter (fin my case, vmnic2) to standby. Click OK.Set up Multi-NIC vMotion on vSS via vSphere Client 6
  14. Select the vMotion-02 portgroup, and click Edit.
  15. Click the NIC Teaming tab.
  16. Under Failover Order, select Override switch failover order.
  17. Configure the first adapter (for example, vmnic2 in my case) as active and move the first adapter (fin my case, vmnic0) to standby. Click OK.Set up Multi-NIC vMotion on vSS via vSphere Client 7
  18. The configuration should look similar as follow.Set up Multi-NIC vMotion on vSS via vSphere Client 8
  19. If you have more NICs, please follow steps 3-13 for every VMkernel. Also on the Properties tab of the vSwitch, select each vMotion portgroup in turn and confirm that the active and standby adapters are the reverse of each other.

 

To configure Multi-NIC vMotion in vSphere 5.x on a Distributed vSwitch please follow steps:

  1. Log into the vSphere Client and click the Networking inventory.
  2. Right-click the Distributed vswitch, then click New Port Group.Set up Multi-NIC vMotion on vDS via vSphere Client 1
  3. Name the dvPortgroup (for example, vMotion-01). Click VLAN and assign a VLAN ID as required, then click Next and Finish.Set up Multi-NIC vMotion on vDS via vSphere Client 2
  4. Create the second portgroup following again steps 1-3.
  5. Select vMotion01 portgroup, click Edit Settings.Set up Multi-NIC vMotion on vDS via vSphere Client 3
  6. Click the Teaming and Failover tab.
  7. Configure dvUplink1 as Active Uplink and move dvUplink2 to Standby Uplink. Click OK.Set up Multi-NIC vMotion on vDS via vSphere Client 4
  8. Select vMotion02 portgroup, click Edit Settings. Click the Teaming and Failover tab.
  9. Configure dvUplink2 as Active Uplink and move dvUplink1 to Standby Uplink.Set up Multi-NIC vMotion on vDS via vSphere Client 5
  10. Go the Hosts and Clusters Inventory tab, select a host's Networking, and click vSphere Distributed Switch.
  11. Click Manage Virtual Adapters and click Add to add new virtual adapter.Set up Multi-NIC vMotion on vDS via vSphere Client 6
  12. Choose VMkernel as the Virtual Adapter Type.Set up Multi-NIC vMotion on vDS via vSphere Client 7
  13. Select the vMotion-01 portgroup, click Use this port group for vMotion, then click Next.Set up Multi-NIC vMotion on vDS via vSphere Client 8
  14. Configure the IP address and subnet mask, then click Next and Finish.Set up Multi-NIC vMotion on vDS via vSphere Client 9
  15. Set up Multi-NIC vMotion on vDS via vSphere Client 10
  1. Add another virtual adapter, then select the vMotion-02 portgroup (follow again steps 12-14)
  2. On the Distributed vSwitch, select each dvportgroup on VMKernel Port vmk1 and vmk2 in turn, and confirm that the active and standby uplinks are the reverse of each other.
  3. The configuration of Multi-NIC vMotion should like as follow:Set up Multi-NIC vMotion on vDS via vSphere Client 11