SlideShare a Scribd company logo
2
Most read
4
Most read
9
Most read
Virtualization for Cloud Computing
Dr. Sanjay P. Ahuja, Ph.D.
2010-14 FIS Distinguished Professor of Computer
Science
School of Computing, UNF
UNF University of
NORTH FLORIDA
• On demand provision of computational resources (Infrastructure,
Platform, Software).
• Requires high availability of resources and optimum use.
• Virtualization is the enabling technology and creates virtual machines
that allows a single machine to act as if it were many machines.
• Benefits of virtualization for cloud computing: Reduces capital expenses
and maintenance costs through server consolidation, reduces physical
space needed in data centers. Resource Management, Migration,
Maintainability, High availability and Fault tolerance are other benefits.
• Virtualization is implemented using hypervisors.
CLOUD COMPUTING
2
UNF University of
NORTH FLORIDA
• Creation of a virtual version of hardware
using software.
• Runs several applications at the same time
on a single physical server by hosting each
of them inside their own virtual machine.
• By running multiple virtual machines
simultaneously, a physical server can be
utilized efficiently.
Primary approaches to virtualization
• Platform virtualization Ex : Server
• Resources virtualization Ex : Storage,
Network
Machine Stack showing
virtualization opportunities
Application
Libraries
Operating
System
Hardware
VIRTUALIZATION
3
UNF University of
NORTH FLORIDA
• Hypervisor plays an important role in the virtualization scenario by virtualization of
hardware. It provides support for running multiple operating systems concurrently
in virtual servers created within a physical server.
• The virtualization layer is the software responsible for hosting and managing all
VMs. The virtualization layer is a hypervisor running directly on the hardware.
• Example: VMWare, Xen, KVM.
HYPERVISOR
4
UNF University of
NORTH FLORIDA
Hardware
CPU Memory NIC DISK
• Only one OS can run at a time
within a server.
• Under utilization of resources.
• Inflexible and costly infrastructure.
• Hardware changes require manual
effort and access to the physical
server.
Operating System
Multiple Software
Applications
SERVER WITHOUT VIRTUALIZATION
5
UNF University of
NORTH FLORIDA
Hardware
CPU Memory NIC DISK
Hypervisor
• Can run multiple OS
simultaneously.
• Each OS can have different
hardware configuration.
• Efficient utilization of hardware
resources.
• Each virtual machine is
independent.
• Save electricity, initial cost to buy
servers, space etc.
• Easy to manage and monitor
virtual machines centrally.
Virtual Server 1
Operating System
Multiple Software
Applications
Virtual Server 2
Operating System
Multiple Software
Applications
SERVER WITH VIRTUALIZATION
6
UNF University of
NORTH FLORIDA
Full virtualization
• Enables hypervisors to run an
unmodified guest operating
system (e.g. Windows 2003 or
XP).
• Guest OS is not aware that it is
being virtualized.
• E.g.: VMware uses a
combination of direct execution
and binary translation techniques
to achieve full virtualization of
server systems.
Hardware
CPU Memory NIC DISK
Hypervisor
Virtual Server 1
Operating System
Multiple Software
Applications
Virtual Server 2
Operating System
Multiple Software
Applications
HYPERVISOR TYPE
7
UNF University of
NORTH FLORIDA
Para virtualization
• Involves explicitly modifying
guest operating system (e.g.
SUSE Linux Enterprise Server
11) so that it is aware of being
virtualized to allow near native
performance.
• Improves performance.
• Lower overhead.
• E.g.: Xen supports both
Hardware Assisted Virtualization
(HVM) and Para-Virtualization
(PV).
Hardware
CPU Memory NIC DISK
Hypervisor / VMM
Virtual Server 1 Virtual Server 2
Para virtualized
Guest
Operating System
Multiple Software
Applications
Para virtualized
Guest
Operating System
Multiple Software
Applications
HYPERVISOR TYPE
8
UNF University of
NORTH FLORIDA
Bare metal Approach
• Type I Hypervisor.
• Runs directly on the system hardware.
• May require hardware assisted
virtualization technology support by the
CPU.
• Limited set of hardware drivers
provided by the hypervisor vendor.
• E.g.: Xen, VMWare ESXi
Hardware
Hypervisor
VM
Kernel Driver
VM VM
HYPERVISOR IMPLEMENTATION
APPROACHES
9
UNF University of
NORTH FLORIDA
Hardware
Hosted Approach
• Type II Hypervisor.
• Runs virtual machines on top of a
host OS (windows, Unix etc.)
• Relies on host OS for physical
resource management.
• Host operating system provides
drivers for communicating with the
server hardware.
• E.g.: VirtualBox
Host Operating System
Applications
Hypervisor
HYPERVISOR IMPLEMENTATION
APPROACHES
VM VM
10
UNF University of
NORTH FLORIDA
• Bare Metal Approach.
• Full virtualization.
• Proven technology.
• Used for secure and robust
virtualization solutions for
virtual data centers and cloud
infrastructures.
• Takes advantage of support for
hardware assisted
virtualization for 64-bit OS on
Intel processors.
Architecture of VMWare ESXi
VMWARE ESXI
11
Hardware
VM VM
Hypervisor
VM
UNF University of
NORTH FLORIDA
• Open source; bare metal.
• Offers both Hardware Assisted
Virtualization (HVM) and Para-
Virtualization (PV)
• Needs virtualization support in
the CPU for HVM.
• Xen loads an initial OS which
runs as a privileged guest called
“domain 0”.
• The domain 0 OS, typically a
Linux or UNIX variant, can talk
directly to the system hardware
(whereas the other guests
cannot) and also talk directly to
the hypervisor itself. It allocates
and maps hardware resources
for other guest domains.
Hardware
Domain
Zero
Guest
VM VM
Hypervisor
Architecture of Xen
CITRIX XEN SERVER
12
UNF University of
NORTH FLORIDA
Hardware
1. Linux Applications
2. KVM Management
Console VM VM
Linux Kernel
Architecture of KVM
UBUNTU KVM
13
KVM
Linux
• Kernel based virtual machine
(Kernel Based VM)
• Open source.
• Kernel-level extension to Linux.
• Full virtualization.
• Supports full virtualization and
hence does not need hardware
assisted virtualization support
in the CPU.

More Related Content

PPTX
What is Virtualization and its types & Techniques.What is hypervisor and its ...
PPTX
1 (3).pptx
PPTX
Virtualization Cloud computing technology
PDF
Cloud Computing Virtualization and containers
PPTX
Cloud Computing: Virtualization
PPTX
VMware vSphere 6.0 - Troubleshooting Training - Day 1
PPTX
Chapter 3 - Cloud computing Virtualization-2
PPT
Virtual machine
What is Virtualization and its types & Techniques.What is hypervisor and its ...
1 (3).pptx
Virtualization Cloud computing technology
Cloud Computing Virtualization and containers
Cloud Computing: Virtualization
VMware vSphere 6.0 - Troubleshooting Training - Day 1
Chapter 3 - Cloud computing Virtualization-2
Virtual machine

Similar to Introduction to Virtualization .ppt (20)

PPTX
KIIT_Cloud_scaling and Virtualization.pptx
PPTX
Chap 2 virtulizatin
PPTX
Virtualization.pptx
PPTX
CC-5 - MOD.pptx Cloud Vertulization nand
PPTX
VIRTUALIZATION AND ITS TYPES IMPLEMENTATION.pptx
PPTX
Unit-I_part-II_Virtualization.pptx
PPTX
Lecture1(VM).pptx
PPTX
Virtualization unit 3.pptx
PPTX
Virtual machine
PDF
Lecture5 virtualization
PPT
CC_virtualization is in the cloud UNIT 3.1.ppt
PPTX
Cloud computing 3 cloud and virtualisation
PPTX
Virtualization, A Concept Implementation of Cloud
PDF
VIRTUALIZATION-IMPLEMENTATION.pdf-LEVELS
PPT
Virtualization
PPTX
Virtualization in cloud computing
PDF
Introduction to virtualization
PDF
Cloud computing Lec 02 - virtualization.pdf
PDF
Virtualization in Cloud Computing
PPTX
6-Virtualizaiton-6.pptx
KIIT_Cloud_scaling and Virtualization.pptx
Chap 2 virtulizatin
Virtualization.pptx
CC-5 - MOD.pptx Cloud Vertulization nand
VIRTUALIZATION AND ITS TYPES IMPLEMENTATION.pptx
Unit-I_part-II_Virtualization.pptx
Lecture1(VM).pptx
Virtualization unit 3.pptx
Virtual machine
Lecture5 virtualization
CC_virtualization is in the cloud UNIT 3.1.ppt
Cloud computing 3 cloud and virtualisation
Virtualization, A Concept Implementation of Cloud
VIRTUALIZATION-IMPLEMENTATION.pdf-LEVELS
Virtualization
Virtualization in cloud computing
Introduction to virtualization
Cloud computing Lec 02 - virtualization.pdf
Virtualization in Cloud Computing
6-Virtualizaiton-6.pptx
Ad

More from KENNEDYDONATO1 (11)

PPTX
Mysql workbench community installation.pptx
PPTX
Follow up Action Items for Risk Assessment
PPT
Cloud Security and their classifications
PPT
System Development Life Cycle Overview.ppt
PPTX
What-is-a-cloud-layer and their classification
PPTX
Computer Security.pptx
PPTX
report_2A.pptx
PPTX
REPORT_2B.pptx
PPTX
1 – 8 APT quiz.pptx
PPTX
2.-IT-266_APDET-Module-2-of-3.pptx
PPTX
Application Development and Emerging Technologies.pptx
Mysql workbench community installation.pptx
Follow up Action Items for Risk Assessment
Cloud Security and their classifications
System Development Life Cycle Overview.ppt
What-is-a-cloud-layer and their classification
Computer Security.pptx
report_2A.pptx
REPORT_2B.pptx
1 – 8 APT quiz.pptx
2.-IT-266_APDET-Module-2-of-3.pptx
Application Development and Emerging Technologies.pptx
Ad

Recently uploaded (20)

PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Encapsulation theory and applications.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Hybrid model detection and classification of lung cancer
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
project resource management chapter-09.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation theory and applications.pdf
DP Operators-handbook-extract for the Mautical Institute
Chapter 5: Probability Theory and Statistics
Heart disease approach using modified random forest and particle swarm optimi...
Hybrid model detection and classification of lung cancer
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A comparative analysis of optical character recognition models for extracting...
project resource management chapter-09.pdf
Encapsulation_ Review paper, used for researhc scholars
Group 1 Presentation -Planning and Decision Making .pptx
Zenith AI: Advanced Artificial Intelligence
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Web App vs Mobile App What Should You Build First.pdf
Tartificialntelligence_presentation.pptx
OMC Textile Division Presentation 2021.pptx
SOPHOS-XG Firewall Administrator PPT.pptx

Introduction to Virtualization .ppt

  • 1. Virtualization for Cloud Computing Dr. Sanjay P. Ahuja, Ph.D. 2010-14 FIS Distinguished Professor of Computer Science School of Computing, UNF
  • 2. UNF University of NORTH FLORIDA • On demand provision of computational resources (Infrastructure, Platform, Software). • Requires high availability of resources and optimum use. • Virtualization is the enabling technology and creates virtual machines that allows a single machine to act as if it were many machines. • Benefits of virtualization for cloud computing: Reduces capital expenses and maintenance costs through server consolidation, reduces physical space needed in data centers. Resource Management, Migration, Maintainability, High availability and Fault tolerance are other benefits. • Virtualization is implemented using hypervisors. CLOUD COMPUTING 2
  • 3. UNF University of NORTH FLORIDA • Creation of a virtual version of hardware using software. • Runs several applications at the same time on a single physical server by hosting each of them inside their own virtual machine. • By running multiple virtual machines simultaneously, a physical server can be utilized efficiently. Primary approaches to virtualization • Platform virtualization Ex : Server • Resources virtualization Ex : Storage, Network Machine Stack showing virtualization opportunities Application Libraries Operating System Hardware VIRTUALIZATION 3
  • 4. UNF University of NORTH FLORIDA • Hypervisor plays an important role in the virtualization scenario by virtualization of hardware. It provides support for running multiple operating systems concurrently in virtual servers created within a physical server. • The virtualization layer is the software responsible for hosting and managing all VMs. The virtualization layer is a hypervisor running directly on the hardware. • Example: VMWare, Xen, KVM. HYPERVISOR 4
  • 5. UNF University of NORTH FLORIDA Hardware CPU Memory NIC DISK • Only one OS can run at a time within a server. • Under utilization of resources. • Inflexible and costly infrastructure. • Hardware changes require manual effort and access to the physical server. Operating System Multiple Software Applications SERVER WITHOUT VIRTUALIZATION 5
  • 6. UNF University of NORTH FLORIDA Hardware CPU Memory NIC DISK Hypervisor • Can run multiple OS simultaneously. • Each OS can have different hardware configuration. • Efficient utilization of hardware resources. • Each virtual machine is independent. • Save electricity, initial cost to buy servers, space etc. • Easy to manage and monitor virtual machines centrally. Virtual Server 1 Operating System Multiple Software Applications Virtual Server 2 Operating System Multiple Software Applications SERVER WITH VIRTUALIZATION 6
  • 7. UNF University of NORTH FLORIDA Full virtualization • Enables hypervisors to run an unmodified guest operating system (e.g. Windows 2003 or XP). • Guest OS is not aware that it is being virtualized. • E.g.: VMware uses a combination of direct execution and binary translation techniques to achieve full virtualization of server systems. Hardware CPU Memory NIC DISK Hypervisor Virtual Server 1 Operating System Multiple Software Applications Virtual Server 2 Operating System Multiple Software Applications HYPERVISOR TYPE 7
  • 8. UNF University of NORTH FLORIDA Para virtualization • Involves explicitly modifying guest operating system (e.g. SUSE Linux Enterprise Server 11) so that it is aware of being virtualized to allow near native performance. • Improves performance. • Lower overhead. • E.g.: Xen supports both Hardware Assisted Virtualization (HVM) and Para-Virtualization (PV). Hardware CPU Memory NIC DISK Hypervisor / VMM Virtual Server 1 Virtual Server 2 Para virtualized Guest Operating System Multiple Software Applications Para virtualized Guest Operating System Multiple Software Applications HYPERVISOR TYPE 8
  • 9. UNF University of NORTH FLORIDA Bare metal Approach • Type I Hypervisor. • Runs directly on the system hardware. • May require hardware assisted virtualization technology support by the CPU. • Limited set of hardware drivers provided by the hypervisor vendor. • E.g.: Xen, VMWare ESXi Hardware Hypervisor VM Kernel Driver VM VM HYPERVISOR IMPLEMENTATION APPROACHES 9
  • 10. UNF University of NORTH FLORIDA Hardware Hosted Approach • Type II Hypervisor. • Runs virtual machines on top of a host OS (windows, Unix etc.) • Relies on host OS for physical resource management. • Host operating system provides drivers for communicating with the server hardware. • E.g.: VirtualBox Host Operating System Applications Hypervisor HYPERVISOR IMPLEMENTATION APPROACHES VM VM 10
  • 11. UNF University of NORTH FLORIDA • Bare Metal Approach. • Full virtualization. • Proven technology. • Used for secure and robust virtualization solutions for virtual data centers and cloud infrastructures. • Takes advantage of support for hardware assisted virtualization for 64-bit OS on Intel processors. Architecture of VMWare ESXi VMWARE ESXI 11 Hardware VM VM Hypervisor VM
  • 12. UNF University of NORTH FLORIDA • Open source; bare metal. • Offers both Hardware Assisted Virtualization (HVM) and Para- Virtualization (PV) • Needs virtualization support in the CPU for HVM. • Xen loads an initial OS which runs as a privileged guest called “domain 0”. • The domain 0 OS, typically a Linux or UNIX variant, can talk directly to the system hardware (whereas the other guests cannot) and also talk directly to the hypervisor itself. It allocates and maps hardware resources for other guest domains. Hardware Domain Zero Guest VM VM Hypervisor Architecture of Xen CITRIX XEN SERVER 12
  • 13. UNF University of NORTH FLORIDA Hardware 1. Linux Applications 2. KVM Management Console VM VM Linux Kernel Architecture of KVM UBUNTU KVM 13 KVM Linux • Kernel based virtual machine (Kernel Based VM) • Open source. • Kernel-level extension to Linux. • Full virtualization. • Supports full virtualization and hence does not need hardware assisted virtualization support in the CPU.

Editor's Notes

  • #2: 1
  • #8: Some guest operating systems hosted in full virtualization mode, can be configured to run the Novell* Virtual Machine Drivers instead of drivers originating from the operating system. Running virtual machine drivers improves performance dramatically on guest operating systems, such as Windows XP and Windows Server 2003.
  • #9: Paravirtual mode does not require the host computer to support hardware-assisted virtualization technology, but does require the guest operating system to be modified for the virtualization environment. Typically, operating systems running in paravirtual mode enjoy better performance than those requiring full virtualization mode. Operating systems currently modified to run in paravirtual mode are referred to as paravirtualized operating systems and include SUSE Linux Enterprise Server 11 and NetWare® 6.5 SP8.
  • #13: XenServer offers both full hardware virtualization (HVM) and paravirtualization (PVM) for guest systems. Hardware virtualized guest systems use the advanced features of modern x86 CPUs (Intel's VT-x or AMD-V). Paravirtualization works without these processor capabilities but does involve modifying the guest system itself; this step is important for low-level drivers. XenServer includes drivers in the form of installable tools for Linux and Windows guest systems. XenServer supports up to 256GB RAM, 64 cores, and up to 16 NICs per server. Fibre Channel, NFS, iSCSI, and local disks (Direct Attached) are supported as storage. Eight CPUs and a maximum of 32GB can be assigned to each virtual guest. Because vast majority of our customers already moved to 64-bit Xen hypervisors, we decided to focus the development and testing efforts to support 64-bit Xen hypervisors only. Therefore the 32-bit flavor of the Xen hypervisor was removed from SUSE Linux Enterprise Server 11 SP2. This means that only 64-bit x86-based VM hosts are supported. This does not affect VM guests - both 32-bit and 64-bit flavors are supported.
  • #14: KVM uses Qemu software for emulating the hardware. People assume it is a type 2 hypervisor because one of the ways that it is packaged is as a component of Linux - so you can be running a Linux distribution and then, from the command-line shell prompt or from a graphical user interface on that Linux box, you can start KVM. The interface makes it look like it is a hosted hypervisor running on the operating system, but the virtual machine is running on the bare metal - the host operating system provides a launch mechanism for the hypervisor and then engages in a co-processing relationship with the hypervisor. In a sense, it is taking over part of the machine and sharing it with the Linux kernel. On x86 hardware, KVM relies on the hardware virtualization instructions that have been in these processors for seven years. Using these instructions the hypervisor and each of its guest virtual machines run directly on the bare metal, and most of the resource translations are performed by the hardware. The SUSE Linux Enterprise Virtual Machine Driver Pack contains 32-bit and 64-bit paravirtualized network, bus and block drivers for a number of Microsoft Windows operating systems (including Windows XP*, Windows Server* and Windows 7*). These drivers bring many of the performance advantages of paravirtualized operating systems to unmodified operating systems because only the paravirtualized device driver (not the rest of the operating system) is aware of the virtualization platform. For example, a paravirtualized disk device driver appears as a normal, physical disk to the operating system. However, the device driver interacts directly with the virtualization platform (with no emulation) to efficiently deliver disk access, allowing the disk and network subsystems to operate at near native speeds in a virtualized environment, without requiring changes to existing operating systems.