Beruflich Dokumente
Kultur Dokumente
Requirements
In this article we will explain the basic Hyper-V host networking requirements. This isnt
necessarily a post on How many NICs do I need in a Hyper-V host?". Instead, this article
will discuss what communications are performed by Hyper-V and identifying the need for
isolating those protocols or functions to have a stable cloud. Understanding these needs is a
critical step in designing Hyper-V hosts, particularly those that will take advantage of new
features in Windows Server 2012 (WS2012) or Windows Server 2012 R2 (WS2012R2).
Are you able to identify precisely which processes are sucking up resources and slowing
down your servers? Can you do this equally well over VM guests that VMotion?
Start monitoring VMs in minutes! Download 30-day trial here
In essence, there were two designs with minor variations depending on the answers to those
questions. Those two designs are standalone (or non-clustered) hosts or clustered hosts.
Windows Azure Trial: Explore Developing a Modern App Using Cloud Services
How many NICs is that? Two: one for management and one for virtual machines. Veterans of
Hyper-V will know that there is a slightly different variation to this. In the properties of a
virtual network (before WS2012) or virtual switch you can enable a setting called Allow
Management Operating System To Share The Network Adapter.
Allow the management OS to connect to the network via the virtual switch.
This modifies the basic design by creating a virtual NIC in the Management OS. That takes a
few moments to comprehend remember that the Management OS sits on top of Hyper-V.
This new virtual NIC appears in Control Panel > Network Connections just like a physical
NIC would. But instead of being connected to a physical switch, this new Management OS
vNIC connects to your virtual network or virtual switch. That means that the management OS
can connect to the physical network via the virtual switch just like a virtual machine. It also
means that you no longer need a dedicated NIC for the Management OS.
A backup or restore job via the Management OS network would prevent virtual
machines from being able to use the network.
A rogue virtual machine could flood the network and you would have to physically
visit the host to take remedial action.
SMB 3.0 Storage: Non-clustered hosts can store virtual machines on common SMB
3.0 shares. This allows for the introduction of highly available storage (instead of
DAS) for easier recovery from non-clustered host failure. It also introduces the
possibility of Live Migration. Note that SMB Multichannel can use multiple NICs.
As you can see, the number of NICs that you might deploy to implement these networks
keeps growing and adding costs to the project. Wait till you see what clustering has for us!
Clustering has a need for quality guaranteed networking to ensure clustering stability.
Without QoS in Windows Server, each network requires its own NIC. And you are going to
have to double those NICs if you want to have network path fault tolerance.
The following networks are required in a clustered host. Note: Please ignore materials on
non-Hyper-V clustering where fewer networks are required:
Storage: Usually two adapters will be used to connect the hosts to either SMB 3.0 or
SAN storage. These adapters could be SAS controllers, and thus outside the scope of
this networking discussion. However they could be iSCSI NICs (use MPIO, not NIC
teaming) or they could be for SMB 3.0 (do not use NIC teaming if implementing
RDMA/SMB Direct).
Backup: Once again, we will add a backup network to isolate backup/restore traffic
from the management network.
Without the storage network and NIC teaming, that gives us a total of 5 NICs. Adding NIC
teaming and we have 10 NICs. If we include iSCSI or SMB 3.0 storage, we now have 12
NICs. That is a lot of NICs, cables, switch ports, electricity, complexity, expense,
management, and critically, more stuff that can break.
Remember, in the below diagram:
The use of iSCSI (shown) or NICs for SMB 3.0 (not shown) are dependent on the
type of storage you require