Virtualization
How a hypervisor lets one physical machine act like many, and how the same idea applies to servers, storage, and networks.
What's virtualization
Virtualization uses software called a hypervisor to create virtual versions of physical computer hardware, servers, storage, and networks.
- Server virtualization
- Splits one physical server into multiple independent virtual servers (virtual machines, or VMs) that can run different operating systems and share hardware resources safely.
- Storage virtualization
- Combines multiple physical storage devices from different network locations into a single, centrally managed storage pool.
- Network virtualization
- Combines or divides physical network hardware and software into a single, software-based logical network.
Common virtualization software
- VMware vSphere
- Microsoft Hyper-V
- Nutanix AHV
- Proxmox VE
- Citrix Hypervisor
- Red Hat OpenShift Virtualization
- Oracle VM VirtualBox
- KVM
- OpenStack
- Scale Computing HC3
Server virtualization
Server virtualization lets you run multiple virtual servers, or virtual machines (VMs), on a single physical computer.
How server virtualization works
A special software layer called a hypervisor abstracts the physical hardware, so a single physical computer can run multiple independent, isolated virtual machines at the same time. The core components are:
- Virtual machine (VM)The simulated, software-based computers ("guests") running on the host. Each VM has its own operating system and applications, and behaves as if it had dedicated hardware.
- HypervisorThe virtualization layer between the physical hardware and the virtual machines. It manages resource allocation, scheduling, and isolation.
- Host machineThe actual physical computer and its hardware: CPU, RAM, storage, and network cards.
Benefits of server virtualization
- Cost savings
- Reduces the need to buy and power many physical machines.
- Resource efficiency
- Consolidating workloads keeps physical servers from sitting idle.
- Easy recovery
- Allows quick backups and restores if a system fails.
Storage virtualization
Storage virtualization combines multiple physical storage devices into a single, centralized pool that operating systems and applications can manage and use as one unit.
How storage virtualization works
A software or hardware layer (the controller) sits between the physical disks and the servers. It hides the complex hardware details, and input/output (I/O) requests are routed automatically across the whole storage pool.
- Logical storage poolThe combined capacity, presented to users and applications as virtual volumes, logical unit numbers (LUNs), or logical disks, without exposing the physical limits.
- Virtual layer (controller)The intelligence that abstracts the physical hardware and maps it into a unified pool. It can run as host-based software (hypervisors), array-based controllers, or dedicated network appliances.
- Physical storage layerThe underlying hardware: hard disk drives (HDDs), solid state drives (SSDs), RAID groups, and storage arrays connected over a SAN or NAS.
Benefits of storage virtualization
- Cost savings
- Extends the life of older hardware and reduces the need to buy extra physical appliances up front.
- Better resource use
- Combines fragmented drives and arrays so you use all the available space and reduce waste.
- Scalability and flexibility
- Lets you add new capacity or cloud resources on demand without disrupting running applications.
Network virtualization
Network virtualization is the process of combining or dividing physical network hardware and software into a single, software-based, logical network.
How network virtualization works
Like other types of IT virtualization, it adds an abstraction layer between the physical infrastructure (switches, routers, and cables) and the applications running on top of it.
- Virtual networkA software-based network that works independently of physical hardware limits, made of virtual switches (vSwitches), virtual routers, and virtual firewalls.
- HypervisorAbstracts the physical hardware and manages the virtual networks.
- Physical networkThe actual network hardware: cables, physical switches, routers, network interface cards (NICs), and hubs.
Benefits of network virtualization
- Cost savings
- Lowers the need for expensive physical appliances, reducing up-front spending and ongoing maintenance costs.
- Speed and agility
- Speeds up network provisioning and configuration through software, replacing manual device setup with automated deployment.
- Scalability and flexibility
- Makes it simple to scale networks up or down in software, without being limited by physical switch or router ports.
In practice: the slow VM at 1 a.m.
Every night at 1 a.m., Kofi's reports database slows to a crawl, yet inside the VM, CPU use looks normal. The virtualization team checks the physical host and finds the cause: a backup server on the same host starts its job at 1 a.m. and takes most of the CPU. Kofi's VM is ready to work but waiting for the host to give it CPU time, a delay virtualization tools call CPU ready time.
The fix is to move one of the VMs to another host, or reserve CPU for the database. The lesson for a DBA: on a VM, some problems can only be seen from the host, so knowing the virtualization team, and the questions to ask them, matters.
Key takeaways
- A hypervisor lets one physical machine act as many virtual ones.
- Server virtualization runs multiple VMs, each with its own OS, on one host.
- Storage virtualization pools many disks into one logical store.
- Network virtualization builds software-defined switches, routers, and firewalls on top of physical gear.
- All three save money, use resources better, and make scaling easier.