Windows 2012 : Hyper-V Network design scenarios and setup – Part 1

I am starting a series of blogs to talk about Network in Windows 2012 Hyper-V

I will be covering the following scenarios, but of course there are many more possibilities :

  • Scenario 1 :  4 (or more) 10GB Nic’s + 2 ISCSI/FC connectivity
  • Scenario 2 : 2 (or more) 10GB Nic’s (converged network)
  • Scenario 3 : 6 (or more) Nic’s 1GB Nic’s

Let’s start with scenario 1. We will create 2 teams : one for management/csv/live migration (MGMT-LM-CSV-TEAM) and other for vm external traffic (VM-TEAM).

1. First of all,  I recommend you to rename the physical nic’s. We will create the teams as per bellow:

a) 2 nic’s, teamed to be used for management + csv + live migration utilisation= MGMT-LM-CSV-TEAM

b) 2 (or more) nic’s teamed to be used for VM traffic only ( external traffic ) = VM-TEAM

c) 2 ISCSI or Fiber Channel connectivity. You will need to install the MPIO feature ( DO NOT TEAM)

As for the team VM-TEAM we can use the GUI to create the virtual switch:

  • Click on Server Manager, then click on Local Server
  • Click on Nic Teaming. Click on Task and then click on NEW TEAM

nicteam1

 

 

Select the NIC’s that will be part of the team. Make sure you select NIC’s from different Physical interfaces. Done

But for the MGMT-LM-CSV-TEAM, we need to use the Powershell as the GUI does not allow us to create multiples Virtual Switches for the same team and then we will also, configure the QoS.

powershellvsw

Here is the PowerShell command

# Create Hyper-V Virtual Switch connected to VM-TEAM

New-VMSwitch -Name “External” -NetAdapterName “VM-TEAM” -AllowManagementOS $false

# Create Hyper-V Virtual Switch connected to MGMT-LM-CSV-TEAM

New-VMSwitch -Name “MGMT-LM-CSV-SWITCH” -NetAdapterName “MGMT-LM-CSV-TEAM” -AllowManagementOS 0 -MinimumBandwidthMode  Weight

# Set the default QoS policy; Switch is used for VMs only

Set-VMSwitch “MGMT-LM-CSV-SWITCH” -DefaultFlowMinimumBandwidthWeight 100

Add-VMNetworkAdapter -ManagementOS -Name Management –SwitchName MGMT-LM-CSV-SWITCH

Add-VMNetworkAdapter -ManagementOS -Name LM -SwitchName MGMT-LM-CSV-SWITCH

Add-VMNetworkAdapter -ManagementOS -Name CSV -SwitchName MGMT-LM-CSV-SWITCH

Set-VMNetworkAdapter -ManagementOS -Name LM -MinimumBandwidthWeight 40

Set-VMNetworkAdapter -ManagementOS -Name CSV -MinimumBandwidthWeight 5

Set-VMNetworkAdapter –ManagementOS –Name Management –MinimumBandwidthWeight 5

 

Now let’s have a look back on the GUI  (NIC Team):

nicteam1

And let’s have a look in the Hyper-V Manager Console, on the properties of the Virtual Switch’s:

Management, Live Migration and CSV switch: MGMT-LM-CSV-SWITCH.

Note that you won’t be able to change any setting using the GU

I as we created 3 virtual network adapters (mgmt,lm,csv).

mgmtvs

VM external traffic switch: External

externalvs

 

to be continue….

About Alessandro Cardoso
Virtualization and Management passionate. Infrastructure products and solutions knowledge with management and hands on experience; Project Leader, with deep knowledge and expertise in a variety of Microsoft Infrastructure technologies in areas such as Virtualization and Management with product skill sets ranging from, Hyper-V, System Center, Windows Server, SQL Server, Active Directory, Exchange, SharePoint, IIS and Forefront; Plus knowledge in Quest Migration Manager, Linux Infrastructure, Networking, Security Solutions (such as VPN, Firewall) and VMware in complex and large scenarios; Strong knowledge of industry-related datacenter processes, strategies, industry regulations and requirements. Selected as Microsoft Brazil IT Hero, in 2007 and Microsoft IT Heroes Happen in Los Angeles, in 2008. selected as Bussiness Case, further virtualization project for a Governmental Institution. I am also a well known speaker in IT events (e.g. Microsoft TechEd 2007, 2008, 2010 and 2011). MVP since 2009, in Virtual Machine. I have experience developing, planning, organizing, and leading complex initiatives as well business case development skills, acquired in 23 years of experience in IT, working in segments spanning from Government, Health, Education and IT. Well-known speaker in IT events like TechEd, Sage-AU, CNASI. Proven Multitasking skills, presentation skills and analytical skills and problem determination ability; Belief in providing the highest quality of service; Good listener and communicator; Know how to prioritize the work and perform under pressure. Continuously seeking innovative ways to improve productivity and a resourceful problem-solver with focus on customers. Microsoft Most Valuable Professional : Virtual Machine Certifications : Australia Computer Society Certified Professional, MCITP: Enterprise, MCSE: Security, MCSA, MCT, MCTS:SQL, MCTS:SharePoint, MCTS:Vista, Linux Conectiva Professional, Modulo Certified Security Officer Blogs : http://virtualizationandmanagement.wordpress.com http://virtualizacaoegerenciamento.wordpress.com

7 Responses to Windows 2012 : Hyper-V Network design scenarios and setup – Part 1

  1. Pingback: Windows 2012 : Hyper-V Network design scenarios and setup – Part 1 | Virtualizacao e Gerenciamento

  2. Pingback: Microsoft Most Valuable Professional (MVP) – Best Posts of the Week around Windows Server, Exchange, SystemCenter and more – #28 - TechCenter - Blog - TechCenter – Dell Community

  3. Pingback: Microsoft Most Valuable Professional (MVP) – Best Posts of the Week around Windows Server, Exchange, SystemCenter and more – #28 - Dell TechCenter - TechCenter - Dell Community

  4. Pingback: Microsoft Most Valuable Professional (MVP) – Best Posts of the Week around Windows Server, Exchange, SystemCenter and more – #28 | ServerGround.net

  5. Pingback: Server King » Dell’s Digest for May 13, 2013

  6. JamieT says:

    What would you recommend for a hyper-v host that has 2 10GB nics and 4 1GB nics. planning to setup in a Cluster failover. Storage is provided by NetApp SAN. Thanks

    • Hi Jamie
      I would recommend the following:
      2x 10GB for Storage (MPIO)
      4x 1GB (NIC Team) and then Virtual Network with QoS

Leave a Reply

Fill in your details below or click an icon to log in:

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

Follow

Get every new post delivered to your Inbox.

Join 1,015 other followers

%d bloggers like this: