At a glance:
What is virtualisation?
Three virtualisation
architectures
Microkernelised vs.
monolithic hypervisor
What Hyper-V does
An introduction to
Hyper-V in Windows
Server 2008
Rajiv Arunkundram
at several different levels, extending from the All of these factors, plus the easy justifica- Machine Manager). It is this layer that pro- option and does not really change the under-
desktop to the data centre with solutions for
server virtualisation, application virtualisa-
tion on the return on investment (ROI) of
adopting virtualisation, should together ac-
sustainable vides the ability to create multiple isolat-
ed instances that share the same underlying
lying technology.
As you look at Type-1 VMMs, there are
tion, presentation virtualisation and desktop
virtualisation. The common thread across all
celerate the adoption of virtualisation across
both large and small businesses. And we, the
computing hardware resources.
The Type-2 VMM architecture is exempli-
essentially two main ways to architect the
hypervisor solutions: microkernelised and
of these is the management piece with Mi-
crosoft System Center. For this article, I am
IT professionals, can expect all the major
players to continue to invest in this technol-
have helped fied by Java Virtual Machines. Here, the goal
of virtualisation is to create a runtime envi-
monolithic. Both of these approaches, as
shown in Figure 2, are true Type-1 VMMs
focusing on the server virtualisation compo-
nent and specifically on how Hyper-V, a key
ogy over the next few years and improve fea-
tures and functionality.
to enable ronment within which the process can exe-
cute a set of instructions without relying on
that have the hypervisor installed directly on
the physical hardware.
feature of Windows Server 2008, fits into the
equation for a dynamic data centre. How server virtualisation works
virtualisation the host system. In this case, the isolation is
for the different processes, and it allows a
The monolithic hypervisor approach hosts
the hypervisor/VMM in a single layer that
Server virtualisation in general terms lets you single application to run on different OSs also includes most of the required compo-
The server virtualisation market take a single physical device and install (and without having to worry about OS depen- nents, such as the kernel, device drivers and
First, I think it would be worthwhile to look run simultaneously) two or more OS envi- dencies. Server virtualisation does not fall the I/O stack. This is the approach used by
at what exists in today’s environment and ronments that are potentially different and into this category. such solutions as VMware ESX and tradi-
where the overall market is heading. Depend- have different identities, application stacks Type-1 VMM and Hybrid VMMs are the tional mainframe systems.
ing on what research you read, some analysts and so on. Hyper-V is a next-generation, 64- two approaches you are most likely to find in The microkernelised approach uses a very
estimate that 5–9 per cent of all physical bit hypervisor-based virtualisation technolo- wide use today. The Hybrid VMM is a stage thin, specialised hypervisor that only per-
servers currently sold are being used as vir- gy that offers reliable and scalable platform where the VMM runs alongside the host forms the core tasks of ensuring partition
tualisation hosts. You might consider this to capabilities. Together with System Center, it OS and helps to create virtual machines on isolation and memory management. This
be a big chunk of systems in a market where offers a single set of integrated management top. Examples of the Hybrid VMM are Mi- layer does not include the I/O stack or de-
more than nine million physical servers are tools for both physical and virtual resources. crosoft Virtual Server, Microsoft Virtual PC, vice drivers. This is the approach used by Hy-
shipped every year. But one thing is certain: All of this works to reduce costs, improve VMware Workstation, and VMware Player. per-V. In this architecture, the virtualisation
there is still a huge market opportunity as utilisation, optimise infrastructure and al- You should note that while these types of stack and hardware-specific device drivers
more customers become comfortable with low businesses to rapidly provision new solutions are excellent for a client scenario are located in a specialised partition called
virtualisation and want to employ it. servers. In order to help you better under- where you are only running virtual machines the parent partition.
It is important to note where virtualisation stand how Hyper-V is architected, I want to part of the time, the VMMs add considerable
is being adopted. Enterprise customers have first take a look at the different types of vir- overhead and therefore are not suitable for Windows hypervisor
certainly led the charge with testing and be- tualisation solutions. resource-intensive workloads. Ensuring that there is strong separation be-
ing early adopters. However, there are small- In a Type-1 VMM architecture, the VMM tween multiple OSs is done by creating
and medium-sized businesses also deploying layer runs directly on top of the hardware. virtual processors, memory, timers and in-
virtualisation. The adoption of virtualisation
reaches across different types of workloads, Type-� VMM Hybrid VMM Type-� VMM
from business applications and management (Hypervisor)
Guest � Guest � Monolithic Hypervisor Microkernelized Hypervisor
to the web and e-mail.
So why is virtualisation now all the buzz? VMM VM � VM � VM � VM � VM � VM �
Guest � Guest � Guest � Guest � (”Admin”) (”Parent”) (”Child”) (”Child”)
There are a few factors, not the least of
Host OS Host OS VMM VMM Virtualization
which is timing. A few key industry factors Stack
have come together at the same time, help- Hypervisor
Hardware Hardware Hardware Drivers Drivers Drivers
ing to push for increased adoption of virtu- Drivers
alisation. These industry factors include the Examples: Examples: Examples:
JVM Virtual PC and Windows Server Hypervisor
move to 64-bit computing, multicore proces- CLR Virtual Server ���� Hyper-V Figure 2 The two
sors, and even the drive of sustainable com- ways to architect Hardware Hardware
puting to improve system utilisation. Figure 1 The three architectures of virtualisation hypervisor solutions
14 To get your FREE copy of TechNet Magazine subscribe at: www.microsoft.com/uk/technetmagazine TechNet Magazine November 2008 15
Virtualisation
User Mode
which is essentially a virtual machine that opment to an essential technology for pro- WMI VM your environment.
has special or privileged access. This is the duction environments, users require better Provider Worker Applications The fact that Hyper-V requires a 64-bit
Process
only virtual machine with direct access to performance in order to run larger work- VM host system with hardware-assisted virtuali-
Service
hardware resources. All of the other virtu- loads. Emulated devices no longer meet these sation helps ensure that the host system can
al machines, which are known as guest par- growing demands. access a large pool of memory resources. Hy-
titions, go through the parent partition for An alternative solution to this is to use Windows Server ���� Windows Server ����, per-V can support up to 1TB of memory on
����
Kernel Mode
their device access. Hyper-V synthetic devices. Synthetic devices the host, with up to 64GB of memory per vir-
Windows VSP Windows VSC
The existence of the parent partition is are virtual devices that are mapped directly Figure 3 VSCs Kernel Kernel tual machine. This is key for those who plan
fairly transparent. When you begin to in- to physical devices. Unlike emulated devic- use the VMBus to virtualise memory-intensive workloads
stall Hyper-V, the first thing you must do is es, synthetic devices do not emulate legacy to access VSPs, VMBus VMBus
such as Exchange Server and SQL Server.
which then
install Windows Server 2008 x64 Edition on hardware. With the Hyper-V hardware shar- Hyper-V also supports up to 16 logical pro-
manage access
the physical system. You then need to go to ing model, supported guest OSs can interact Windows Hypervisor cessors on the host system, making Hyper-V
to underlying
Server Manager, enable the Hyper-V role and directly with synthetic devices that may have physical “Designed for Windows” Server Hardware scalable to most commodity two-socket and
restart the system. Once the system has re- no physical counterparts. These OSs use vir- hardware four-socket systems with multiple cores. You
16 To get your FREE copy of TechNet Magazine subscribe at: www.microsoft.com/uk/technetmagazine TechNet Magazine November 2008 17
Virtualisation
18 To get your FREE copy of TechNet Magazine subscribe at: www.microsoft.com/uk/technetmagazine TechNet Magazine November 2008 19