Virtualization has become foundational for enterprise IT environments across sectors, and is now perhaps something we take for granted. Yet, none of it would be possible without hypervisors. But what is a hypervisor, how does it work, and what does “bare-metal” mean?
In this article, find out what hypervisors are, what role they play in virtualization, how to choose one for your business IT infrastructure, and how strategic support can help you get the most out of your virtualized environment.
What is a hypervisor?
A hypervisor is a software layer that enables server virtualization by creating and running Virtual Machines (VMs).
Also known as virtual machine monitors (VMMs), hypervisors pool the resources of the physical hardware, including CPU, memory, storage and network capacity, and dynamically allocates them to each VM based on its requirements. This allows multiple VMs to run independently, side by side, on a single physical server.
How does a hypervisor work?
In this section, we’ll break down the core elements of a hypervisor and how it functions.
Hosts and guests
A hypervisor sits on server hardware, known as the host. Each virtual machine it creates is known as a guest. Each guest runs its own operating system (OS) and applications and behaves as if it had a dedicated physical server, unaware that it is sharing hardware with other VMs.
CPU
The hypervisor shares the host’s physical processor cores between VMs. Each VM is assigned virtual CPUs (vCPUs), and the hypervisor schedules when each one runs on a physical core. Hardware virtualization extensions let guest code run directly on the processor, so performance is close to native.
Memory
The hypervisor allocates a portion of the host’s RAM to each VM. Each VM behaves as if that memory were its own, while the hypervisor manages how it maps to the physical memory underneath. Techniques such as memory ballooning, page sharing and compression let the hypervisor reclaim and redistribute memory between VMs as demand changes.
Storage
Each VM sees one or more virtual disks, which the hypervisor presents and maps to physical storage. This is normally a file or volume on local disks, a SAN or NAS, or software-defined storage. Because the virtual disk is separated from the underlying hardware, VMs can be moved, cloned and backed up easily.
Networking
The hypervisor provides virtual network adapters and virtual switches. This connects VMs to each other and to the physical network while keeping traffic between them isolated where necessary.
Isolation
Crucially, the hypervisor keeps VMs separate. A crash, misconfiguration or security compromise in one guest should not affect the others, which is what makes it safe to run multiple workloads on shared hardware.
All this means that each physical server can do far more than it could on its own. Instead of dedicating one server to one workload, which often leaves most of its capacity idle, businesses can consolidate many workloads onto fewer machines, while improving the availability of their systems.
Type 1 vs Type 2 hypervisors
Type 1 hypervisors are known as bare-metal hypervisors because they run directly on the server hardware, where an Operating System (OS) would normally sit. This direct contact gives them tighter control over resources, as well as lower latency. It also improves security because they are not exposed to attack through a host operating system. Each VM then runs its own guest OS on top of the hypervisor, so businesses can run different operating systems side by side on the same server.
Meanwhile, type 2, or hosted, hypervisors run as an application on top of the OS. Every request for hardware resources has to pass through that OS, slowing down performance. They also inherit the host OS’s vulnerabilities, and if the host OS crashes or is compromised, every VM running on it is affected. This makes them more vulnerable to risk than bare-metal. However, they are generally easier to install and more user-friendly than their type 1 counterparts, which makes them valuable in certain situations.
This table breaks down the key differences:
| Factor | Type 1 hypervisor (bare-metal) | Type 2 hypervisor (hosted) |
|---|---|---|
| Where it runs | Directly on the hardware | On top of the host OS |
| Performance | Faster with lower latency | Slower with higher latency |
| Security | Smaller attack surface | Exposed to host OS vulnerabilities |
| Examples | VMware ESXi, Linux KVM, Microsoft Hyper-V | VMware Fusion, VMware Workstation, Oracle Virtual Box |
| Use cases | Mission-critical enterprise applications and databases, production data centers, private cloud | End-user virtualization, developer workstations, testing and sandboxing |
Common hypervisor examples
Hypervisors range from enterprise platforms to tools for individual users. Some of the most popular examples include:
- VMware ESXi: widely deployed enterprise hypervisor, part of the VMware vSphere suite. Learn more about the VMware product range.
- Microsoft Hyper-V: built into Windows Server and integrated with the Microsoft ecosystem.
- KVM (Kernel-based Virtual Machine): open-source hypervisor built into the Linux kernel.
- Proxmox VE: open-source platform combining KVM virtualization and containers.
- Nutanix AHV: hypervisor included with Nutanix’s hyperconverged infrastructure platform.
- Oracle VirtualBox: free, open-source hypervisor popular with developers and for testing.
- VMware Workstation: desktop hypervisor for running multiple VMs on a Windows or Linux PC
While VMware is one of the leading brands in server virtualization, it is not the only option. Compare some of the top VMware alternatives to help decide which platform is best for your infrastructure.
Are your host servers reaching their End-of-Support dates?
Stay ahead of EOSL dates and keep track of your IT infrastructure’s key milestones with Evernex’s extensive, multi-vendor EOSL database.
What are the benefits of using a hypervisor?
Hypervisors help enterprises get more from their hardware, cut energy and datacenter costs, and manage infrastructure more flexibly. Key benefits cover:
Server consolidation
Running multiple virtual servers on each physical machine means fewer servers are needed. This allows businesses to streamline their infrastructure footprint and can reduce hardware maintenance costs, space requirements and power usage as a result.
Security
Hypervisors isolate VMs from one another, so a fault or compromise in one should not spread to others. Workloads with different security requirements can share hardware while remaining separate.
Flexibility
VMs can be scaled up or down quickly and easily, without the planning and capital investment that physical scaling requires. New environments can be deployed in minutes rather than weeks without affecting the hardware footprint.
Resource optimization
Instead of leaving physical servers underutilized, hypervisors pool hardware resources and allocate them to VMs in line with demand. This puts to work paid-for capacity and gets the most out of businesses’ IT investments.
Faster recovery
VMs are stored as files that can be backed up, replicated and restarted on another host. This shortens recovery times after a hardware failure or outage compared with rebuilding a physical server. Find out more about data center disaster recovery strategies.
Hypervisor vs virtual machine vs container: a breakdown
While these three terms are often confused, they play different roles in virtualization. A hypervisor creates and manages VMs, while containers are a lighter-weight alternative that doesn’t need a hypervisor for each workload.
| Hypervisor | Virtual machine (VM) | Container | |
|---|---|---|---|
| What it is | Software that creates and runs VMs | A software-based, virtualized computer | A packaged application and its dependencies |
| What it does | Shares physical resources between VMs and keeps them isolated | Runs its own OS and applications as if on a dedicated server | Runs an application in an isolated environment |
| Where it runs | On server hardware (Type 1) or a host OS (Type 2) | On top of a hypervisor | On top of a host OS, using a container engine |
| Operating system | None of its own | Each VM has its own full guest OS | Shares the host OS kernel |
| Isolation | Enforces isolation between VMs | Strong, as each VM has its own OS | Lighter, as containers share a kernel |
How to choose a hypervisor for your business
The right hypervisor for your enterprise IT environment depends on your existing infrastructure, budget and in-house skills. Core factors to compare include:
Licensing costs
The upfront cost is just one part of the equation, and ongoing costs can add up. Licensing models vary between per-core, per-socket and subscription pricing, and can change over time, so check what you will pay at renewal.
While open-source options reduce licensing fees, they may shift cost to support and staffing, so bear these possible hidden costs in mind when budget-planning.
Hardware compatibility
Check that the hypervisor supports the rest of your IT environment, including servers, processors, storage and network equipment. Unsupported hardware can limit features or leave you outside your vendor support agreement.
If you are planning to continue using your existing hardware, check the compatibility lists published by vendors before committing.
Management tools
Consider how practical the platform is to run day to day. Look for a centralized console that manages all hosts and VMs in one place, along with automation, monitoring and reporting capabilities. Also consider whether your team already has the skills to use it or not, as this may imply training costs or, more importantly, increase the risk of human error.
Support options
Hypervisors host critical workloads, so fast, adequate assistance in case of issues is vital. Compare vendor support levels, coverage and response times.
Hypervisor hosts still need hardware support
Hypervisors run on physical server hardware. That hardware needs consistent, specialized maintenance, both to perform at its best and to avoid failure. While VMs can be migrated from one host to another in the case of a breakdown, failed or underperforming servers still drains budget and creates security risks. It can also strain the remaining hosts that take on the migrated VMs.
Here’s how to keep your hypervisor host hardware in robust condition:
| Maintenance strategy | Explanation |
|---|---|
| Monitoring | Enables rapid response and root-cause identification of issues |
| Spare parts | Fast access to replacement parts minimizes downtime after failure |
| Firmware | Keeping firmware up to date and patched prevents avoidable faults and closes security gaps |
| Third-party maintenance | For hardware and platform issues, TPM offers an alternative to vendor-only support for repairs, part replacements and patch implementations |
Multi-vendor, multi-generational support for your enterprise servers
Protect your host hardware and explore Evernex’s industry-leading Third-Party Maintenance service, providing expert, onsite support for multi-brand, distributed and complex IT infrastructures, on demand.
How Evernex can support your host hardware
As a leading third-party maintenance provider, Evernex offers a range of modular, multi-vendor hardware services to keep the physical infrastructure underneath your virtualized environments running smoothly, securely and for longer. Core services include:
- Third-party maintenance (TPM): agile, onsite break/fix support and part-replacements backed by 600+ skilled engineers worldwide.
- Spare parts as a serviceTM (SPaaS): refurbished spare parts delivered worldwide in under 72 hours from 330+ global stocking locations, minimizing downtime and reducing costs.
- Third-party VMware support: Level 3 specialist technicians keep perpetual licences running after the official vendor ends coverage. Read our article to learn how to regain control after the VMware licencing changes.
- Buy-back: When you consolidate hardware due to virtualization, Evernex buys back your unwanted assets, helping them stay in the circular market rather than ending up in landfill.
Discover how Evernex help you get the most out of your host hardware
Get in touch with an expert to discuss your options.
FAQ
What is a hypervisor in simple terms?
A hypervisor is a software layer that allows one physical server to host multiple virtual machines. It pools the server’s resources and reallocates them as demand across the VMs changes. This allows one server to get more done, performing the work of several at a time.
What is the difference between a Type 1 and a Type 2 hypervisor?
Type 1, or bare-metal, hypervisors, run directly on top of the server hardware, giving them tighter access over resources, lower latency for faster performance, and a small attack surface.
Type 2 hypervisors run on top of an operating system. Since they are more separated from the hardware, resource requests must pass through the OS. Hosted hypervisors tend to offer higher latency and lower security, but are more user-friendly.
What is the difference between a hypervisor and a virtual machine?
A hypervisor is the software that creates, runs and manages VMs. A VM is the virtual computer it creates, with its own operating system and applications, running on a share of the host server’s resources. One hypervisor can run many VMs on the same physical server.
Is VMware ESXi a hypervisor?
Yes. VMware ESXi is a Type 1 (bare-metal) hypervisor and part of the VMware vSphere platform.
Which hypervisor is best for enterprise servers?
There is no single best hypervisor. Each business will have to judge which is most suitable for them based on their budget, existing infrastructure, the skills of their IT teams, their workloads and support needs.