VIRTUALIZATION
Lê Ngọc Sơn - lnson@[Link]
[Link] [Link]
What is Virtualization ?
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Starting Point: A Physical Machine
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
What is a Virtual Machine ?
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
VM Isolation
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
VM Encapsulation
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
VM Compatibility
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Virtualization Comes in many forms
Virtual Each application sees its own logical
Memory memory, independent of physical memory
Virtual Each application sees its own logical
Networks network, independent of physical network
Virtual Each application sees its own logical
Servers server, independent of physical servers
Virtual Each application sees its own logical
Storage storage, independent of physical storage
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Memory Virtualization
Virtual Each application sees its own logical
Memory memory, independent of physical memory
Physical memory
App
App
App
Swap space Benefits of Virtual Memory
• Remove physical-memory limits
• Run multiple applications at once
[Link]
- 9
[Link]
Storage Virtualization 9
Network Virtualization
Virtual Each application sees its own logical
Networks network, independent of physical network
VLAN A VLAN B VLAN C
Benefits of Virtual Networks
• Common network links with access-
control properties of separate links
Switch
• Manage logical networks instead of
physical networks
Switch VLAN trunk • Virtual SANs provide similar benefits
for storage-area networks
[Link]
- 10
[Link]
Storage Virtualization 10
Server Virtualization
Before Server Virtualization: After Server Virtualization:
App App App App App App
Application
Operating system Operating system
Operating system Virtualization layer
Single operating system image per Virtual Machines (VMs) break
machine dependencies between operating
system and hardware
Software and hardware tightly coupled
Manage operating system and
Running multiple applications on same application as single unit by
machine often creates conflict encapsulating them into VMs
Underutilized resources Strong fault and security isolation
Hardware-independent
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Storage Virtualization
q Process of presenting a logical
view of physical storage
resources to hosts
q Logical storage appears and
behaves as physical storage
directly connected to host
q Examples of storage Virtualization
virtualization are: Layer
§ Host-based volume management
§ LUN creation
§ Tape virtualization
q Benefits of storage virtualization:
§ Increased storage utilization
§ Adding or deleting storage
without affecting application’s
availability
§ Non-disruptive data migration
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Desktop Virtualization
q Virtual Desktop Infrastructure
(VDI) is a desktop delivery model
which allows client desktop
workloads (operating system,
application, user data) to be
hosted and executed on servers
in the data center
q Users can communicate with
their virtual desktops through a
client device that supports
remote desktop protocols such
as RDP
q This allows you to virtualize
Windows desktops in the
datacenter and deliver them on
demand to any user — anywhere
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Hypervisor
qA hypervisor or virtual machine
monitor (VMM) is a piece of computer software,
firmware or hardware that creates and runs virtual
machines.
qTwo major types:
§ Type-I
§ Type-II
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Hypervisor
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Hardware Virtualization Techniques
qCPU installed on the host is only one set, but each
VM that runs on the host requires their own CPU
qIt means CPU needs to virtualized, done by
hypervisor
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Full virtualization
qAbility to run program
(OS) directly on top of
a VM and without any
modification
qAdvantages:
§ Complete isolation
§ Enhanced security
§ Easy of emulation of
different architectures
and coexistence.
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Paravirtualization
qNot-transparent
virtualization
qGuest OS need to be
modified
qSimply transfer the
execution of
instructions which were
hard to virtualized,
directly to the host.
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Common Virtualization Uses
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]
Q&A
[Link]
Bộ môn MMT&VT - Khoa CNTT - ĐH KHTN Tp. HCM
[Link]