Using System Center 2012 SP1 – Virtual Machine Manager Logical Switch with Hyper-V

System Center Logo

This blog post is a part of a series of blog posts about System Center 2012 Virtual Machine Manager, I am writing together with Michel Luescher (Consultant from Microsoft Switzerland).

In the last post we wrote about the new networking features in System Center 2012 SP1 – Virtual Machine Manager. One of the biggest changes in SCVMM is the concept of the Logical Switch. The new Logical Switch allows to manage Hyper-V Virtual Switches including the underlying network teaming centralized from System Center Virtual Machine Manager.

In Service Pack 1 you can choose between two Virtual Switches; You can use either the new Logical Switch or you can use the Standard Virtual Switch, which is basically the “legacy” Virtual Switch with the default Hyper-V Virtual Switch functions. If you create the Virtual Switch on a Hyper-V host you can choose between the two options and this allows you to choose the Logical Switch.

Standard Switch

The Standard Virtual Switch is basically the normal Hyper-V Virtual Switch and the configuration looks exactky the same as in the Hyper-V Manager. If you add a Hyper-V Host to SCVMM and you have previously created the Virtual Switch using Hyper-V Manager or PowerShell cmdlets, this Virtual Switch will be shown as Standard Switch.

Standard SwitchIn a nutshell:

  • The Standard Switch can only be deployed on one network adapter, so if you want to use network teaming you have to create the network teaming manual on the Hyper-V host.
  • The available Logical Networks have to be added on every host on the physical network adapter. This can be a little of a management effort but I made a simple PowerShell Script which helps you to do configuration changes: SCVMM 2012: Add Logical Network to all Hyper-V Hosts in HostGroup via PowerShell
  • Existing Virtual Switches will be shown as Standard Switches in SCVMM, you have to recreate the configuration if you want to use the Logical Switch.
  • With the Standard Switch you can set the one single management vNIC which can be used by the Management OS. You can attach additional vNIC using Windows PowerShell on the Hyper-V host but not from the Virtual Machine Manager Console

Logical Switch

A Logical Switch includes Virtual Switch Extensions, Uplink Port Profiles which define the physical network adapters used by the Hyper-V Virtual Switch for example for teaming and the Virtual Adapter Port Profiles mapped to Port Classifications which are the settings for the Virtual Network Adapters of the virtual machines.

Logical SwitchIn a nutshell:

  • The Logical Switch allows you to add multiple NICs in one Virtual Switch and creates a NIC teaming based on Uplink Port Profile. The Uplink Port Port Profile includes all the information which teaming mode and algorithm has to be used.
  • The Uplink Port Profile also includes a list of available logical network sites. If you have an additional Logical Network which runs on this network adapters you can simply add this to the Uplink Port Profile.
  • You can create multiple vNICs (vEthernet Adapters) for example a Hyper-V Converged Networking setup. Port Classifications and Virtual Adapter Port Profiles bring support for Bandwidth Management and QoS.
  • Logical Switches only work with windows Server 2012 , but there is no need to stay on Windows Server 2008 R2 Hyper-V.

If you are running Windows Server 2012 Hyper-V hosts there is no reason why you should not use the Logical Switch, which adds additional functionality and centralized management to the Hyper-V Virtual Switch.

You can find the German Version of this blog post on Michel Lueschers (Consultant Microsoft Switzerland) blog.

Related Posts:

8 thoughts on “Using System Center 2012 SP1 – Virtual Machine Manager Logical Switch with Hyper-V

  1. Pingback: System Center Virtual Machine Manager 2012 SP1 networking explained « UP2V

  2. Pingback: Novità sul Networking con System Center Virtual Machine Manager 2012 Sp1 | Blog Vecomp Software Solutions

  3. Assigning weight to Logical Network

    Hi Thomas,

    I realise that weight can be assigned by using SCVMM2012 SP1 using Native Port Profiles, that is fine for the Parent vNics, but I’m wanting to know the command to assign weight to the Switch (Which will in turn be passed through to the VM Traffic). Is this possible? or this configured another way.

    So the setup is something like this
    Value % Unit (Mbps)
    vEthernet (Cluster) 10 900
    vEthernet (Live Migration) 40 3600
    VM Switch (VM Production) 60 5400

    VM’s are attached to the VM Switch. The minimum available traffic for the VM Switch should be 5400 Mbps.

    The powershell command for this would be:
    Set-VMSwitch “Converged_Logical_Switch” -DefaultFlowMinimumBandwidthWeight 40

    Where in the SCVMM gui can this be set?

    Thanks in advance,
    Daniel

  4. Pingback: Der Logical Switch in System Center 2012 SP1 – Virtual Machine Manager | Server Talk

  5. Thomas,

    I just installed my Windows 2012 server with SCVMM 2012 SP1. We have simple networking requirements and I’m just using the default logical network created at install time. Unfortunately, I only had 1 NIC card out of the 4 on my server configured at that time. What would the easiest way be to go about adding 1 or more NIC’s to my logical network?

    Thanks,
    Pete

  6. You will have to create a team and add this team to the virtual switch. I would create a team with the other 3 NICs and replace the NIC with the Team on the Virtual Switch and after that, I would add the first NIC to the team as well.

  7. Thomas to Daniel’s point, how do we set the min QoS for the logical switch in SCVMM with Port Profiles?

    In your other (great) articles about building a converged network with powershell it is crystal clear as you setting the min for the switch in a powershell command then setting the QoS for each vNIC.

    The more I look at all of this networking in SCVMM the more I scratch my head as to why I would not just use standard switches and create everything at the host level which is in my opinion much easier and more flexible/granular. I only have 16 hosts in total and that total is pretty static. (8 node cluster, 2 node cluster, 2 node cluster, 4 stand alone). I wont be using network virtulization. However I dont want to paint my self into a corner and when SCVMM 2016 comes out I can migrate hosts because Standard Switches are not supported.

    I hate to say this but networking in VMware with vCenter is 1000x easier to setup. Also there is ONLY one way to do it…via the vCenter client whether the host is stand alone or being managed by vSphere. With Hyper V I almost have too many ways….Hyper V manager, Failover Cluster, SCVMM and the terminology for each is different. I guess it reflects Microsofts’s product naming schemes that constantly change for no good reason. (Windows 9 will be Windows 2014 and the next Office will be Office 9 :) )

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>