Sub topic 17
Virtualization Workstation
A virtualization workstation is a PC built to run several virtual machines (VMs) at once. A VM is a software-based computer with its own virtual CPU, memory, disk, and network adapter. This chapter assumes you know the basic PC components and how to read a PSU's wattage. It also assumes you have read the earlier chapters on sizing a PSU and on connectors.
What the Exam Expects
The CompTIA A+ Core 1 objectives list the virtualization workstation as a custom configuration. The expected requirements are:
- Maximum RAM
- A multicore CPU with hardware virtualization support
- Fast storage with enough capacity
- Adequate network connectivity
Most exam questions ask you to pick the part that matters most, or to explain why a VM will not start.
How Virtualization Uses Hardware
A hypervisor is the software that creates and runs VMs. It divides the physical hardware among them.
- A type 1 (bare-metal) hypervisor runs directly on the hardware. Examples are VMware ESXi and Microsoft Hyper-V.
- A type 2 (hosted) hypervisor runs as an application on a normal operating system. Examples are VirtualBox and VMware Workstation.
Either type shares the same physical resources between all running guests. Each VM takes a fixed share of RAM while it runs. CPU cores and disk speed are shared and become a bottleneck when many VMs are busy.
Component Priorities
RAM
RAM is the most important resource. Unlike CPU time, RAM cannot be shared by oversubscribing without penalty. If the host runs out, it swaps to disk and every VM slows sharply. Plan for the host's own needs plus the full allocation of every VM you want to run at the same time. Workstations for this role commonly carry 32 GB, 64 GB, or more. Choose a motherboard with enough DIMM slots, and consider ECC memory on workstation platforms that support it.
CPU
Choose a CPU with many cores and threads. A vCPU (virtual CPU) is a share of a physical core or thread given to a VM. Each running VM needs at least one. Two features are required:
- Hardware virtualization extensions: Intel VT-x or AMD-V.
- Second-level address translation (SLAT): Intel EPT or AMD RVI. This speeds up memory handling for guests.
Most modern CPUs include both. The extensions are often turned off by default, so you must enable them in the BIOS/UEFI setup. Look for names such as "Intel Virtualization Technology," "VT-x," "SVM Mode," or "AMD-V."
Storage
Several VMs reading and writing at once create a lot of random I/O. An SSD, preferably NVMe, handles this far better than a hard drive. Each VM's disk is usually stored as a large file, so capacity matters too. Many builds use a fast SSD for active VMs and a larger drive for templates and backups. A RAID array can add speed or redundancy.
Network
VMs often need their own network connections. A fast wired NIC (1 Gbps or faster) is typical. Some builds add a second NIC to separate management traffic from VM traffic. Hypervisors can also create virtual switches that link VMs without any physical cable.
Power Supply and Cooling
A workstation with a high-core-count CPU, lots of RAM, and several drives needs a sturdy PSU. Size it with the method from the wattage chapter. Extra RAM modules and drives add little load, but a high-core-count CPU can draw much more than a basic desktop CPU. Good cooling matters because the CPU may run near full load for long periods.
Sizing RAM for a Planned Workload
This script totals the memory a set of VMs needs, adds a reserve for the host, and rounds up to a common installed size.
# Plan host RAM for a virtualization workstation (GB)
vms = {
"windows_client": 4,
"linux_server": 2,
"domain_controller": 4,
"test_web_server": 2,
}
host_reserve = 8 # host OS and hypervisor overhead
needed = sum(vms.values()) + host_reserve
common_sizes = [8, 16, 32, 64, 128]
install = next(size for size in common_sizes if size >= needed)
print(f"VM total: {sum(vms.values())} GB")
print(f"Needed with host reserve: {needed} GB")
print(f"Install: {install} GB")
# Output:
# VM total: 12 GB
# Needed with host reserve: 20 GB
# Install: 32 GBThe result of 20 GB is not a standard configuration, so you round up to 32 GB. This also leaves room to add another VM later.
Troubleshooting Common Problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Hypervisor reports that virtualization is not available | VT-x or AMD-V is disabled in UEFI | Enable the setting, save, and restart |
| 64-bit guest will not install | CPU lacks extensions, or they are off | Confirm CPU support and enable the feature |
| Everything slows when a new VM starts | Host RAM is exhausted and swapping | Add RAM or reduce VM memory allocations |
| VMs are slow at boot or when copying files | Storage is a hard drive, or many VMs share one disk | Move VMs to an SSD or NVMe drive |
| VM has no network access | Wrong virtual network mode or virtual switch | Check the VM's network adapter setting |
Edge Cases and Trade-offs
- Oversubscription: you can assign more total vCPUs than physical threads, because VMs rarely use all of them at once. This works for light workloads and fails for heavy ones.
- RAM is the harder limit. Some hypervisors can reclaim unused memory dynamically, but a VM that really needs its allocation cannot borrow from another.
- A GPU is not a core requirement. Add a more powerful one only if VMs need graphics acceleration, such as GPU passthrough.
- A virtualization workstation differs from a thin client. A thin client relies on a server to run its workload. A virtualization workstation is the machine that does the heavy lifting itself.
Summary Checklist
- Maximum RAM, with slots free to expand
- Multicore CPU with VT-x/AMD-V and SLAT, enabled in UEFI
- SSD or NVMe storage with enough capacity
- Reliable NIC, sometimes more than one
- A PSU sized for the CPU and drives, with headroom
- Cooling suited to sustained load
Exercise
A technician installs a hypervisor on a new workstation with a CPU that supports hardware virtualization. The hypervisor says it cannot start 64-bit VMs. Name the most likely cause and the fix. Then name the single component whose shortage most directly limits how many VMs can run at the same time.
Show answer
Hardware virtualization (Intel VT-x or AMD-V) is probably disabled in the BIOS/UEFI. Enter the setup, enable the setting, save, and restart. The component whose shortage most directly limits the number of simultaneous VMs is RAM, because each running VM holds its allocated memory.
Exercise
You plan to run five VMs that need 4 GB each, with an 8 GB host reserve. The board supports 16, 32, or 64 GB kits. Which size do you buy, and why?
Show answer
The total is 5 × 4 + 8 = 28 GB. The smallest kit that covers this is 32 GB. It also leaves 4 GB of spare room.