olly - Fotolia

Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Five problems to watch for when running Linux VMs on Hyper-V

Windows Server 2012 R2 includes enhanced support for Linux VMs, but some problems remain.

Microsoft has clearly made an effort to enhance support for Linux virtual machines running under Hyper-V in the latest version of its Windows Server operating system. While it has always been possible to run Linux as the guest operating system on a Hyper-V VM, those VMs often faced limitations and lacked support for some features. Windows Server 2012 R2 added several new enhancements for Linux VMs that remove some of the limitations, including support for Hyper-V Dynamic Memory and live backup. However, feature support across different Linux distributions varies and some potential problems remain. Administrators should carefully evaluate whether it's a good idea to run Linux VMs on Hyper-V and -- if so -- prepare for these limitations. Here are five quick links that can help you understand the complications and how to address them.

Problems to expect when running RHEL 6.5 -- While Windows Server 2012 and 2012 R2 supports Red Hat Enterprise Linux, there are several caveats you should be aware of if your Linux VMs use RHEL 6.5 -- including the possibility that some features may be disabled by default.

Can't secure boot or use UEFI with a SUSE VM -- Generation 2 VMs support the Unified Extensible Firmware Interface (UEFI) rather than traditional legacy BIOS. However, some versions of SUSE Linux do not support UEFI firmware or secure boot functionality for Generation 2 VMs.

Requirements and potential "gotchas" with live backup -- Windows Server's live backup feature allows you to create a backup copy of a VM while it is running, but your system must first meet several requirements. Find out what you need and what could go wrong if you're running Oracle Linux VMs.

How NUMA architecture can cause problems -- Non-uniform memory access, or NUMA, is a computer design approach that segregates memory and can improve performance. However, there are known issues with the 2.6.x Linux kernels that could cause you problems.

Hyper-V bug that affects Linux VM networking -- New Hyper-V improvements smooth many of the troubles with using Linux VMs, including networking and backup features. However, there is a known Hyper-V bug that can cause a Linux VM to use a random value for the network name, which might lead to a loss of network connectivity. Learn what you can do to avoid the problem.

Next Steps

Microsoft Hyper-V administration guide

Windows Server 2012 R2 updates focus and cloud and security

Running windows as a VM on Linux with VMware Server

This was last published in March 2015

Dig Deeper on Microsoft Hyper-V management

PRO+

Content

Find more PRO+ content and other member only offers, here.

Join the conversation

3 comments

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Is it a good idea to run Linux VMs on Hyper-V?
Cancel
I have worked on just such a project, designing a solution which happened to deliver the first Linux VM tenants on a Hyper-v host landscape.  Many colleagues have given me funny looks when discussing this, but we viewed it as simply a commodity x64 landscape upon which a choice of OSes can be run.  We are dealing with one or two challenges around things like the implications of Hyper-v replicas, but these are more related to how the business application software (running on the VM) works than the OS.  It is worth thinking about software distribution, monitoring etc.  For us, SCCM didn't provide the required features for Linux image distribution.  We are using SCOM to monitor Linux though, because while the deployment of Microsoft agents to Linux boxes invites more funny looks, they are open source agents, and this ensures that the entire virtual x64 landscape is visible in a single pane of glass for monitoring purposes.


Cancel
Not really. Support has been lacking for most popular *nix OS' until recently. I would not look to MS as a base platform for running linux.
Cancel

-ADS BY GOOGLE

SearchVMware

SearchWindowsServer

SearchCloudComputing

SearchVirtualDesktop

SearchDataCenter

Close