Beruflich Dokumente
Kultur Dokumente
Overview
28 Aug by Eric Siron 3 HyperV Articles
Newcomers to virtualization are often confused by the differences in this terminology. Hyper‐V R2 does not have a native
fault tolerance feature. You can use LiveMigration to move virtual machines from one host to another without
perceptible downtime. However, if a host suffers a serious failure of some kind, such as a blue screen, its virtual machines
will immediately stop. The Failover Cluster service will automatically transfer them to another host in the cluster and it will
automatically start them up, but they will suffer downtime. This is still considered “high availability” because those
machines are only down for the amount of time it takes the Failover Cluster service to consider them to be down and
begin spinning them up in their new locations. Contrast this scenario to the traditional non‐virtualized model in which
the machine’s operating system and applications are offline until repairs can be made.
The Computers: The best practice for a cluster is to use identical computers, but it’s not a
requirement. It is possible to use mixed hardware within your HyperV cluster. The further away
the various components get from being the same, the more likely you are to encounter
problems. Most importantly, HyperV cannot LiveMigrate between CPUs from different
manufacturers, so creating a cluster that combines Intel and AMD chips is pretty much a waste
of time for anything other than pure failover purposes — even then, there’s no guarantee that
your virtual machines will play well with the mixed environment. Whatever hardware you use, its
CPU must support native virtualization (VT on Intel and AMDV on AMD) and that support must
be enabled in the BIOS. It must have its hardware Data Execution Prevention enabled in the
BIOS (XD on Intel, NX on AMD). If you’re going to use RemoteFX, your CPU will need to
support secondlevel address translation (SLAT) and your computers will need graphics
processors that can run DirectX 9 and 10. Those GPUs must also have enough dedicated
memory for all of the virtual machines that will be running on them. For optimal operations,
each computer will need at least four network cards. Add a minimum of one more if you’ll be
connecting to your storage devices by iSCSI.
The Storage Device(s): A central requirement of failover clustering is shared storage. This was
covered indepth in an earlier article, but the shortform is that you’ll need some storage that all
the computers in your cluster can see at once. Depending on your workload and budget, this
can be a computer with Windows Server and iSCSI target software installed, a lowcost NAS
device, or a powerful SAN. The device you choose must support iSCSI3 persistent
reservations. Fibrechannel SANs almost always meet the requirement.
The Network Equipment: You have to connect all that hardware, and the best way is through
a switch. If you’re just going to be using an iSCSI system, a layer2 managed switch with
sufficient gigabit ports to handle all the network cards of your hardware. It is considered a best
practice to completely segregate your iSCSI traffic by placing it on its own physical switches
that are not connected to any others. However, this is often an impractical solution especially
when there are budgetary constraints. If you can’t physically separate your iSCSI network,
ensure that you are at least setting up a separate VLAN for it. Fibrechannel installations will
have their own requirements, but it is usually preferable to use fibrechannel switches rather
than to directly connect the hosts to the storage devices.
Software
Once you’ve got the hardware out of the way, the next consideration is software. First, decide on the host operating
system/parent partition, since that’s what gets installed first. In all cases, my recommendation is to directly install the free
Hyper‐V. It is a bit intimidating to work without a GUI at first, but there of guides to getting it going and keeping it
functional and it eliminates any concern about ever needing to license the base installation. If you do choose to install a
licensed copy of Windows directly to the hardware, you must use Enterprise or Datacenter Edition. Standard Edition does
not contain the Failover Clustering feature. Also, don’t use Server Core. The one and only reason to use Server Core over
native Hyper‐V would be to gain access to other roles that native Hyper‐V doesn’t support, and that is not a good idea. A
physical host for virtual machines should not be given any other responsibility. It forces Hyper‐V to share the risks
associated with those other roles, and any risk to Hyper‐V is a risk to all of its virtual machines. Also, Server Core does not
support the usage of RemoteFX whereas native Hyper‐V does.
After you’ve decided what to install, the next thing to consider is licensing. We’ve written afairly detailed explanation of
how that works for the parent partition and guest operating systems. You’ll also want to think about application software.
The presence of a Hyper‐V cluster can change the way you think about these things. For instance, you could purchase
per‐core ﴾formerly per‐CPU﴿ licenses for Microsoft SQL Server. Unless you intend to only run your SQL instances in a
single virtual machine or unless you’re willing to give up LiveMigration and only allow your SQL servers to move by
failover ﴾i.e., a host crash﴿, you’ll need to ensure that you’ve licensed for all possible places that your virtualized SQL
servers can ever be running. To be certain, it’s always best to contact a Microsoft licensing expert and discuss your
particular case. Many software dealers will offer this consult at no charge.
Next Time…
In the next segment of this series, we’ll investigate designing a Hyper‐V Cluster and how toinstall a Hyper‐V Cluster
Backing up Hyper-V
If you’d like to make backing up your Hyper‐V VMs easy, fast and reliable, check out Altaro Hyper‐V Backup v4. It’s free
for up to 2 VMs and supports Hyper-V Server 2012 R2! Need more? Download a 30‐day trial of our Unlimited Edition
here: http://www.altaro.com/hyper‐v‐backup/.