SlideShare a Scribd company logo
Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization Features
Page 1 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Foreword
 Having attended previous courses about cloud computing, you may
already have a good understanding of virtual machines (VMs) and the
resources they use. This chapter focuses on when and where we would
need to use VMs and what virtualization features VMs provide.
Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
 Upon completion of this lecture, you will:
 Understand virtualization features.
 Understand where and when virtualization features may be used.
Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Introduction to Cluster Features
2. Introduction to Virtualization Features (VMs)
Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 A cluster is a group of computers that collectively provide resources for users,
including compute, storage, and network. A complete cluster must contain all
these types of resources.
 The cluster technology is used to overcome the limitations of a single physical
host, thereby preventing service interruption or reducing system downtime.
 A virtualization cluster usually uses shared storage. A VM consists of configuration
files and data disks. The data disks are stored on shared storage, and the
configuration files are stored on the compute nodes.
What is a Cluster?
Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
1) High Availability (HA)
2) Load Balancing
3) Scalability
4) Memory Overcommitment
Virtual Cluster Features
Page 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtual Cluster Features (1)
Cluster
VM VM VM
VM VM VM VM VM
Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 With High Availability (HA) feature, if a node in the cluster becomes faulty, VMs on
this node are automatically migrated to an alternative host that is running
properly.
 During High Availability (HA), the following issues need to be addressed:
 Detecting host faults
 Handling VM startup failures
Virtual Cluster Features (HA)
Page 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Detecting host faults
 To check whether a compute node is faulty, the administrator needs to
periodically establish communication with all nodes in the cluster. If the
communication with a node fails, the node may be faulty.
Virtual Cluster Features (HA)
Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Handling VM startup failures
 let's look at the second issue. When a VM is started on another host, services on
the VM may fail to automatically start, and even the OS may fail to start. Service
recovery on the VM may fail or take a long time. In this case, HA on the service
plane is needed. If the active VM is faulty or cannot be restored, services will be
recovered on the standby VM using HA technologies
Virtual Cluster Features (HA)
Page 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtual Cluster Features (Load balancing )
Cluster
VM VM VM
VM VM VM VM
VM
Page 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 As shown in the previous Figure, there are four compute nodes in the cluster and
eight VMs with the same specifications are running.
 A large number of VMs are running on the third host. After a period of time, the
system automatically detects that the load on the third host is heavy and migrates
VMs on this host to other light-load hosts.
Virtual Cluster Features (Load balancing )
Page 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Load balancing is a cluster technology that distributes loads (such as network
services and traffic) to multiple network devices. This improves service processing
capabilities and ensures high service reliability.
 In a virtualization environment, load balancing is generally implemented on compute
nodes based on the node CPU and memory usages. During VM creation and
running, the management system detects the usage of all physical resources in the
cluster, uses the intelligent scheduling algorithm to determine the optimal host for
running VMs, and migrates VMs to the optimal host.
Virtual Cluster Features (Load balancing )
Page 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Load balancing has the following advantages:
 High performance: Load balancing evenly distributes loads to multiple devices,
improving the performance of the entire system.
 Transparency: For users, a cluster is a device or link with high reliability and
performance. Users do not need to care about the network structure. Adding or
deleting devices or links does not affect services
 High reliability: If one or more devices or links are faulty, services are not
interrupted, improving system reliability.
Virtual Cluster Features (Load balancing )
Page 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtual Cluster Features (Easy Scalability)
Cluster
Virtual Resource Pools
VM
VM
VM
VM
VM
Page 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Easy Scalability
 In virtualization, all resources are pooled to carry service VMs. When the service
volume increases, you only need to add resources to the resource pool, without
having to add hardware resources. During the actual implementation, you only need
to add servers.
Virtual Cluster Features (Easy Scalability)
Page 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 As shown in previous Figure, the original cluster contains only four servers and three
storage devices. At the early stage of construction, the resources in the resource pool
are sufficient. After some resources are consumed by VMs, the administrator finds
that the existing resources are insufficient to support new services.
 The administrator can add servers and storage devices to a cluster without affecting
services. Scale-up or scale-out in virtualization systems is easier to implement than
scaling in non-virtualization systems and has less impact on services.
Virtual Cluster Features (Easy Scalability)
Page 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Memory Overcommitment: allows VMs to use more memory than the
total physical memory of the server by leveraging specific technologies
to improve VM density.
 Memory overcommitment technologies include:
 Memory Ballooning,
 Memory Swapping, and
 Memory Sharing.
Virtual Cluster Features (Memory
Overcommitment)
Page 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtual Cluster Features (Memory
Overcommitment)
Hypervisor
4 GB
VM 1
2 GB
VM 2
2 GB
VM 3
2 GB
VM 1
2 GB
VM 2
2 GB
VM 3
2 GB
20%
70%
70%
VM 3
2 GB
VM 3
2 GB
VM 3
2 GB
Memory
Sharing
Memory
Swapping
Memory
Ballooning
Page 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Memory sharing: Multiple VMs share the memory page on which the data content is
the same.
 As shown in the figure, the physical host provides 4 GB physical memory for the
hypervisor and allocates the memory to three VMs.
 The three VMs read data from the same physical memory.
Virtual Cluster Features (Memory
Overcommitment)
Page 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 According to the memory virtualization implementation principles, the hypervisor
maps this memory segment to different VMs.
 With the memory sharing technology, 6 GB of virtual memory can be allocated to
VMs based on 4 GB of physical memory.
Virtual Cluster Features (Memory
Overcommitment)
Page 21 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Memory ballooning: The system automatically reclaims the unused memory from a
VM and allocates it to other VMs to use.
 Applications on the VMs are not aware of memory reclamation and allocation. The
total amount of the memory used by all VMs on a physical server cannot exceed the
physical memory of the server.
Virtual Cluster Features (Memory
Overcommitment)
Page 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Each of the three VMs has 2 GB virtual memory. The memory usage of VM 1 is only
20%, and the memory usages of VM 2 and VM 3 are 70%. The system automatically
maps physical memory allocated to VM 1 to VM 2 and VM 3 in the background to
relieve the memory pressure.
Virtual Cluster Features (Memory
Overcommitment)
Page 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Memory swapping: External storage is virtualized into memory for VMs to use. Data
that is not used temporarily is stored to external storage.
 If the data needs to be used, it is exchanged with the data reserved on the memory.
Virtual Cluster Features (Memory
Overcommitment)
Page 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 When the memory is sufficient, VMs can use all physical memory. If the memory is
insufficient, the system schedules memory resources based on the memory
overcommitment policies using memory overcommitment technologies to release
free memory.
 Memory overcommitment advantages:
 It reduces customers' costs.
 The feature helps increase VM density when the memory size of compute nodes is fixed.
Virtual Cluster Features (Memory
Overcommitment)
Page 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Introduction to Cluster Features
2. Introduction to Virtualization(VMs) Features
Page 26 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 When we purchase an Elastic Cloud Server (ECS) on the public cloud, a VM with an
OS will be generated in the background. The time required for installing an OS on
the VM is much shorter than that required for installing an OS on a PC. This is the
quick VM deployment feature.
 VMs can be quickly deployed by using templates or by cloning other VMs.
Virtualization(VMs) Features
Page 27 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 VM deployment using a template:
 A VM template is a copy of a VM. It contains VM disks and VM configuration files.
Creating a VM using a VM template can greatly reduce the time for configuring a
new VM and installing an OS.
 After a VM template is created, it cannot be started or modified. This ensures that
the template will not be modified by other users and does not occupy compute
resources of the cluster.
 To update or edit the template, you need to convert the template to a VM first. After
the template is edited, you can convert the VM into a template.
Virtualization(VMs) Features
Page 28 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 VM replication (Cloning)
 In addition to deploying a VM using a template, you can also quickly deploy a VM
using another VM. This function is called VM cloning. Different from template-based
deployment, VM cloning is a process of completely copying the source VM at a
specific time point.
 All settings of each cloned VM, including the host name and IP address, are the same
as those of the source VM. The system reports an error if there are two identical IP
addresses in a LAN. Therefore, the cloned VM and the source VM cannot be started
at the same time.
Virtualization(VMs) Features
Page 29 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization (VM) Features (1)
VM
1
VM
2
VM
n
VM 1
VM
2
VM 3
VM
4
Page 31 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization (VM) Features (2)
VM 75%
VM 25% VM
Page 32 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 Hot-add is to add compute, storage, and network resources to a VM when the VM is
started.
 As shown in the previous Figure, when a user is using a VM, the CPU and memory
usage reaches 75%, which may affect user experience or even affect the normal use
of the VM.
 In this case, the VM resource hot-add feature can be used to add CPU and memory
resources to the VM online. This feature allows the resource usage to be quickly
reduced to the normal level.
Virtualization(VMs) Features
Page 33 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 VM Console: are configured with an independent management
interface for users to perform management operations
 Each VM vendor provides the console management function for VMs.
Virtualization(VMs) Features
Page 34 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 VM Snapshot: in virtualization, VM snapshots are similar to pictures we take in our
life. A snapshot records the VM status at a certain moment and contains complete
data of the VM. You can use a snapshot to restore a VM to the state at a specific time
point.
 Snapshot is a fully usable copy of a defined collection of data that contains an image
of the data as it appeared at the point in time at which the copy was initiated. A
snapshot can be either a copy or a replication of the specified data.
Virtualization(VMs) Features
Page 35 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization (VM) Features (3)
Read
Write
Original Snapshot 1 Snapshot 2
Read
Write
Read
Write
Create
Page 36 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
 The snapshot technology has the following features:
 Snapshots can be quickly generated and used as data sources for traditional backup and
archiving, reducing or eliminating data backup windows.
 Snapshots are stored on disks and can be quickly accessed, accelerating data restoration.
 Disk-based snapshots provide flexible and frequent restoration points for storage devices.
 Snapshots at different points in time can be used to restore data that is accidentally erased
or damaged online.
Virtualization(VMs) Features
Page 37 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization (VM) Features (3)
Original Snapshot 1 Snapshot 2
Read
Write
Create
Original Snapshot 1
Snapshot
2
Read
Write
DELETE
Delete
Page 38 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Virtualization (VM) Features (3)
Original Snapshot 1 Snapshot 2
Read
Write
Create
Original Snapshot 2
Read
Write
Delete
Original Snapshot 1 Snapshot 2
Read
Write
Read
Write
Restore
www.huawei.com
Thank You

More Related Content

Similar to Cloud Computing 2023 - Lecture 07.pptx

Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Optimizing the memory management of a virtual machine monitor on a NUMA syste...Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Farwa Ansari
 
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
Editor IJCATR
 
Memory Virtualization In Cloud Computing.pdf
Memory Virtualization In Cloud Computing.pdfMemory Virtualization In Cloud Computing.pdf
Memory Virtualization In Cloud Computing.pdf
Host It Smart
 
Whitepaper nebucom intelligent application broking and provisioning in a hybr...
Whitepaper nebucom intelligent application broking and provisioning in a hybr...Whitepaper nebucom intelligent application broking and provisioning in a hybr...
Whitepaper nebucom intelligent application broking and provisioning in a hybr...
Nebucom
 
Virtualization aware Java VM
Virtualization aware Java VMVirtualization aware Java VM
Virtualization aware Java VM
Tim Ellison
 
Live VM Migration
Live VM MigrationLive VM Migration
Live VM Migration
Shivam Singh
 
Hardware Support for Efficient VirtualizationJohn Fisher-O
Hardware Support for Efficient VirtualizationJohn Fisher-OHardware Support for Efficient VirtualizationJohn Fisher-O
Hardware Support for Efficient VirtualizationJohn Fisher-O
simisterchristen
 
Quick start guide_virtualization_uk_a4_online_2021-uk
Quick start guide_virtualization_uk_a4_online_2021-ukQuick start guide_virtualization_uk_a4_online_2021-uk
Quick start guide_virtualization_uk_a4_online_2021-ukAssespro Nacional
 
30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answersLatif Siddiqui
 
VIRTUALIZATION for computer science.pptx
VIRTUALIZATION for computer science.pptxVIRTUALIZATION for computer science.pptx
VIRTUALIZATION for computer science.pptx
KelvinBakespear
 
Presentation on Top Cloud Computing Technologies
Presentation on Top Cloud Computing TechnologiesPresentation on Top Cloud Computing Technologies
Presentation on Top Cloud Computing Technologies
Abu Hasnat Md. Shakik Prodhan
 
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...IBM India Smarter Computing
 
Unit 2
Unit 2Unit 2
Unit 2
cheepusowmya
 
Chapter 5 – Cloud Resource Virtua.docx
Chapter 5 – Cloud Resource                        Virtua.docxChapter 5 – Cloud Resource                        Virtua.docx
Chapter 5 – Cloud Resource Virtua.docx
madlynplamondon
 
Chapter 5 – Cloud Resource Virtua.docx
Chapter 5 – Cloud Resource                        Virtua.docxChapter 5 – Cloud Resource                        Virtua.docx
Chapter 5 – Cloud Resource Virtua.docx
gertrudebellgrove
 
IBM System p Virtualisation.ppt
IBM System p Virtualisation.pptIBM System p Virtualisation.ppt
IBM System p Virtualisation.ppt
hellocn
 
Virtual machine subhash gupta
Virtual machine subhash guptaVirtual machine subhash gupta
Virtual machine subhash gupta
Subhash Chandra Gupta
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
Rishikese MR
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
Bhuvanesh Hingal
 

Similar to Cloud Computing 2023 - Lecture 07.pptx (20)

Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Optimizing the memory management of a virtual machine monitor on a NUMA syste...Optimizing the memory management of a virtual machine monitor on a NUMA syste...
Optimizing the memory management of a virtual machine monitor on a NUMA syste...
 
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
CPU Performance in Data Migrating from Virtual Machine to Physical Machine in...
 
Memory Virtualization In Cloud Computing.pdf
Memory Virtualization In Cloud Computing.pdfMemory Virtualization In Cloud Computing.pdf
Memory Virtualization In Cloud Computing.pdf
 
Whitepaper nebucom intelligent application broking and provisioning in a hybr...
Whitepaper nebucom intelligent application broking and provisioning in a hybr...Whitepaper nebucom intelligent application broking and provisioning in a hybr...
Whitepaper nebucom intelligent application broking and provisioning in a hybr...
 
Virtualization aware Java VM
Virtualization aware Java VMVirtualization aware Java VM
Virtualization aware Java VM
 
Live VM Migration
Live VM MigrationLive VM Migration
Live VM Migration
 
Hardware Support for Efficient VirtualizationJohn Fisher-O
Hardware Support for Efficient VirtualizationJohn Fisher-OHardware Support for Efficient VirtualizationJohn Fisher-O
Hardware Support for Efficient VirtualizationJohn Fisher-O
 
Quick start guide_virtualization_uk_a4_online_2021-uk
Quick start guide_virtualization_uk_a4_online_2021-ukQuick start guide_virtualization_uk_a4_online_2021-uk
Quick start guide_virtualization_uk_a4_online_2021-uk
 
30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers
 
10215 A 11
10215 A 1110215 A 11
10215 A 11
 
VIRTUALIZATION for computer science.pptx
VIRTUALIZATION for computer science.pptxVIRTUALIZATION for computer science.pptx
VIRTUALIZATION for computer science.pptx
 
Presentation on Top Cloud Computing Technologies
Presentation on Top Cloud Computing TechnologiesPresentation on Top Cloud Computing Technologies
Presentation on Top Cloud Computing Technologies
 
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...
IBM’s System Director VMControl: Advanced Multi-Platform Virtualization Manag...
 
Unit 2
Unit 2Unit 2
Unit 2
 
Chapter 5 – Cloud Resource Virtua.docx
Chapter 5 – Cloud Resource                        Virtua.docxChapter 5 – Cloud Resource                        Virtua.docx
Chapter 5 – Cloud Resource Virtua.docx
 
Chapter 5 – Cloud Resource Virtua.docx
Chapter 5 – Cloud Resource                        Virtua.docxChapter 5 – Cloud Resource                        Virtua.docx
Chapter 5 – Cloud Resource Virtua.docx
 
IBM System p Virtualisation.ppt
IBM System p Virtualisation.pptIBM System p Virtualisation.ppt
IBM System p Virtualisation.ppt
 
Virtual machine subhash gupta
Virtual machine subhash guptaVirtual machine subhash gupta
Virtual machine subhash gupta
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 

Recently uploaded

Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
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
 
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
Cheryl Hung
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
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...
Product School
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 

Recently uploaded (20)

Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
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
 
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
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
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...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 

Cloud Computing 2023 - Lecture 07.pptx

  • 1. Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization Features
  • 2. Page 1 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Foreword  Having attended previous courses about cloud computing, you may already have a good understanding of virtual machines (VMs) and the resources they use. This chapter focuses on when and where we would need to use VMs and what virtualization features VMs provide.
  • 3. Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Objectives  Upon completion of this lecture, you will:  Understand virtualization features.  Understand where and when virtualization features may be used.
  • 4. Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Contents 1. Introduction to Cluster Features 2. Introduction to Virtualization Features (VMs)
  • 5. Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  A cluster is a group of computers that collectively provide resources for users, including compute, storage, and network. A complete cluster must contain all these types of resources.  The cluster technology is used to overcome the limitations of a single physical host, thereby preventing service interruption or reducing system downtime.  A virtualization cluster usually uses shared storage. A VM consists of configuration files and data disks. The data disks are stored on shared storage, and the configuration files are stored on the compute nodes. What is a Cluster?
  • 6. Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. 1) High Availability (HA) 2) Load Balancing 3) Scalability 4) Memory Overcommitment Virtual Cluster Features
  • 7. Page 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtual Cluster Features (1) Cluster VM VM VM VM VM VM VM VM
  • 8. Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  With High Availability (HA) feature, if a node in the cluster becomes faulty, VMs on this node are automatically migrated to an alternative host that is running properly.  During High Availability (HA), the following issues need to be addressed:  Detecting host faults  Handling VM startup failures Virtual Cluster Features (HA)
  • 9. Page 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Detecting host faults  To check whether a compute node is faulty, the administrator needs to periodically establish communication with all nodes in the cluster. If the communication with a node fails, the node may be faulty. Virtual Cluster Features (HA)
  • 10. Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Handling VM startup failures  let's look at the second issue. When a VM is started on another host, services on the VM may fail to automatically start, and even the OS may fail to start. Service recovery on the VM may fail or take a long time. In this case, HA on the service plane is needed. If the active VM is faulty or cannot be restored, services will be recovered on the standby VM using HA technologies Virtual Cluster Features (HA)
  • 11. Page 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtual Cluster Features (Load balancing ) Cluster VM VM VM VM VM VM VM VM
  • 12. Page 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  As shown in the previous Figure, there are four compute nodes in the cluster and eight VMs with the same specifications are running.  A large number of VMs are running on the third host. After a period of time, the system automatically detects that the load on the third host is heavy and migrates VMs on this host to other light-load hosts. Virtual Cluster Features (Load balancing )
  • 13. Page 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Load balancing is a cluster technology that distributes loads (such as network services and traffic) to multiple network devices. This improves service processing capabilities and ensures high service reliability.  In a virtualization environment, load balancing is generally implemented on compute nodes based on the node CPU and memory usages. During VM creation and running, the management system detects the usage of all physical resources in the cluster, uses the intelligent scheduling algorithm to determine the optimal host for running VMs, and migrates VMs to the optimal host. Virtual Cluster Features (Load balancing )
  • 14. Page 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Load balancing has the following advantages:  High performance: Load balancing evenly distributes loads to multiple devices, improving the performance of the entire system.  Transparency: For users, a cluster is a device or link with high reliability and performance. Users do not need to care about the network structure. Adding or deleting devices or links does not affect services  High reliability: If one or more devices or links are faulty, services are not interrupted, improving system reliability. Virtual Cluster Features (Load balancing )
  • 15. Page 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtual Cluster Features (Easy Scalability) Cluster Virtual Resource Pools VM VM VM VM VM
  • 16. Page 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Easy Scalability  In virtualization, all resources are pooled to carry service VMs. When the service volume increases, you only need to add resources to the resource pool, without having to add hardware resources. During the actual implementation, you only need to add servers. Virtual Cluster Features (Easy Scalability)
  • 17. Page 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  As shown in previous Figure, the original cluster contains only four servers and three storage devices. At the early stage of construction, the resources in the resource pool are sufficient. After some resources are consumed by VMs, the administrator finds that the existing resources are insufficient to support new services.  The administrator can add servers and storage devices to a cluster without affecting services. Scale-up or scale-out in virtualization systems is easier to implement than scaling in non-virtualization systems and has less impact on services. Virtual Cluster Features (Easy Scalability)
  • 18. Page 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Memory Overcommitment: allows VMs to use more memory than the total physical memory of the server by leveraging specific technologies to improve VM density.  Memory overcommitment technologies include:  Memory Ballooning,  Memory Swapping, and  Memory Sharing. Virtual Cluster Features (Memory Overcommitment)
  • 19. Page 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtual Cluster Features (Memory Overcommitment) Hypervisor 4 GB VM 1 2 GB VM 2 2 GB VM 3 2 GB VM 1 2 GB VM 2 2 GB VM 3 2 GB 20% 70% 70% VM 3 2 GB VM 3 2 GB VM 3 2 GB Memory Sharing Memory Swapping Memory Ballooning
  • 20. Page 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Memory sharing: Multiple VMs share the memory page on which the data content is the same.  As shown in the figure, the physical host provides 4 GB physical memory for the hypervisor and allocates the memory to three VMs.  The three VMs read data from the same physical memory. Virtual Cluster Features (Memory Overcommitment)
  • 21. Page 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  According to the memory virtualization implementation principles, the hypervisor maps this memory segment to different VMs.  With the memory sharing technology, 6 GB of virtual memory can be allocated to VMs based on 4 GB of physical memory. Virtual Cluster Features (Memory Overcommitment)
  • 22. Page 21 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Memory ballooning: The system automatically reclaims the unused memory from a VM and allocates it to other VMs to use.  Applications on the VMs are not aware of memory reclamation and allocation. The total amount of the memory used by all VMs on a physical server cannot exceed the physical memory of the server. Virtual Cluster Features (Memory Overcommitment)
  • 23. Page 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Each of the three VMs has 2 GB virtual memory. The memory usage of VM 1 is only 20%, and the memory usages of VM 2 and VM 3 are 70%. The system automatically maps physical memory allocated to VM 1 to VM 2 and VM 3 in the background to relieve the memory pressure. Virtual Cluster Features (Memory Overcommitment)
  • 24. Page 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Memory swapping: External storage is virtualized into memory for VMs to use. Data that is not used temporarily is stored to external storage.  If the data needs to be used, it is exchanged with the data reserved on the memory. Virtual Cluster Features (Memory Overcommitment)
  • 25. Page 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  When the memory is sufficient, VMs can use all physical memory. If the memory is insufficient, the system schedules memory resources based on the memory overcommitment policies using memory overcommitment technologies to release free memory.  Memory overcommitment advantages:  It reduces customers' costs.  The feature helps increase VM density when the memory size of compute nodes is fixed. Virtual Cluster Features (Memory Overcommitment)
  • 26. Page 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Contents 1. Introduction to Cluster Features 2. Introduction to Virtualization(VMs) Features
  • 27. Page 26 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  When we purchase an Elastic Cloud Server (ECS) on the public cloud, a VM with an OS will be generated in the background. The time required for installing an OS on the VM is much shorter than that required for installing an OS on a PC. This is the quick VM deployment feature.  VMs can be quickly deployed by using templates or by cloning other VMs. Virtualization(VMs) Features
  • 28. Page 27 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  VM deployment using a template:  A VM template is a copy of a VM. It contains VM disks and VM configuration files. Creating a VM using a VM template can greatly reduce the time for configuring a new VM and installing an OS.  After a VM template is created, it cannot be started or modified. This ensures that the template will not be modified by other users and does not occupy compute resources of the cluster.  To update or edit the template, you need to convert the template to a VM first. After the template is edited, you can convert the VM into a template. Virtualization(VMs) Features
  • 29. Page 28 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  VM replication (Cloning)  In addition to deploying a VM using a template, you can also quickly deploy a VM using another VM. This function is called VM cloning. Different from template-based deployment, VM cloning is a process of completely copying the source VM at a specific time point.  All settings of each cloned VM, including the host name and IP address, are the same as those of the source VM. The system reports an error if there are two identical IP addresses in a LAN. Therefore, the cloned VM and the source VM cannot be started at the same time. Virtualization(VMs) Features
  • 30. Page 29 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization (VM) Features (1) VM 1 VM 2 VM n VM 1 VM 2 VM 3 VM 4
  • 31. Page 31 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization (VM) Features (2) VM 75% VM 25% VM
  • 32. Page 32 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  Hot-add is to add compute, storage, and network resources to a VM when the VM is started.  As shown in the previous Figure, when a user is using a VM, the CPU and memory usage reaches 75%, which may affect user experience or even affect the normal use of the VM.  In this case, the VM resource hot-add feature can be used to add CPU and memory resources to the VM online. This feature allows the resource usage to be quickly reduced to the normal level. Virtualization(VMs) Features
  • 33. Page 33 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  VM Console: are configured with an independent management interface for users to perform management operations  Each VM vendor provides the console management function for VMs. Virtualization(VMs) Features
  • 34. Page 34 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  VM Snapshot: in virtualization, VM snapshots are similar to pictures we take in our life. A snapshot records the VM status at a certain moment and contains complete data of the VM. You can use a snapshot to restore a VM to the state at a specific time point.  Snapshot is a fully usable copy of a defined collection of data that contains an image of the data as it appeared at the point in time at which the copy was initiated. A snapshot can be either a copy or a replication of the specified data. Virtualization(VMs) Features
  • 35. Page 35 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization (VM) Features (3) Read Write Original Snapshot 1 Snapshot 2 Read Write Read Write Create
  • 36. Page 36 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.  The snapshot technology has the following features:  Snapshots can be quickly generated and used as data sources for traditional backup and archiving, reducing or eliminating data backup windows.  Snapshots are stored on disks and can be quickly accessed, accelerating data restoration.  Disk-based snapshots provide flexible and frequent restoration points for storage devices.  Snapshots at different points in time can be used to restore data that is accidentally erased or damaged online. Virtualization(VMs) Features
  • 37. Page 37 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization (VM) Features (3) Original Snapshot 1 Snapshot 2 Read Write Create Original Snapshot 1 Snapshot 2 Read Write DELETE Delete
  • 38. Page 38 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved. Virtualization (VM) Features (3) Original Snapshot 1 Snapshot 2 Read Write Create Original Snapshot 2 Read Write Delete Original Snapshot 1 Snapshot 2 Read Write Read Write Restore