SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Copyright © Huawei Technologies Co., Ltd. 2019
Introduction to Compute Virtualization
Page 2 Copyright © Huawei Technologies Co., Ltd. 2019
Foreword
 Cloud computing 1.0 focused on virtualization which today has become the
foundation of cloud computing. This chapter focuses on the architecture and
technologies involved in compute virtualization.
Page 3 Copyright © Huawei Technologies Co., Ltd. 2019
Objectives
 Upon completion of this course, you will:
 Be able to describe what virtualization is.
 Understand the differences between virtualization and cloud computing.
 Understand KVM technology.
 Understand Huawei’s FusionSphere virtualization solution.
Page 4 Copyright © Huawei Technologies Co., Ltd. 2019
Contents
1. Introduction to Virtualization
2. Introduction to KVM
3. Introduction to FusionCompute
Page 5 Copyright © Huawei Technologies Co., Ltd. 2019
What’s a Virtual Machine (VM)?
How is a virtual
machine
created?
?
Page 6 Copyright © Huawei Technologies Co., Ltd. 2019
What’s Virtualization?
Page 8 Copyright © Huawei Technologies Co., Ltd. 2019
A Brief History of Compute Virtualization
1964
IBM began to explore
virtualization on
mainframes.
1972
IBM launched VMs
running on
mainframes.
1999
VMware launched
x86-based
virtualization products.
2002
Xen was officially
open sourced.
2006
Qumranet first
announced KVM.
2007
HP launched HP-UX
Integrity VMs. 2010
By default, RHEL 6.0
supported KVM as the
only virtualization option.
2008
Linux Container LXC
was launched.
2008
Microsoft added
Hyper-V in Windows
Server 2008 R2.
2011
IBM, Red Hat, HP, and
Intel formed the Open
Virtualization Alliance to
accelerate KVM adoption.
2013
Docker was launched.
2014
Rocket was launched.
Page 9 Copyright © Huawei Technologies Co., Ltd. 2019
Important Concepts in Compute
Virtualization
Physical Server Virtual Machine
Host Machine Host Machine
Virtual Machine
Monitor (Hypervisor)
Guest Machine
Guest OS
Application
Host OS
Application
Guest OS:
Operating system running in a virtual machine (VM)
Guest Machine:
Virtual machine created through virtualization
Hypervisor:
Virtualization software layer, or
Virtual Machine Monitor (VMM)
Host OS:
Operating system running in a physical machine
Host Machine:
Physical machine
Page 10 Copyright © Huawei Technologies Co., Ltd. 2019
Types of Compute Virtualization (Hypervisors)
Hardware
VMM
VM
Guest OS
App
VM
Guest OS
App
VM
Guest OS
App
Hardware
Host OS
App VMM
VM
Guest OS
App
VM
Guest OS
App
Bare-Metal Virtualization
(Type 1)
Hosted Virtualization
(Type 2)
Page 11 Copyright © Huawei Technologies Co., Ltd. 2019
Characteristics of Virtualization
Guest OS Guest OS Guest OS
Host OS
VM
VM
Partitioned Isolated
Encapsulated Independent
Page 12 Copyright © Huawei Technologies Co., Ltd. 2019
CPU Virtualization
Application
Ring 3
Ring 2
Guest OS
Ring 1
Hypervisor
Ring 0
Hardware
Application
Ring 3
Ring 2
Paravirtualized
Guest OS
Ring 1
Hypervisor
Ring 0
Hardware
Full virtualization Paravirtualization
Page 14 Copyright © Huawei Technologies Co., Ltd. 2019
Memory Virtualization
VM1 VM1 VM1 VM1
VM memory
Host memory
Page 15 Copyright © Huawei Technologies Co., Ltd. 2019
I/O Virtualization
 Emulation [Full Virtualization]: Complete simulation of the hardware, for example,
keyboard and mouse. Access to such hardware depends on the capture of focus by the
host, and leads to poor performance in some cases.
 Paravirtualization: Access to hardware drivers is transferred from the I/O frontend to the
I/O backend. This mode is usually only used for hard disks and NICs, and delivers high
performance.
 IO-through: Hardware devices capable of I/O passthrough, such as hard disks and NICs,
are directly allocated to VMs. In Xen, Dom0 allocates hardware devices but does not take
part in the access of the hardware. Hardware support is required.
Page 16 Copyright © Huawei Technologies Co., Ltd. 2019
Cloud Computing and Virtualization
Cloud Computing
Page 17 Copyright © Huawei Technologies Co., Ltd. 2019
Mainstream Compute Virtualization Technologies
Open Source
KVM
Xen
Closed Source
Hyper-V
VMware ESXi
CPU virtualization, memory virtualization,
I/O virtualization
Compute Virtualization
Huawei
FusionSphere
Page 18 Copyright © Huawei Technologies Co., Ltd. 2019
Xen vs. KVM
Hardware
Xen
Dom0
PV
Backends
HW
Drivers
DomU
PV
Frontends
DomU
PV
Frontends
DomU
PV
Frontends
Hardware
Lunix
Guest OS Guest OS
QEMU QEMU
HW Drivers
KVM
Other
Application
Page 19 Copyright © Huawei Technologies Co., Ltd. 2019
Contents
1. Introduction to Virtualization
2. Introduction to KVM
3. Introduction to FusionCompute
Page 20 Copyright © Huawei Technologies Co., Ltd. 2019
What’s KVM?
User space
Kernel space
Linux kernel
KVM
module
QEMU
Guest OS
Application program A
VM
QEMU
Guest OS
Application program B
VM
Physical
hardware
User
Space
Processes
User
Space
Processes
Binaries/Libraries Binaries/Libraries
Page 21 Copyright © Huawei Technologies Co., Ltd. 2019
KVM Architecture
Management Tools
Virsh Virt-manager Virt-viewer Virt-install Others
Libvirt
Linux Kernel
(KVM module)
QEMU
Guest
OS
QEMU
Guest
OS
Page 22 Copyright © Huawei Technologies Co., Ltd. 2019
Libvirt
VM
(Guest OS)
VM
(Guest OS)
Hypervisor
Linux host
Node
VM
(Guest OS)
VM
(Guest OS)
Hypervisor
Linux host
Node
Hypervisor
Libvirt
Manage-
ment
Tools
Page 23 Copyright © Huawei Technologies Co., Ltd. 2019
KVM I/O Process - Default
Guest OS
Device Driver
Linux Kernel
KVM Module
I/O Trap Code
Device Driver
Physical Hardware
I/O Shared Page
QEMU I/O
Emulation Code
1
2
3
4
5
6
7
Notification 9
10
8
Page 24 Copyright © Huawei Technologies Co., Ltd. 2019
KVM I/O Process - Virtio
Guest OS
Virtio Frontend
Driver
Linux Kernel
KVM Module
I/O Trap Code
Device Driver
Physical Hardware
vring
QEMU
1
3
4
5
6
8
Virtio Backend
Driver
2
7
Notification
Page 25 Copyright © Huawei Technologies Co., Ltd. 2019
Contents
1. Introduction to Virtualization
2. Introduction to KVM
3. Introduction to FusionCompute
Page 26 Copyright © Huawei Technologies Co., Ltd. 2019
FusionCompute Architecture
Cluster
Virtual Resource Pools
VRM
Page 27 Copyright © Huawei Technologies Co., Ltd. 2019
FusionCompute Advantages
VRM
Physical
resource
Physical
resource
Virtual
resource
Physical
resource
VRM
Unified management of
virtual and physical
resources
Quick VM
provisioning
Page 28 Copyright © Huawei Technologies Co., Ltd. 2019
Functions of FusionCompute Components
Component Function
CNA
CNA provides the following functions:
• Provides virtual computing functions.
• Manages VMs on compute nodes.
• Manages compute, storage, and network resources on compute nodes.
VRM
VRM provides the following functions:
• Manages block storage resources in clusters.
• Manages network resources, such as IP addresses and VLANs in clusters, and assigns IP
addresses to VMs.
• Manages the lifecycle of VMs in clusters, and allocates and migrates VMs across compute
nodes.
• Dynamically schedules resources in clusters.
• Manages virtual resources and user data in a unified manner and provides elastic
computing, storage, and IP address services.
• Provides a unified Web UI portal, allowing O&M engineers to remotely access the
FusionCompute system to monitor and manage resources, and create and view resource
reports.
Page 29 Copyright © Huawei Technologies Co., Ltd. 2019
Quiz
1. In compute virtualization, which of the following allocates CPU and memory resources to
VMs? ( )
A. Guest OS
B. VMM
C. Hypervisor
D. Host OS
2. All open-source virtualization technologies are type 1 virtualization, while all closed-
source ones are type 2 virtualization.
A. TRUE
B. FALSE
Page 30 Copyright © Huawei Technologies Co., Ltd. 2019
Summary
 This chapter provides basic knowledge about compute virtualization, including CPU,
memory, and I/O virtualization. It introduces you to open-source virtualization technology
by using KVM as an example, and also to commercial virtualization products by using
FusionCompute as an example.
Page 31 Copyright © Huawei Technologies Co., Ltd. 2019
Recommendations
 Huawei e-Learning website
 http://support.huawei.com/learning/Index!toTrainIndex
 Huawei Support case library
 http://support.huawei.com/enterprise/servicecenter?lang=en
 HCIA-Cloud Computing v4.0 online forum
 https://forum.huawei.com/enterprise/en/Huawei-Official-Communication-Channel-
HCNA-Cloud-Certification-Course/thread/456287-911
www.huawei.com
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Virtualization and cloud computing
Virtualization and cloud computingVirtualization and cloud computing
Virtualization and cloud computing
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
VMware Tanzu Introduction
VMware Tanzu IntroductionVMware Tanzu Introduction
VMware Tanzu Introduction
 
Chapter 03: Network basics for cloud computing
Chapter 03: Network basics for cloud computingChapter 03: Network basics for cloud computing
Chapter 03: Network basics for cloud computing
 
VMware Cloud on AWS - 100819.pdf
VMware Cloud on AWS - 100819.pdfVMware Cloud on AWS - 100819.pdf
VMware Cloud on AWS - 100819.pdf
 
Data centers on the Edge
Data centers on the EdgeData centers on the Edge
Data centers on the Edge
 
NF101: Nutanix 101
NF101: Nutanix 101NF101: Nutanix 101
NF101: Nutanix 101
 
Hybrid cloud overview and VCF on VxRAIL
Hybrid cloud overview and VCF on VxRAILHybrid cloud overview and VCF on VxRAIL
Hybrid cloud overview and VCF on VxRAIL
 
Server virtualization
Server virtualizationServer virtualization
Server virtualization
 
Nutanix basic
Nutanix basicNutanix basic
Nutanix basic
 
Software-Defined Data Center Case Study – Financial Institution and VMware
Software-Defined Data Center Case Study – Financial Institution and VMwareSoftware-Defined Data Center Case Study – Financial Institution and VMware
Software-Defined Data Center Case Study – Financial Institution and VMware
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWare
 
VMware
VMwareVMware
VMware
 
Virtual Infrastructure Overview
Virtual Infrastructure OverviewVirtual Infrastructure Overview
Virtual Infrastructure Overview
 
Cloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptusCloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptus
 
VMware Virtualization
VMware Virtualization VMware Virtualization
VMware Virtualization
 
VMware Overview
VMware OverviewVMware Overview
VMware Overview
 
VMware Tutorial For Beginners | VMware Workstation | VMware Virtualization | ...
VMware Tutorial For Beginners | VMware Workstation | VMware Virtualization | ...VMware Tutorial For Beginners | VMware Workstation | VMware Virtualization | ...
VMware Tutorial For Beginners | VMware Workstation | VMware Virtualization | ...
 
Microsoft Azure Technical Overview
Microsoft Azure Technical OverviewMicrosoft Azure Technical Overview
Microsoft Azure Technical Overview
 
Veeam Solutions for SMB_2022.pptx
Veeam Solutions for SMB_2022.pptxVeeam Solutions for SMB_2022.pptx
Veeam Solutions for SMB_2022.pptx
 

Ähnlich wie Chapter 02: Introduction to compute virtualization

Advantages And Disadvantages Of Virtualization
Advantages And Disadvantages Of VirtualizationAdvantages And Disadvantages Of Virtualization
Advantages And Disadvantages Of Virtualization
Elizabeth Anderson
 
V mware evolutionary cloud 12 2012
V mware evolutionary cloud 12 2012V mware evolutionary cloud 12 2012
V mware evolutionary cloud 12 2012
Khazret Sapenov
 
V mwarev sphere5.1notes-v2
V mwarev sphere5.1notes-v2V mwarev sphere5.1notes-v2
V mwarev sphere5.1notes-v2
karanamsaibabu
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
webhostingguy
 

Ähnlich wie Chapter 02: Introduction to compute virtualization (20)

Cloud Computing 2023 - Lecture 02.pptx
Cloud Computing 2023 - Lecture 02.pptxCloud Computing 2023 - Lecture 02.pptx
Cloud Computing 2023 - Lecture 02.pptx
 
Chapter 05: introduction to virtualization features
Chapter 05: introduction to virtualization featuresChapter 05: introduction to virtualization features
Chapter 05: introduction to virtualization features
 
03 Network Basics for Cloud Computing.pdf
03 Network Basics for Cloud Computing.pdf03 Network Basics for Cloud Computing.pdf
03 Network Basics for Cloud Computing.pdf
 
Cloud Computing 2023 - Lecture 07.pptx
Cloud Computing 2023 - Lecture 07.pptxCloud Computing 2023 - Lecture 07.pptx
Cloud Computing 2023 - Lecture 07.pptx
 
ITE7_Chp9.pptx
ITE7_Chp9.pptxITE7_Chp9.pptx
ITE7_Chp9.pptx
 
Virtualization technolegys for amdocs
Virtualization technolegys for amdocsVirtualization technolegys for amdocs
Virtualization technolegys for amdocs
 
Virtualization aware Java VM
Virtualization aware Java VMVirtualization aware Java VM
Virtualization aware Java VM
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
wisecloud based open cloud implementation guide
wisecloud based open cloud implementation guidewisecloud based open cloud implementation guide
wisecloud based open cloud implementation guide
 
Presentation power vm virtualization without limits
Presentation   power vm virtualization without limitsPresentation   power vm virtualization without limits
Presentation power vm virtualization without limits
 
Handout2o
Handout2oHandout2o
Handout2o
 
Advantages And Disadvantages Of Virtualization
Advantages And Disadvantages Of VirtualizationAdvantages And Disadvantages Of Virtualization
Advantages And Disadvantages Of Virtualization
 
virtio
virtiovirtio
virtio
 
U-II.pptx
U-II.pptxU-II.pptx
U-II.pptx
 
V mware evolutionary cloud 12 2012
V mware evolutionary cloud 12 2012V mware evolutionary cloud 12 2012
V mware evolutionary cloud 12 2012
 
Crash Course in Open Source Cloud Computing
Crash Course in Open Source Cloud ComputingCrash Course in Open Source Cloud Computing
Crash Course in Open Source Cloud Computing
 
Presentation cloud computing workshop - virtualization
Presentation   cloud computing workshop - virtualizationPresentation   cloud computing workshop - virtualization
Presentation cloud computing workshop - virtualization
 
V mwarev sphere5.1notes-v2
V mwarev sphere5.1notes-v2V mwarev sphere5.1notes-v2
V mwarev sphere5.1notes-v2
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
 
Introduction to Hyper-V
Introduction to Hyper-VIntroduction to Hyper-V
Introduction to Hyper-V
 

Mehr von SsendiSamuel

Mehr von SsendiSamuel (8)

106 Threat defense and information security development trends
106 Threat defense and information security development trends106 Threat defense and information security development trends
106 Threat defense and information security development trends
 
105 Common information security threats
105 Common information security threats105 Common information security threats
105 Common information security threats
 
104 Common network devices
104 Common network devices104 Common network devices
104 Common network devices
 
103 Basic network concepts
103 Basic network concepts103 Basic network concepts
103 Basic network concepts
 
102 Information security standards and specifications
102 Information security standards and specifications102 Information security standards and specifications
102 Information security standards and specifications
 
101 Basic concepts of information security
101 Basic concepts of information security101 Basic concepts of information security
101 Basic concepts of information security
 
Chapter 06: cloud computing trends
Chapter 06: cloud computing trendsChapter 06: cloud computing trends
Chapter 06: cloud computing trends
 
Chapter 04: Storage virtualization basics
Chapter 04: Storage virtualization basicsChapter 04: Storage virtualization basics
Chapter 04: Storage virtualization basics
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Chapter 02: Introduction to compute virtualization

  • 1. Copyright © Huawei Technologies Co., Ltd. 2019 Introduction to Compute Virtualization
  • 2. Page 2 Copyright © Huawei Technologies Co., Ltd. 2019 Foreword  Cloud computing 1.0 focused on virtualization which today has become the foundation of cloud computing. This chapter focuses on the architecture and technologies involved in compute virtualization.
  • 3. Page 3 Copyright © Huawei Technologies Co., Ltd. 2019 Objectives  Upon completion of this course, you will:  Be able to describe what virtualization is.  Understand the differences between virtualization and cloud computing.  Understand KVM technology.  Understand Huawei’s FusionSphere virtualization solution.
  • 4. Page 4 Copyright © Huawei Technologies Co., Ltd. 2019 Contents 1. Introduction to Virtualization 2. Introduction to KVM 3. Introduction to FusionCompute
  • 5. Page 5 Copyright © Huawei Technologies Co., Ltd. 2019 What’s a Virtual Machine (VM)? How is a virtual machine created? ?
  • 6. Page 6 Copyright © Huawei Technologies Co., Ltd. 2019 What’s Virtualization?
  • 7. Page 8 Copyright © Huawei Technologies Co., Ltd. 2019 A Brief History of Compute Virtualization 1964 IBM began to explore virtualization on mainframes. 1972 IBM launched VMs running on mainframes. 1999 VMware launched x86-based virtualization products. 2002 Xen was officially open sourced. 2006 Qumranet first announced KVM. 2007 HP launched HP-UX Integrity VMs. 2010 By default, RHEL 6.0 supported KVM as the only virtualization option. 2008 Linux Container LXC was launched. 2008 Microsoft added Hyper-V in Windows Server 2008 R2. 2011 IBM, Red Hat, HP, and Intel formed the Open Virtualization Alliance to accelerate KVM adoption. 2013 Docker was launched. 2014 Rocket was launched.
  • 8. Page 9 Copyright © Huawei Technologies Co., Ltd. 2019 Important Concepts in Compute Virtualization Physical Server Virtual Machine Host Machine Host Machine Virtual Machine Monitor (Hypervisor) Guest Machine Guest OS Application Host OS Application Guest OS: Operating system running in a virtual machine (VM) Guest Machine: Virtual machine created through virtualization Hypervisor: Virtualization software layer, or Virtual Machine Monitor (VMM) Host OS: Operating system running in a physical machine Host Machine: Physical machine
  • 9. Page 10 Copyright © Huawei Technologies Co., Ltd. 2019 Types of Compute Virtualization (Hypervisors) Hardware VMM VM Guest OS App VM Guest OS App VM Guest OS App Hardware Host OS App VMM VM Guest OS App VM Guest OS App Bare-Metal Virtualization (Type 1) Hosted Virtualization (Type 2)
  • 10. Page 11 Copyright © Huawei Technologies Co., Ltd. 2019 Characteristics of Virtualization Guest OS Guest OS Guest OS Host OS VM VM Partitioned Isolated Encapsulated Independent
  • 11. Page 12 Copyright © Huawei Technologies Co., Ltd. 2019 CPU Virtualization Application Ring 3 Ring 2 Guest OS Ring 1 Hypervisor Ring 0 Hardware Application Ring 3 Ring 2 Paravirtualized Guest OS Ring 1 Hypervisor Ring 0 Hardware Full virtualization Paravirtualization
  • 12. Page 14 Copyright © Huawei Technologies Co., Ltd. 2019 Memory Virtualization VM1 VM1 VM1 VM1 VM memory Host memory
  • 13. Page 15 Copyright © Huawei Technologies Co., Ltd. 2019 I/O Virtualization  Emulation [Full Virtualization]: Complete simulation of the hardware, for example, keyboard and mouse. Access to such hardware depends on the capture of focus by the host, and leads to poor performance in some cases.  Paravirtualization: Access to hardware drivers is transferred from the I/O frontend to the I/O backend. This mode is usually only used for hard disks and NICs, and delivers high performance.  IO-through: Hardware devices capable of I/O passthrough, such as hard disks and NICs, are directly allocated to VMs. In Xen, Dom0 allocates hardware devices but does not take part in the access of the hardware. Hardware support is required.
  • 14. Page 16 Copyright © Huawei Technologies Co., Ltd. 2019 Cloud Computing and Virtualization Cloud Computing
  • 15. Page 17 Copyright © Huawei Technologies Co., Ltd. 2019 Mainstream Compute Virtualization Technologies Open Source KVM Xen Closed Source Hyper-V VMware ESXi CPU virtualization, memory virtualization, I/O virtualization Compute Virtualization Huawei FusionSphere
  • 16. Page 18 Copyright © Huawei Technologies Co., Ltd. 2019 Xen vs. KVM Hardware Xen Dom0 PV Backends HW Drivers DomU PV Frontends DomU PV Frontends DomU PV Frontends Hardware Lunix Guest OS Guest OS QEMU QEMU HW Drivers KVM Other Application
  • 17. Page 19 Copyright © Huawei Technologies Co., Ltd. 2019 Contents 1. Introduction to Virtualization 2. Introduction to KVM 3. Introduction to FusionCompute
  • 18. Page 20 Copyright © Huawei Technologies Co., Ltd. 2019 What’s KVM? User space Kernel space Linux kernel KVM module QEMU Guest OS Application program A VM QEMU Guest OS Application program B VM Physical hardware User Space Processes User Space Processes Binaries/Libraries Binaries/Libraries
  • 19. Page 21 Copyright © Huawei Technologies Co., Ltd. 2019 KVM Architecture Management Tools Virsh Virt-manager Virt-viewer Virt-install Others Libvirt Linux Kernel (KVM module) QEMU Guest OS QEMU Guest OS
  • 20. Page 22 Copyright © Huawei Technologies Co., Ltd. 2019 Libvirt VM (Guest OS) VM (Guest OS) Hypervisor Linux host Node VM (Guest OS) VM (Guest OS) Hypervisor Linux host Node Hypervisor Libvirt Manage- ment Tools
  • 21. Page 23 Copyright © Huawei Technologies Co., Ltd. 2019 KVM I/O Process - Default Guest OS Device Driver Linux Kernel KVM Module I/O Trap Code Device Driver Physical Hardware I/O Shared Page QEMU I/O Emulation Code 1 2 3 4 5 6 7 Notification 9 10 8
  • 22. Page 24 Copyright © Huawei Technologies Co., Ltd. 2019 KVM I/O Process - Virtio Guest OS Virtio Frontend Driver Linux Kernel KVM Module I/O Trap Code Device Driver Physical Hardware vring QEMU 1 3 4 5 6 8 Virtio Backend Driver 2 7 Notification
  • 23. Page 25 Copyright © Huawei Technologies Co., Ltd. 2019 Contents 1. Introduction to Virtualization 2. Introduction to KVM 3. Introduction to FusionCompute
  • 24. Page 26 Copyright © Huawei Technologies Co., Ltd. 2019 FusionCompute Architecture Cluster Virtual Resource Pools VRM
  • 25. Page 27 Copyright © Huawei Technologies Co., Ltd. 2019 FusionCompute Advantages VRM Physical resource Physical resource Virtual resource Physical resource VRM Unified management of virtual and physical resources Quick VM provisioning
  • 26. Page 28 Copyright © Huawei Technologies Co., Ltd. 2019 Functions of FusionCompute Components Component Function CNA CNA provides the following functions: • Provides virtual computing functions. • Manages VMs on compute nodes. • Manages compute, storage, and network resources on compute nodes. VRM VRM provides the following functions: • Manages block storage resources in clusters. • Manages network resources, such as IP addresses and VLANs in clusters, and assigns IP addresses to VMs. • Manages the lifecycle of VMs in clusters, and allocates and migrates VMs across compute nodes. • Dynamically schedules resources in clusters. • Manages virtual resources and user data in a unified manner and provides elastic computing, storage, and IP address services. • Provides a unified Web UI portal, allowing O&M engineers to remotely access the FusionCompute system to monitor and manage resources, and create and view resource reports.
  • 27. Page 29 Copyright © Huawei Technologies Co., Ltd. 2019 Quiz 1. In compute virtualization, which of the following allocates CPU and memory resources to VMs? ( ) A. Guest OS B. VMM C. Hypervisor D. Host OS 2. All open-source virtualization technologies are type 1 virtualization, while all closed- source ones are type 2 virtualization. A. TRUE B. FALSE
  • 28. Page 30 Copyright © Huawei Technologies Co., Ltd. 2019 Summary  This chapter provides basic knowledge about compute virtualization, including CPU, memory, and I/O virtualization. It introduces you to open-source virtualization technology by using KVM as an example, and also to commercial virtualization products by using FusionCompute as an example.
  • 29. Page 31 Copyright © Huawei Technologies Co., Ltd. 2019 Recommendations  Huawei e-Learning website  http://support.huawei.com/learning/Index!toTrainIndex  Huawei Support case library  http://support.huawei.com/enterprise/servicecenter?lang=en  HCIA-Cloud Computing v4.0 online forum  https://forum.huawei.com/enterprise/en/Huawei-Official-Communication-Channel- HCNA-Cloud-Certification-Course/thread/456287-911