SlideShare a Scribd company logo
1 of 13
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

Similar to Introduction to Virtualization .ppt

Unit-I_part-II_Virtualization.pptx
Unit-I_part-II_Virtualization.pptxUnit-I_part-II_Virtualization.pptx
Unit-I_part-II_Virtualization.pptxDARKKNIGHT116809
 
Lecture1(VM).pptx
Lecture1(VM).pptxLecture1(VM).pptx
Lecture1(VM).pptxRiyaBatool
 
Virtualization unit 3.pptx
Virtualization unit 3.pptxVirtualization unit 3.pptx
Virtualization unit 3.pptxBinod Rimal
 
Lecture5 virtualization
Lecture5 virtualizationLecture5 virtualization
Lecture5 virtualizationhktripathy
 
Cloud computing 3 cloud and virtualisation
Cloud computing 3 cloud and virtualisationCloud computing 3 cloud and virtualisation
Cloud computing 3 cloud and virtualisationVaibhav Khanna
 
Virtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudVirtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudNishant Munjal
 
Virtualization in Cloud Computing
Virtualization in Cloud ComputingVirtualization in Cloud Computing
Virtualization in Cloud ComputingPyingkodi Maran
 
6-Virtualizaiton-6.pptx
6-Virtualizaiton-6.pptx6-Virtualizaiton-6.pptx
6-Virtualizaiton-6.pptxAnsarHasas1
 
lecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxlecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxAnilkumarbehera16
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at RingoJeremy Brown
 
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptx
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptxaravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptx
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptxaravym456
 
Virtualization intro to freshers
Virtualization intro to freshersVirtualization intro to freshers
Virtualization intro to freshersShravani Mondrety
 

Similar to Introduction to Virtualization .ppt (20)

Unit-I_part-II_Virtualization.pptx
Unit-I_part-II_Virtualization.pptxUnit-I_part-II_Virtualization.pptx
Unit-I_part-II_Virtualization.pptx
 
Lecture1(VM).pptx
Lecture1(VM).pptxLecture1(VM).pptx
Lecture1(VM).pptx
 
Virtualization unit 3.pptx
Virtualization unit 3.pptxVirtualization unit 3.pptx
Virtualization unit 3.pptx
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Lecture5 virtualization
Lecture5 virtualizationLecture5 virtualization
Lecture5 virtualization
 
Cloud computing 3 cloud and virtualisation
Cloud computing 3 cloud and virtualisationCloud computing 3 cloud and virtualisation
Cloud computing 3 cloud and virtualisation
 
Virtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudVirtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of Cloud
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Virtualization in Cloud Computing
Virtualization in Cloud ComputingVirtualization in Cloud Computing
Virtualization in Cloud Computing
 
6-Virtualizaiton-6.pptx
6-Virtualizaiton-6.pptx6-Virtualizaiton-6.pptx
6-Virtualizaiton-6.pptx
 
lecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxlecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptx
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Parth virt
Parth virtParth virt
Parth virt
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at Ringo
 
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptx
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptxaravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptx
aravind_kmdfdgmfmfmmfmkmkmmgmbmgmbmgbmgmkm.pptx
 
Virtualization intro to freshers
Virtualization intro to freshersVirtualization intro to freshers
Virtualization intro to freshers
 

More from KENNEDYDONATO1

System Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptSystem Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptKENNEDYDONATO1
 
What-is-a-cloud-layer and their classification
What-is-a-cloud-layer and their classificationWhat-is-a-cloud-layer and their classification
What-is-a-cloud-layer and their classificationKENNEDYDONATO1
 
Computer Security.pptx
Computer Security.pptxComputer Security.pptx
Computer Security.pptxKENNEDYDONATO1
 
2.-IT-266_APDET-Module-2-of-3.pptx
2.-IT-266_APDET-Module-2-of-3.pptx2.-IT-266_APDET-Module-2-of-3.pptx
2.-IT-266_APDET-Module-2-of-3.pptxKENNEDYDONATO1
 
Application Development and Emerging Technologies.pptx
Application Development and Emerging Technologies.pptxApplication Development and Emerging Technologies.pptx
Application Development and Emerging Technologies.pptxKENNEDYDONATO1
 

More from KENNEDYDONATO1 (8)

System Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptSystem Development Life Cycle Overview.ppt
System Development Life Cycle Overview.ppt
 
What-is-a-cloud-layer and their classification
What-is-a-cloud-layer and their classificationWhat-is-a-cloud-layer and their classification
What-is-a-cloud-layer and their classification
 
Computer Security.pptx
Computer Security.pptxComputer Security.pptx
Computer Security.pptx
 
report_2A.pptx
report_2A.pptxreport_2A.pptx
report_2A.pptx
 
REPORT_2B.pptx
REPORT_2B.pptxREPORT_2B.pptx
REPORT_2B.pptx
 
1 – 8 APT quiz.pptx
1 – 8  APT quiz.pptx1 – 8  APT quiz.pptx
1 – 8 APT quiz.pptx
 
2.-IT-266_APDET-Module-2-of-3.pptx
2.-IT-266_APDET-Module-2-of-3.pptx2.-IT-266_APDET-Module-2-of-3.pptx
2.-IT-266_APDET-Module-2-of-3.pptx
 
Application Development and Emerging Technologies.pptx
Application Development and Emerging Technologies.pptxApplication Development and Emerging Technologies.pptx
Application Development and Emerging Technologies.pptx
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

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

  1. 1
  2. 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.
  3. 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.
  4. 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.
  5. 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.