What is Hyper-V: The authoritative guide

Table of contents
Chapter 1: Understanding Hyper-V?
Chapter 2: Hyper-V basics
Chapter 3: Getting started with Hyper-V
Chapter 4: Hyper-V management
Take control of your virtual environment
Acronis Cyber Protect Cloud
for service providers
Other languages available:DeutschEspañol (Spain)Français

Whether you’re just beginning to investigate virtualization platform options for your company or a new Hyper-V user trying to get up to speed, finding all the information you need in one place can be challenging. That’s why we created this guide — to provide an all-in-one resource to bookmark and refer to as often as necessary so you can get up and running on Hyper-V more smoothly.

Chapter 1: Understanding Hyper-V?

Here’s a basic definition of Hyper-V: A Microsoft technology that allows users to create virtual computer environments and run and manage multiple operating systems on a single physical server. But to completely understand what Hyper-V is, you must first understand virtualization.

Explaining virtualization

Historically, IT departments used multiple physical servers, each with one primary function — for instance, a mail server dedicated solely to handling outgoing and incoming emails. Buying a physical server meant you also had to choose the appropriate CPU and RAM to go along with it. Organizations purchased too much or too little of these resources, meaning the server was frequently oversubscribed (underused) or undersubscribed and, therefore, less reliable than it should be. It was also costly for such organizations, especially growing companies, to continually purchase new servers, as they require a lot of energy to run and maintain. Scaling up to meet additional business requirements is an expensive proposition; housing hundreds of servers expanded a company’s footprint to such a degree that, for many organizations, it presented a challenge that was hard to surmount.

That was the case until 18 to 20 years ago when the first virtualization technologies were introduced. Virtualization technology allowed a single physical server to be “sliced and diced” into individual virtual machines (VMs), meaning only one server was available for multiple functions. So, if you have a 16 CPU physical server with 128 gigs of RAM, you could parse out those computing resources and assign them to various workloads.

Virtualization technology made it possible to scale without the huge footprint required by multiple physical servers. Workloads could be balanced more intelligently because virtualization made reallocating resources between virtual machines easy.

It’s worth mentioning that the term virtualization is often confused with cloud computing, but they’re two different concepts. Both have to do with shared computing resources, which may be where some confusion occurs. That said, virtualization refers to manipulating a server so it can be shared by multiple operating systems. Cloud computing, on the other hand, is the sharing of computing resources delivered as a service via the Internet. Essentially, virtualization makes cloud computing possible. Enterprises often use both tactics to gain benefits in terms of cost, resource usage, and scaling. Review this article for more information about the differences between virtualization and cloud computing and how to determine which one is right for your business.

Today, virtualization is a fairly standard mode of operation; more than 75% of organizations currently utilize server virtualization. And that brings us back to the technology that enables virtualization: the hypervisor and, more specifically, Hyper-V.

What is Hyper-V used for?

Virtualization technologies, or platforms, are more commonly referred to as hypervisors. There are several different hypervisors on the market — Hyper-V is Microsoft’s version; some others that are well-known are VMWare’s ESXi and VSphere, XenServer (Citrix), KVM Open Source Hypervisor and RHEV (Red Hat Enterprise Virtualization). The lion’s share of the virtualization market is currently divided between VSphere and Hyper-V.

Acronis
Different hypervisors on the market

What is Hyper-V used for? Like all hypervisors, Hyper-V gives you a way to create and manage virtual machines to help you:

• Develop and test applications, operating systems and upgrades. The ease of creating VMs in Hyper-V and the fact that the VMs can remain separate from the rest of your system makes them the perfect environment for testing. You can also create a virtual lab to experiment with different operating systems and see how your application performs on each without using more than one computer. When you’re done experimenting, you can delete the VM.

• Easily scale your IT infrastructure to accommodate larger workloads. Virtual machines are easier to manage than physical hardware and don’t come with a hefty acquisition cost. You can also maximize your server use by allocating resources more intelligently than with physical hardware alone.

• Save or migrate data from a legacy system. Many companies maintain servers supporting outdated hardware or software solutions to preserve data. Migrating your business applications and their contents to a virtual machine frees up resources.

• Improve business continuity. The virtual machines you create can reduce server downtime because running workloads can be easily backed up and moved to another server without interruption. They can also be configured to restart VMs affected by server failures automatically.

Once you’ve created your virtual machines, you’ll also need to manage them. Hyper-V’s suite of management tools makes it possible to:

• Create and delete virtual machines.

• Monitor uptime, bandwidth utilization, CPU and RAM consumption.

• Perform backups.

• Allocate resources.

Having the right management tool is key to your success with virtualization. For more on Hyper-V’s management capabilities, see Chapter 3.

Benefits of Hyper-V

One of the primary reasons organizations turn to Hyper-V is because it’s cost-effective. The basic Hyper-V tools are free with an enterprise agreement (EA, a volume licensing package Microsoft offers for organizations with 500 or more computers). You will have to pay for more advanced Hyper-V functions and licensing, but even so, Hyper-V still has an edge over its competitors when it comes to price.

Hyper-V is even more attractive when you consider its similarities with its biggest competitor, VMWare. Because Hyper-V is a solid, cost-effective option, many businesses have been increasingly adopting it, which, in turn, has contributed to an increase in Hyper-V’s overall market share in recent years.

Other benefits of Hyper-V:

• The capability to create a virtual switch comes at no extra cost. A virtual switch allows all your VMs to communicate with each other, making it an integral part of virtual networking. Virtual switches are "intelligent," meaning they inspect data packets before routing communication. Configuring traffic in this way improves security within your virtual environment.

• Hyper-V supports multiple operating systems. Since Microsoft supports multiple Hyper-V operating systems, including Linux, you are not limited exclusively to its native OS. Be sure to reference best practices and support documentation to properly integrate other systems to avoid issues.

• It simplifies live migrations. This Hyper-V feature allows you to move running VMs from one Hyper-V host to another without downtime. Live migrations are simple and promote the continuous operation of your network.

• It integrates seamlessly with other Microsoft products. If your department has been using Microsoft products already, adopting Microsoft technology for your hypervisor makes sense, especially since it allows hosting unlimited Windows Server 2016 virtual machines.

Typically, you would want to choose just one hypervisor for simplicity’s sake — why manage multiple systems? But there are, sometimes, valid reasons why you would have multiple hypervisors in a virtual environment. This decision could depend on your workload; for example, if you use Microsoft Exchange Server for mail, Microsoft highly recommends running it — and all its other products — on Hyper-V.

It’s clear why most organizations are taking advantage of virtualization technology and choosing Hyper-V: It’s cost-effective, supports multiple operating systems, and has all the basic functionality you need. Now that we’ve covered the fundamentals surrounding “What is Hyper-V?” let’s go deeper. Chapter 2 covers some specific Hyper-V terminology, explains the available versions of Hyper-V, and how to start creating your VMs.

Chapter 2: Hyper-V basics

This chapter looks closely at Hyper-V terminology, operational requirements and available versions. Let’s start by looking at the terminology associated with Hyper-V, the minimum requirements needed to run it, and the available versions.

Hyper-V terminology

Before taking a deeper dive into Hyper-V, let’s become familiar with the basic virtualization terms, including Microsoft-specific definitions applicable to virtual machines:

• Host machine — the physical computer that provides the resources, including processing power, memory and disc usage for your virtual machines.

• Hyper-V virtual hard disk (VHDX) — Microsoft’s virtual hard disk format. It is the next generation VHD (see virtual hard disk below). VHDX files have a 64 TB capacity. The advantages of VHDX aren’t limited to improved capacity; however, VHDX files were designed to work with today’s modern hardware and have a 4 KB logical sector size that improves performance compared with VHD files.

• Guest virtual machine — a virtual operating system and application software that runs on a host machine, using the resources of a host machine.

• Virtual network — technology that connects the VMs and host machines and enables control over these computers and servers via the Internet.

• Virtual hard disk (VHD) — a file format representing a virtual hard disk drive. Rather than VMs accessing physical hard disks, Hyper-V creates large files called containers, which are presented to virtual machines as regular disks.

• Virtual switch—a software application that allows VMs to communicate with one another. Virtual switches are "intelligent," meaning they inspect data packets before routing communication.

• Virtual machine monitor—a tool that monitors your virtual resources and executes specified tasks on the virtual machines for which it is responsible. Often, this term is used interchangeably with the term hypervisor.

• Checkpoint —a checkpoint preserves the state of a virtual hard disk and all its contents, including application files, at a specific point in time. The VM can be reverted to that checkpoint state if, for example, something goes wrong with an upgrade or newly installed software. However, a checkpoint is not considered a backup because there is no duplication of data (which is the definition of a backup). You can read more about Hyper-V checkpoints and snapshots here.

• VM template—a master copy of a virtual machine with a generic stance that can be used to create a new VM with the same characteristics. Cloning VMs is a common task, but having a library of templates makes creating new VMs faster and easier.

• Live migration—as mentioned in Chapter 1, live migration is a Hyper-V feature that allows you to move running VMs from one Hyper-V host to another without interrupting service. It’s useful for applying patches (which Microsoft releases once a month); it’s also handy in cases where a VM’s resources are in high demand (like when an application is being heavily used), and you want to ensure continuous availability by moving the VM to a host with more available resources.

Hyper-V hardware Requirements

Hyper-V has some specific hardware requirements. Most modern hardware (built in the last 10 years) will meet these requirements, but it’s best to check that your system has what it needs to run Hyper-V:

• A 64-bit processor with second-level address translation (SLAT). SLAT is a technology Hyper-V uses whenever it is asked to retrieve data or instructions; it essentially translates a virtual address to a corresponding physical address, which saves memory and reduces CPU time. Here’s some information on how to check whether your Intel or AMD processor supports SLAT.

• VM Monitor Mode Extensions. The article above will also help determine if your PC supports this.

• At least 4 GB of RAM; more is better.

• Virtualization support turned on in the BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface). Here’s another article that can help you figure out if your CPU supports virtualization.

Your system will need to meet some additional requirements if you plan to use some of the more advanced features of Hyper-V. Take a look here for more information.

Your system must meet additional requirements if you plan to use some of the more advanced features of Hyper-V. 

Although these are the minimum hardware requirements for running Hyper-V, you may discover that they need to be fine-tuned to meet your specific application needs. Load-testing before production will simulate the end-user environment and give you the necessary metrics to determine whether you need more CPU or additional RAM for the machine to handle the load sufficiently. We always recommend adding a 20% buffer to the existing application if your application requires additional resources.

Hyper-V versions

To use Hyper-V on a regular desktop or laptop, you’ll need a Professional or Enterprise edition of Windows 8.1 or Windows 10.

There are three different Hyper-V versions available for Windows Server 2016. You can download a free version, which doesn’t include Windows Server guest licenses. There are also two editions of a full Windows Server 2016 Hyper-V server that include installation of the operating system and the Hyper-V role within them.

Windows Server 2016 has two options you can choose from: Standard and Datacenter. Standard allows you to have up to two Windows server VMs running simultaneously, and Datacenter allows you an unlimited number of VMs. The Datacenter edition also supports a number of advanced features that are not supported in Standard, like shielded VMs.

Chapter 3: Getting started with Hyper-V

Creating a new VM

One of the most basic tasks you’ll do in Hyper-V is create virtual machines. Hyper-V’s wizard-based approach makes the step-by-step process for creating a new VM quite simple.

To do this (and lots of other tasks, such as creating checkpoints and virtual hard disks), you’ll use Hyper-V Manager. It’s a free app included with Windows Server that has some of the tools you’ll need to administer your virtual environment. That said, the capabilities of Hyper-V Manager are limited; it does the most basic VM “CRUD” functions—it can help you create, read (or retrieve), update and delete virtual machines. You’ll need other tools for more advanced management functionality.

To start the process, click “Create VM” within the Hyper-V manager. The wizard will then prompt you to:

• Decide whether you want to use an existing VM template or create a new VM.

• Name the new VM.

• Choose a storage location.

Acronis
Specifying the name and location of a new VM

• Choose the type of storage — either SSD (a flash drive that offers quick retrieval) or HDD (a traditional hard disk drive with a slower access time). This storage choice is application-specific because some applications, like those that store archival data, don’t benefit from fast storage.

• Configure the size requirements. You’ll need to adjust the CPU and RAM for your new virtual machine. Again, these resource allocations should be based on the requirements for the OS and any additional applications you plan to run, with approximately a 20% buffer for elasticity. You should also consider the size of a typical workload and whether you’ll be running an antivirus program, which will use additional resources depending on the antivirus program of your choice.

Acronis
Assigning memory to a new VM

That’s it — you’re done.

Acronis
Virtual machines

When building your new VM, it’s important to understand your workload and the density you need to support so you don’t overbuy. In the past, it was common to simply buy a lot of storage for Hyper-V and estimate future computing needs. The problem with that approach was that organizations began to build too many VMs on the same storage technology because they had plenty of purchased room. However, having too many VMs accessing the same storage technology slows down the entire system, so this approach isn’t advisable.

Today, the trend is to scale out linearly. The only way to do that with Hyper-V is by using technologies like Microsoft’s Storage Spaces Direct (S2D), hyper-converged.

Chapter 4: Hyper-V management

Virtual machines are easy enough to create; the real issue lies in managing them. Many VMs (and their accompanying host servers) can be overwhelming to manage. To keep them all running smoothly, you need a management tool that will give you clear visibility into all aspects of your server environment. So, when it comes to both management tools and policies, it’s wise to have a solid plan in place before you go too far down the virtualization path.

The elements that need to be managed in relation to virtual machine environments are as follows:

• Storage Management involves finding, managing and allocating space between your applications to maximize resource availability.

• Patching requires regular updates to your virtual environment with patches to keep your VMs secure from attackers, viruses and bugs.

• VM Backups are crucial yet challenging for system reliability, as they must manage multiple apps packed into a single physical host. Whether you’re backing up to the Microsoft Azure cloud (or some other cloud platform) or doing an on-premise backup, you need a tool that simplifies the task as much as possible.

• Availability and performance. Monitoring for uptime is important, but that’s not the only aspect of managing your virtual machines. Pay attention to the critical statistics around bandwidth, CPU and RAM consumption, as well as performance application.

Hyper-V management tools

While Microsoft’s Hyper-V is a very popular and capable hypervisor, its primary management suite isn’t as intuitive as it may appear at first glance. Included are five management tools used for performing various Hyper-V management tasks.

Hyper-V Manager is a free Windows Server tool. It performs the most basic VM CRUD functions — create, read (or retrieve), update and delete virtual machines. But it comes with significant limitations. You can’t move VMs between hosts using Hyper-V Manager and you can only view one host at a time. These limitations allow you to carry out only the most basic functions, with a few metrics available for measuring performance success. You’ll need to download and install additional tools to get more advanced management functionality.

Acronis
Hyper-V Manager

Failover Cluster Manager is also free with Windows Server and is used to build and manage Hyper-V failover clusters. Failover clustering is when you configure a group of servers to work together to maintain a high availability of mission-critical applications. Maintaining high availability means the servers within the cluster are constantly being monitored; if one of the servers fails, another one takes over without interruption. But you'll have to use Hyper-V Manager to manage machines that are not part of a cluster.

Acronis
Failover Cluster Manager

SCVMM (System Center Virtual Machine Manager) is not included with Windows Server and must be purchased separately. It can manage Hyper-V hosts and failover clusters in larger virtual environments than Hyper-V Manager, allowing you to perform multiple management tasks in a single tool. The SCVMM console has a more user-friendly interface with built-in custom templates and an analytics dashboard. It also includes a “library” feature — a catalog of resources to create and configure new virtual machines easily. SCVMM is a step up from the free Hyper-V Manager and the Failover Cluster Manager discussed above. However, it still lacks some advanced functionality included in the basic Hyper-V Manager tool.

Acronis
System Center Virtual Machine Manager (SCVMM)

SCOM (System Center Operations Manager), when used along with SCVMM, helps you to monitor your virtual environment. There are two ways you can monitor with SCOM:

1) Put operations manager agents on your virtual machines, which will allow you to collect and report on a variety of data for a constant "heartbeat". The statistics you get can be used to track the performance and health of your applications.

2) You can employ agentless monitoring, which entails gathering the same data by using a proxy agent installed on another computer and leveraging standard protocols like SNMP (Simple Network Management Protocol). Whatever solution you choose, you need a tool that can help you monitor your VMs in real-time so you can address bottlenecks when they arise.

Remember—monitoring isn’t just about uptime and downtime; it’s also about latency, transactional health, and even component health within the application.

PowerShell is a tool that gives users access to various services in an operating system. Windows PowerShell is often used to automate routine and complex tasks that need to be applied across many VMs—for example, shutting down all the VMs on a certain host. You can accomplish most of the tasks with Hyper-V Manager using PowerShell. The appeal of PowerShell is that it has greater flexibility for managing your Hyper-V hosts and utilizes fewer computing resources to perform a task.

If you are frustrated by the limitations of the most common Hyper-V Management tools, you are not alone! Most IT admins juggle multiple applications to perform essential machine management, backup, security and monitoring functions. You’ll need to move between tools and consoles frequently and fast. This can be particularly vexing for first-time users because navigation across these tools isn’t always intuitive and usually takes a considerable learning curve.

Due to the limitations of Microsoft’s native management tools, Hyper-V users often look to third-party solutions for help. Acronis Cloud Manager was developed in collaboration with Microsoft and is one of the world’s leading Hyper-V administrative tools.

Acronis
Acronis Cloud Manager

Hyper-V performance tuning

Today’s IT admins look to get the maximum value out of their server hardware without jeopardizing VM performance. And, of course, everyone’s always looking to increase Hyper-V speed.

To help you get the most from your server hardware in a Hyper-V environment, evaluate how well your VM resources match the needs of your specific application. The biggest part of performance tuning is application-specific, so it’s important to gather and analyze the appropriate metrics and adjust them as needed. SCOM can monitor virtualization hosts and generate alerts to prevent excessive CPU, storage, or memory utilization on a Hyper-V host. You must install Performance and Resource Optimization (PRO)-enabled management packs on the Operations Manager server and an Operations Manager agent for each virtualization host and VM. The Operations Manager then collects data about the virtual environment for about a week or two and later generates PRO tips to help you optimize performance. You may get a recommendation to migrate a VM off of a host or update certain configurations.

Take control of your virtual environment

If, after reading this article, you’re still unsure about the answer to the question: “Do I need Hyper-V?” then contact Acronis. We’ll be happy to discuss your current virtualization strategy and whether the tools you’re using now will help you achieve your goals.

If you’re already looking for a more efficient Hyper-V management toolset, Acronis Cloud Manager is for you. It centralizes host and VM visibility across resources, providing a simple way to manage large virtual environments. It also allows you to:

• Perform frequently-used lifecycle operations faster and easier. You can clone virtual machines up to 20 minutes faster and configure settings across multiple hosts five times faster than native tools.

• Eliminate bottlenecks and application slowdown while increasing cluster performance by as much as 40% with dynamic optimization for clusters.

• Create full and incremental backups, restore VMs and manage backup retention policies from a single, centralized console…. and much more.

About Acronis

A Swiss company founded in Singapore in 2003, Acronis has 15 offices worldwide and employees in 50+ countries. Acronis Cyber Protect Cloud is available in 26 languages in 150 countries and is used by over 21,000 service providers to protect over 750,000 businesses.