SlideShare uma empresa Scribd logo
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.

Mais conteúdo relacionado

Semelhante a Introduction to Virtualization .ppt

Semelhante a 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
 

Mais de KENNEDYDONATO1 (9)

Cloud Security and their classifications
Cloud Security and their classificationsCloud Security and their classifications
Cloud Security and their classifications
 
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
 

Último

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Último (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 

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.

Notas do Editor

  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.