Microsoft Virtualization: Hyper V Live Migration Network configuration.

Its quite hectic these days in Virtualization world as i am actively involved in planning Practice Accelerator for Virtualization. In addition to that I’ve been engaged in lots of Virtualization opportunities and whenever i speak to customers and partners, I tend to get lot of questions about setting up preferred network for Live Migration on Hyper V based clusters.

Its highly recommended to use Cluster Shared Volume (CSV) while setting up the storage for Live Migration, CSV has following advantages:

  1. All the nodes in the cluster has concurrent access to the shared storage.
  2. Multiple VHDs can be stored on a single shared Volume.
  3. No Drive letter problems
  4. Faster failovers

It looks like something like the diagram below, You can see in this diagram, that all the three nodes has simultaneous access to the same share running their respective VHD files. In the event of one node failure there is no drive ownership change and hence faster failover.

image

By default, Cluster Shared Volumes (CSV) and Clustering use a private network with the lowest value for Metric property.  To prevent CSV and Clustering from sharing the same network with live migration, the default network order used for live migration is changed so that a network with the lowest value for Metric property is at the bottom of the list of networks for live migration.  This will reduce the possibility of CSV, clustering, and live migration using the same network.

This helps ensure live migration speeds by placing live migration traffic in a separate network path.

In the Failover Cluster Manager, right-click on the virtual machine and select Properties:

clip_image001

By selecting the “Network for Live Migration” tab, you can specify what network is used for Live Migration. You can specify multiple networks in order of preference. For me, I normally have my 10 Gb/E network set as the first network.

clip_image002

See this screenshot:

clip_image004

Once you select the appropriate network, you will see the performance enhancement and decreased failover times However your Virtual Machine is always high available while its being migrated.

I hope it helps, please feel free to reach me if you need more information.

Cheers..