You are on page 1of 95

Virtualization Techniques

TOPIC 1:
VIRTUALIZATION
TECHNIQUES
.1 ITP4112 Network and Virtualized Systems
Administration Project
MODULE INTENDED LEARNING
OUTCOME
On completion of the module, students are
expected to be able to:
(#5) apply virtualization techniques in systems

Virtualization Techniques
administration and integration

VTC 2012
LEARNING CONTENTS
On completion of this topic, students are expected
to be able to:

Virtualization Techniques
3

VTC 2012
Virtualization Techniques
INTRODUCTION
4
WHAT IS VIRTUALIZATION?
In computer science, virtualization refers to the
abstraction of fundamental computing resources
that gives users the illusion of sole ownership

Virtualization Techniques
Virtual memory is an abstraction that provides
processes with the impression that they control large
amounts of physical memory
In OS platform virtualization, this abstraction mainly
involves computer hardware components, including
CPU, memory, hard drive, network card, etc., which
are viewed as the fundamental resources

VTC 2012
WHAT IS VIRTUALIZATION?

Virtualization Techniques
6

VTC 2012
SERVER VIRTUALIZATION
Creating multiple logical server OSs (Virtual
Machines VMs) instances on one physical piece
of hardware

Virtualization Techniques
All hardware drivers are virtualized
Same virtual hardware regardless of physical
hardware
Each VM is completely independent of the others
and does not realize it is virtualized

VTC 2012
HISTORY OF VIRTUALIZATION
Virtualization was first developed in the 1960s to
partition large, mainframe hardware for better
hardware utilization

Virtualization Techniques
These partitions allowed mainframes to
multitask
Run multiple applications and processes at the same
time
Virtualization was abandoned during the 1980s
and 1990s when client-server applications and
inexpensive x86 servers and desktops were used
The growth in x86 server and desktop deployments
led to new IT infrastructure and operational 8
challenges
VTC 2012
NEW CHALLENGES
Low Infrastructure Utilization
Typical x86 server deployments achieve an average utilization
of only 10% to 15% of total capacity

Virtualization Techniques
Increasing Physical Infrastructure Costs
The operational costs to support growing physical
infrastructure have steadily increased
Increasing IT Management Costs
As computing environments become more complex, the level of
experience required for infrastructure management personnel
have increased
Insufficient Failover and Disaster Protection
High Maintenance end-user desktops
Controlling a distributed desktop environment and enforcing
management, access and security policies without impairing 9
users ability to work effectively is complex and expensive

VTC 2012
SERVER CONSOLIDATION

Virtualization Techniques
10

VTC 2012
VIRTUALIZATION VS.
CONSOLIDATION
Virtualized servers
SeparateOss
Must each be administered, patched, etc.

Virtualization Techniques
Consolidation
Same OS
Applications can introduce conflicts and support
issues
Limitation of server consolidation
Network Bandwidth
Services Availability

11

VTC 2012
VIRTUALIZATION IN THE DATA
CENTRE
Traditional Data Centre
Multipleservers running individual applications
Dual GbE connections to the Ethernet switch

Virtualization Techniques
Dual Fibre Channel connections to the Fibre Channel switch
Server Virtualization
Multiple VMs on a physical server
Virtual software switch routes VM traffic, resulting in significant
overhead
Customers increase the number of GbE ports per server
Fibre Channel HBA provides SAN connectivity
10 Gigabit Ethernet
10GbE NIC simplifies connectivity
Scales with the platform
Lower power and lower cost than multiple 1GbE NICs
Unified Networking
Fibre
12
Channel over Ethernet allows LAN and SAN traffic to run over
10GbE

VTC 2012
VIRTUALIZATION BENEFITS
Reduces administrative efforts
Lowers operational costs
Fewer servers to manage

Virtualization Techniques
Migrating legacy platforms onto supported infrastructure
Speeds deployment
Now 1-6 weeks (requisition, setup, software, test)
Virtual reduces this to hours

Testing and troubleshooting


Simplify system imaging
Reduced hardware and infrastructure costs
Server consolidation and decreased need to purchase additional
servers
Opportunity to implement green computing while achieving ROI
Increased rack space 13
Reduced white space requirements

VTC 2012
VIRTUALIZATION BENEFITS
Improves resource utilization
Increased CPU utilization and reduced power use
Typical server utilization rate: ~10-15% (usually higher for

Virtualization Techniques
virtualized storage)
Virtualized utilization rate: Up to 80%
Quick and easier server provisioning
Long-term matching resources and needs
Increases availability
More effective redundancy
Virtualized servers can be mirrored in case of failure
Hardware maintenance without application downtime
Disaster recovery
Tools to enhance security
Supporting specialized environments in a more resource effective 14
manner

VTC 2012
CURRENT CHALLENGES IN SERVER
VIRTUALIZATION
Management complexity
Lack of visibility into applications and

Virtualization Techniques
infrastructure dependencies
Limited understanding of application workload

profiles
Unclear metrics to justify ROI

Fear of reduced availability

Lack of staff expertise

Inadequate orchestration tools and policies

Creates VM sprawl and Increases complexity


15

VTC 2012
DESKTOP VIRTUALIZATION
Separates a personal computer desktop
environment from a physical machine using a
clientserver model of computing

Virtualization Techniques
The model stores the resulting "virtualized" desktop

on a remote central server, instead of on the local


storage of a remote client
When users work from their remote desktop client,

all of the programs, applications, processes and


data used are kept and run centrally
Allows users to access their desktops on any capable

device
A traditional personal computer, notebook computer, 16
smartphone, or thin client

VTC 2012
DESKTOP VIRTUALIZATION

Virtualization Techniques
17

VTC 2012
BENEFITS AND CHALLENGES OF
DESKTOP VIRTUALIZATION

Benefits
Easier to secure and backup

Virtualization Techniques
PC sprawl becomes image sprawl
Easier to manage desktops with centralized encapsulated files
(e.g. Centralized patch update)
Deliver just enough server to desktop users
Move hardware independent desktops seamlessly among servers
Complete isolated desktops with no application changes
Desktop disaster recovery not previously available
Reduce / eliminate the need to refresh physical desktops

Challenges
Degraded user experience
18
High SAN Storage costs

VTC 2012
Virtualization Techniques
TECHNOLOGIES AND
COMPONENTS
19
HYPERVISOR
Ahypervisororvirtual machine manager(VMM)
A piece of computer software, firmware or hardware
that creates and runsvirtual machines

Virtualization Techniques
It presents to the guest operating systems avirtual
operating platformand manages the execution of the
guest operating systems
Multiple instances of a variety of operating systems may
share the virtualized hardware resources
Host machine
A computer on which a hypervisor is running one or
more virtual machines
Guest machine
20
Those virtual machines

VTC 2012
TYPES OF HYPERVISORS
Type 1 (or native, bare metal)
Hypervisors run directly on the host's hardware to
control the hardware and to monitor guest operating

Virtualization Techniques
systems
A guest operating system runs on above the
hypervisor
Examples
CitrixXenServer
VMware ESX/ESXi
KVM (Kernel-based VM)
Microsoft Hyper-V
vm vm
21

VTC 2012
TYPES OF HYPERVISORS
Type 2 (or hosted)
Run within a conventional operating system
environment

Virtualization Techniques
With the hypervisor layer as a distinct second
software level, guest operating systems run at the
third level above the hardware
Examples
VMware Player,
Workstation and Server
Oracle VirtualBox
Microsoft Virtual PC and
Virtual Server 22
QEMU

VTC 2012
ADVANTAGES OF TYPE-1
HYPERVISOR
The hypervisor has direct access to the Hardware
Guest OSs do not need to make processor, memory
and I/O requests via a host OS as in type-2

Virtualization Techniques
The processing is much faster
System is thin
This allows us to give most of the physical resources
to the virtual machines
Decreased security attack vectors, the system is
harder to compromise.
The number of VMs on a host can be higher

23

VTC 2012
ADVANTAGES OF TYPE-2
HYPERVISOR
Run on a wider range of hardware because the
underlying Host OS is controlling hardware
access

Virtualization Techniques
Ease of access, this can be run in Window on an
OS
Allows multiple OS inside of a single OS
This is particularly useful for Demos and Support
organizations
Data can be secured on the desktop

24

VTC 2012
MONOLITHIC HYPERVISOR
Monolithic hypervisor handles nearly all the
functions that one would expect in an operating
system

Virtualization Techniques
Scheduling, memory management, file systems,
management interfaces, the driver stacks for all
supported hardware and so on except those
components for handling program execution
Examples
Vmware ESX
Xen 1.0

25

VTC 2012
MONOLITHIC HYPERVISOR
Simpler than a
modern kernel, but
still complex

Virtualization Techniques
Contains its own
drivers model

26

VTC 2012
MICROKERNEL(IZED) HYPERVISOR
Microkernel(ized) Hypervisor contains only the
functions that are absolutely required to share
the hardware among the virtual machines

Virtualization Techniques
Scheduler provides the shared access to the CPUs
Memory manager to manage physical memory to
virtual machines
The other required functions are found in the
parent partition
Examples
Microsoft Hyper-v
Xen 1.2 and later
27

VTC 2012
MICROKERNEL(IZED) HYPERVISOR
Simple partitioning
functionality

Virtualization Techniques
Increase reliability

No third-party code

Drivers run within


guests
An inherently secure
architecture with
minimal attack
surface
28

VTC 2012
Virtualization Techniques
TECHNOLOGYIES
29
TYPES OF VIRTUALIZATION

Virtualization Techniques
Full Virtualization
Emulation (Binary Translation)

Types of
Virtualization

Hardware-assisted
Para-virtualization Virtualization
30

VTC 2012
EMULATION
VM simulates the
complete hardware in
software

Virtualization Techniques
This allows an operating
system for one computer
architecture to be run
on the architecture that
the emulator is written
for
This has been used in
the past but is difficult
to do and offers low
performance 31

VTC 2012
FULL VIRTUALIZATION
Complete simulation of the Examples:
underlying hardware VirtualBox
The hardware must be

Virtualization Techniques
reflected into virtual
VMware Workstation
machines including the full (32-bit guests)
instruction set, input/output Microsoft Virtual PC
operations, interrupts,
memory access, and whatever
other elements are used by
the software that runs on the
bare machine
Guest operating system and
application set can run
unmodified and unaware
that their platform is being 32
virtualized
VTC 2012
PARA-VIRTUALIZATION
The guest operating system has
Examples:


some knowledge of the hypervisor,
and can leverage this knowledge Xen
to optimize its execution in

Virtualization Techniques
concert with the hypervisor VMware ESX
The guest OS drivers and
hypervisor drivers integrate with
one another to efficiently enable
and share physical device access
Low-level simulation of devices is
removed, replaced with cooperating
guest and hypervisor drivers
The downside of para-
virtualization is that the guest
must be modified to integrate
hypervisor awareness, but this
includes an upside in overall 33
performance

VTC 2012
HARDWARE-ASSISTED
VIRTUALIZATION
The x86 instruction set are not ideal for virtualization
based upon some of the privileged instructions
To remedy this, hardware was updated to make the

Virtualization Techniques
environment more easily virtualized
With hardware support, the processors can trap and emulate
sensitive instructions directly in hardware instead of software
Intel (VT-x) and AMD (AMD-V)
Provide hardware assists for virtualization
Provide efficiently transition between VMs and the hypervisor
using special instructions
VMs can bypass the hypervisor to deal directly with hardware,
making I/O operations more efficient
Hardware-assisted virtualization is useful in full and para-
virtualized scenarios and is exploited by all major 34
hypervisor solutions

VTC 2012
Virtualization Techniques
MANAGEMENT AND
ADMINISTRATION
35
VIRTUALIZATION SOLUTION
CPU Virtualization Implementation
Intel Virtualization Technology (VT)
AMD-V (SVM/Pacifica)

Virtualization Techniques
Server Virtualization Implementation
VMware vSphere
Microsoft Hyper-V
Citrix Xen

36

VTC 2012
HARDWARE ASSISTED
VIRTUALIZATION

Virtualization Techniques
Multitasking Hyper-Threading (Multi-core)

37
Hardware Assisted Virtualization
VTC 2012
HARDWARE ASSISTED
VIRTUALIZATION
CPUs with Virtualization Technology have new
instructions to control virtualization so as:
Speeding up the transfer of platform control between

Virtualization Techniques
the guest operating systems (OSs) and the virtual
machine manager (VMM)/hypervisor
Enabling the VMM to uniquely assign I/O devices to
guest OSs
Optimizing the network for virtualization with
adapter-based acceleration

38

VTC 2012
CPU VIRTUALIZATION
IMPLEMENTATION
Intel Virtualization Technology (VT)
VT-x (x86 CPU) / VT-i (Itanium CPU) architecture
Hardware-based Solutions

Virtualization Techniques
H/W virtualization
VT-x (Intel IA32)
AMD-V (SVM/Pacifica)
Does not require guests priv code emulation
Should allow for full virtualization of x86/x64 guests
Not very popular in commercial VMMs

39

VTC 2012
INTEL VIRTUALIZATION
TECHNOLOGY

Intel Virtualization Technology (Intel VT)


Intel VT refers to all the hardware assists for virtualization that Intel offers across its platform (CPU, Chipset, I/O)

Virtualization Techniques
Intel VT for IA-32 and
Intel 64 Intel VT For Directed I/O Intel VT For Connectivity
(Intel VT-x, VT-x2) (Intel VT-d, VT-d2) (Intel VT-c)
Intel VT-x refers to all the hardware Intel VT-d refers to all the hardware Intel VT-c refers to all the hardware
assists for virtualization in Intel assists for virtualization in Intel assists for virtualization in Intel
Xeon processors chipset networking and I/O devices

Processor Chipset Network


- Interrupt acceleration
- I/O performance through - Over 2x throughput gains
- Flexibility in live
direct assignment on 10GbE
migration
- Memory protection - Offload routine I/O tasks
- Extended page tables 40

VTC 2012
INTEL VIRTUALIZATION
TECHNOLOGY
VT-x represents Intel's technology for
virtualization on the x86 platform
It speeds up the transfer of platform control between

Virtualization Techniques
the guest operating systems and the hypervisor.
VT-d stands for "Intel Virtualization Technology
for Directed I/O"
It enables the hypervisor to uniquely assign I/O
devices to guest OSs
VT-c represents virtualization technology for
connectivity
It improves the performance of network I/O on a
virtualized system 41

VTC 2012
SERVER VIRTUALIZATION
IMPLEMENTATION
VMware
VMware vSphere
Has the most experience

Virtualization Techniques
Very mature product suite
Focus is on integrating IT process automation around
virtualization
Microsoft
Microsoft Hyper-V
Standalone version released in October 2008
Real solution (one with HA) has been out since August 2008
Citrix
CitrixXenServer acquired XenSource on August 2007
Has working low cost server virtualization solution
42
Focus is on client virtualization

VTC 2012
MAGIC QUADRANT FOR X86 SERVER
VIRTUALIZATION INFRASTRUCTURE

Virtualization Techniques
43

VTC 2012
Virtualization Techniques
VMWARE VIRTUALIZATION
PRODUCTS
44
VSPHERE ARCHITECTURE

Virtualization Techniques
45

VTC 2012
MAJOR COMPONENTS OF VMWARE
INFRASTRUCTURE
VMware ESX/ESXi
They are "bare-metal" hypervisors -

Virtualization Techniques
they install directly on top of the
physical server and partitions it into
multiple virtual machines that sharing
the physical resources of the underlying
server.

46

VTC 2012
VSPHERE ESX
The virtualization kernel (VMkernel) was
supported with the console operating system
(COS or service console)

Virtualization Techniques
The primary purpose of the COS was to provide a
management interface into the host
Agents from 3rd parties can be deployed through
ESX to provide particular functionality
Example, hardware monitoring and system
management
Individual admin users logged into the COS to
run configuration and diagnostic commands and
47
scripts

VTC 2012
Virtualization Techniques
48
VSPHERE ESX

VTC 2012
VSPHERE ESXI
The COS has been removed and all of the VMware
agents run directly on the Vmkernel
Infrastructure services are provided natively

Virtualization Techniques
through modules included with the Vmkernel
Other authorized 3rd party modules , such as

hardware drivers and hardware monitoring


components, can run in VMkernel as well but only
that have been digitally signed by VMware are
allowed, creating a tightly locked-down architecture
Preventing arbitrary code from running on the

vSphere host greatly improves the security of the


system 49

VTC 2012
Virtualization Techniques
50
VSPHERE ESXI

VTC 2012
VSPHERE CLIENT
vSphere Client is an application that enables
management of a vSphere

Virtualization Techniques
It can operate on an iPad or a Windows desktop
PC
It provides an administrator with access to the
key functions of vSphere

51

VTC 2012
VSPHERE CLIENT

Virtualization Techniques
52

VTC 2012
VCENTER SERVER
Provides centralized control and visibility at
every level of virtual infrastructure

Virtualization Techniques
Delivers the security and availability of vSphere
through automated proactive management
Empowers a partner ecosystem to extend
virtualization capabilities

53

VTC 2012
VCENTER SERVER

Virtualization Techniques
54

VTC 2012
MAJOR COMPONENTS OF VMWARE
INFRASTRUCTURE
VMware Virtual Machine File System (VMFS)
ESX/ESXi Server uses the VMFS for storage of virtual
machines

Virtualization Techniques
It is a high-performance cluster file system that allows
multiple installations of VMware ESX/ESXi to access the same
VM storage concurrently
VMFS enables the virtualization-based distributed
infrastructure services delivered by VMware vCenter, VMware
vMotion technology, VMware Distributed Resource Scheduler
(DRS) and VMware High Availability (HA), although in ver.
5.1, vMotion does not required shared VM storage
VMware Virtual Symmetric Multi-Processing (SMP)
technology
Enhance VM performance by enabling a single VM to use
multiple physical processors simultaneously 55

VTC 2012
MAJOR COMPONENTS OF VMWARE
INFRASTRUCTURE
VMware Update Manager
Manage patches/updates for physical VMware
ESX/ESXi as well as guest operating systems,

Virtualization Techniques
enforcing compliance and securing IT infrastructure
VMware Consolidated Backup
Provide a centralized backup facility for VMs
When an administrator takes a snapshot of a virtual
machine on the ESX/ESXi Server host, a point-in-time copy
of the virtual machine is instantaneously created
Consolidated Backup accesses this snapshot to back up the

virtual machine
Consolidated Backup enables backup software to
automate the task of making virtual machine disk 56
images available to the proxy server for backup

VTC 2012
VMOTION
VMware vMotion
Allow the live migration of VMs from one physical
server to another for non-disruptive maintenance of

Virtualization Techniques
IT environments

57

VTC 2012
VMOTION
VMware Storage vMotion
Allow the live migration of VM disks from one shared
storage location to another with no disruption or

Virtualization Techniques
downtime to application users

58

VTC 2012
DISTRIBUTED RESOURCE
SCHEDULER (DRS)
VMware DRS dynamically balances computing
capacity across hardware resources aggregated
into logical resource pools, continuously

Virtualization Techniques
monitoring and intelligently allocating available
resources among virtual machines based on pre-
defined rules
Includes Distributed Power Management (DPM),
which balances workloads to reduce power
consumption in the data centre

59

VTC 2012
DISTRIBUTED RESOURCE
SCHEDULER (DRS)

Virtualization Techniques
60

VTC 2012
HIGH AVAILABILITY (HA)
In the event of physical server failure, affected
virtual machines are automatically restarted on
other production servers with spare capacity

Virtualization Techniques
In the case of operating system failure, vSphere
HA restarts the affected virtual machine on the
same physical server

61

VTC 2012
FAULT TOLERANCE
It automatically trigger seamless stateful failover
when the protected virtual machines fail to
respond for zero downtime, zero data loss

Virtualization Techniques
continuous availability
Automatically trigger the creation of a new
secondary virtual machine after failover, to
ensure continuous protection to the application

62

VTC 2012
FAULT TOLERANCE

Virtualization Techniques
63

VTC 2012
VMWARE VIEW
It is a desktop virtualization solution for delivering
desktops as a managed service
Help IT organization automate desktop and

Virtualization Techniques
application management, reduce costs and increase
data security through centralization of the desktop
environment
The centralization results in greater end-user

flexibility and increased control for IT organizations


Built on and tightly integrated with vSphere which

allows customers to extend the value of VMware


infrastructure and its enterprise class features such
as high availability, disaster recovery and business 64
continuity
VTC 2012
Virtualization Techniques
65
VMWARE VIEW

VTC 2012
VMWARE THINAPP
With VMware ThinApp, applications are
packaged into single executable that run
completely isolated from each other and the

Virtualization Techniques
operating system for conflict-free execution on
end-point devices.

66

VTC 2012
VMWARE VCLOUD DIRECTOR
VMware vCloud Director applies the principles of
pooling, abstraction and automation to all
datacenter services like storage, networking, and

Virtualization Techniques
security
By dramatically simplifying the provisioning of
these services, VMware enables IT to provision
complete and operationally ready infrastructure
without worrying about the physical
configuration of hardware

67

VTC 2012
VMWARE VCLOUD DIRECTOR

Virtualization Techniques
68

VTC 2012
Virtualization Techniques
MICROSOFT
VIRTUALIZATION
PRODUCTS
69
HYPER-V SERVER 2012
Hyper-V Server contains the hypervisor, Windows
Server driver model, virtualization capabilities,
and supporting components such as failover

Virtualization Techniques
clustering, but does not contain the set of
features and roles as the Windows Server
operating system
Hyper-V Server produces a small footprint and
requires minimal overhead
No new Windows Server licenses are required

70

VTC 2012
VIRTUAL DESKTOP
INFRASTRUCTURE (VDI)
VDI allows a Windows client operating system to
run on server-based virtual machines in the
datacenter, which the user can access from a PC,

Virtualization Techniques
thin client, or other client device
It can be run on Hyper-V Server and Windows
Server with Hyper-V
Deployment options:
PooledDesktops
Personal Desktops
Remote Desktop Sessions(Session Virtualization)

71

VTC 2012
VDI VS SESSION VIRTUALIZATION
VDI Session Virtualization

Virtualization Techniques
Users access a centralized
installation of a desktop
VDI provides the ability to by sending keystrokes to
store full virtual machines, and receiving screen
including the operating shots from a server
system, applications and This deployment requires
user data, on a server
far fewer resources than
which may be accessed by
VDI, but does not typically
multiple client devices allow users to install their
own applications,
personalize their
72
environments or have
administrative rights
VTC 2012
VDI VS SESSION VIRTUALIZATION

Virtualization Techniques
73

VTC 2012
POOLED DESKTOP VS PERSONAL
DESKTOP
Pooled Desktop Personal Desktop

Virtualization Techniques
Pooled Desktop shares VMs between users.
For Personal Desktop, VM is only
When a user logs off that VM is available for used for one user. This is good for
another person to use or can be rebuilt. This power users that require specific
is good for regular users that use a lot of the applications that might be
same application. manually installed.

74

VTC 2012
REMOTE APP
It is for administrators to deliver remote
applications to users instead of full desktops

Virtualization Techniques
RemoteApp enables a publishing process
Allows apps on session or VDI hosts to be provided to
users
Allows RemoteApps to run side by side with local
apps
Offers integration with the Start menu to make it
simple for users to find and launch RemoteApps

75

VTC 2012
SYSTEM CENTER 2012
System Center is the unified management platform
where you can manage multiple hypervisors, physical
resources, and applications in a single offering

Virtualization Techniques
SC2012 can even optimize resources across public

and private cloud with the following components:


App Controller
Configuration Manager
Data Protection Manager
Endpoint Protection
Operations Manager
Orchestrator
Service Manager
Virtual Machine Manager 76

VTC 2012
VIRTUAL MACHINE MANAGER
(VMM) 2012
Virtual Machine Manager (VMM) is a management
solution for the virtualized datacenter, enabling you to
configure and manage your virtualization host,

Virtualization Techniques
networking, and storage resources in order to create and
deploy virtual machines and services to private clouds
that you have created.

77

VTC 2012
MICROSOFT PRIVATE CLOUD
Microsoft private cloud solutions are built on
System Center and Windows Server. By using
the private cloud:

Virtualization Techniques
Users can request, configure, and manage IT services
through an interactive portal that allows for
automated provisioning.
Resources can quickly be expanded or contracted
through automation or workflow.
Usage can be metered so that you and your customers
pay for only the resources that are actually
consumed.

78

VTC 2012
LIVE MIGRATION
Live Migrationpre-copies a VMs memory from
the source to the destination host

Virtualization Techniques
Any changes to memory pages during the pre-
copy process is also logged
Once the pre-copy is completed, VM is paused,
copies the memory deltas and then transfer
ownership to the target host which saves
significant time
Benefits
No dropped network connections
High availability for production workloads
79
Flexible management

VTC 2012
LIVE MIGRATION

Virtualization Techniques
VM VM

Configuration
Memory
Memory Content
Sync
Cluster
Data
User Node 1 Cluster
VHD Node 2

Network
Storage

80

VTC 2012
QUICK MIGRATION
When Quick Migration process is initiated, a VM is
placed in a Saved state (neither shutdown nor paused
state)

Virtualization Techniques
During Saved state, a VM releases its memory

reservation on the host machine and stores the contents


of its memory pages to disk
Once this has been completed, the target host takes over

the ownership of a VM and brings it back to operation


Placing the VM in a Saved state is the most time-

consuming aspect of migration


The migration time depends upon the amount of

memory assigned to the VM along with network


connection between virtual hosts and shared storage 81

VTC 2012
LIVE MIGRATION VS QUICK
MIGRATION
Live Migration Quick Migration

Virtualization Techniques
Quick Migration saves the
Live Migration can place a heavyburden on memory state of VMs to be moved,
networking resources to accomplish the VM and are capable of moving
move multiple VMs from one node to
Since there is a heavy load, only one VM can another at the same time
migrate at a time using Live Migration, and
if the load are really heavy, the migration
The VMs are 'frozen', and might
might fail not be acceptable for some
applications

82

VTC 2012
SHARED-NOTHING VM LIVE MIGRATION
WITH WINDOWS SERVER 2012 HYPER-V
No shared storage, no shared cluster
membership.

Virtualization Techniques
In an extreme case, a VM running on a laptop
with VHDs on the local hard disk can be moved
to another laptop that's connected by a single
Gigabit Ethernet network cable!

83

VTC 2012
Virtualization Techniques
CITRIX VIRTUALIZATION
PRODUCTS
84
CITRIX XENSERVER
XenServer is an open-source virtualization platform based on
the Xen design
Xen and XenServer are two different projects although they

Virtualization Techniques
share most of the code
Xen is developed as an open source project in Linux whereas Citrix
- the company behind the XenServer - is the main contributor
About once a year, the current version of Xen is bundled with
some additional software, tested thoroughly and branded as
XenServer
This is similar to the relationship between Fedora and RedHat
Enterprise
Open source Xen management tools don't work with
XenServer
Knowing Xen does not mean you know how to use XenServer and
85
vice versa

VTC 2012
XENSERVER
High Performance
Thin, fast 64bit Xen hypervisor provides near baremetal
performance

Virtualization Techniques
Windows and Linux support in both 64bit and 32bit modes
Optimized for XenApp workload consolidation
Easy Setup and Admin
Fast, easy installation in less than 10 minutes
Intuitive XenCenter graphical interface
Available builtin on HP and Dell servers
Easy configuration and maintenance means lower total cost
You must apply free Activation license with the
XenCenter License Manager
The XenServer Free Edition license file is valid for one 86
year
VTC 2012
XENCENTER
XenCenter is the management console for
XenServer

Virtualization Techniques
It supports multiple XenServers

Using XenCenter, virtual machines can be

started, stopped, migrated, created, copied and


backed-up
XenCenter can be installed on any PC running
Windows XP or later
XenCenter installer can be

downloaded from existing


XenServer 87

VTC 2012
XENMOTION
XenMotion allows running guest VMs to be
migrated without service downtime

Virtualization Techniques
Zero down-time during planned maintenance

Load balance VMs over different servers

88

VTC 2012
Virtualization Techniques
89
XENMOTION

VTC 2012
XENDESKTOP
Deliver desktops from the data centre
Eliminate deployment and refresh
Far more secure than traditional desktops

Virtualization Techniques
Full End to End Desktop virtualization solution
Support any back-end infrastructure:
Dedicated blades, VMs, and terminal services

90

VTC 2012
Virtualization Techniques
91
XENDESKTOP

VTC 2012
VDI-IN-A-BOX 5.1
VDI-in-a-Box 5.1 provides personalized desktops
where users can install their own applications
and store their configuration and data

Virtualization Techniques
These personalized desktops are generated from
a master image providing the best of both worlds
Users get personalized desktops (personal vDisk)
while windows desktop administrators manage a
single master image (golden image)
It has built-in scalability and high-availability

92

VTC 2012
TRADITIONAL VDI

Virtualization Techniques
93

VTC 2012
Virtualization Techniques
94
VDI-IN-A-BOX

VTC 2012
CITRIX CLOUDPLATFORM
Based on an open source project CloudStack
It can be used for building public or private cloud

Virtualization Techniques
It can work in conjunction with CloudPortal
Business Manager to deliver
account management
pricing and billing
customer management
reporting capabilities

95

VTC 2012

You might also like