SlideShare a Scribd company logo
Virtual Machine
Migration & Hypervisors
Basics first ?
 Virtualization is the creation of a virtual (rather than actual)
version of something, such as an operating system, a server, a
storage device or network resources.
 When the VM is temporarily stopped, snapshotted, moved, and
then resumed on the new host, this is known as Migration.
 A Snapshot is the state of a virtual machine, and generally its
storage devices, at an exact point in time. A snapshot enables
the virtual machine's state at the time of the snapshot to be
restored later, effectively undoing any changes that occurred
afterwards. This capability is useful as a backup technique, for
example, prior to performing a risky operation.
VM Migration
 VM Migration refers to the process of moving a
running virtual machine or application between
different physical machines without disconnecting
the client or application. Memory, storage, and
network connectivity of the virtual machine are
transferred from the original guest machine to the
destination.
 In simpler words, moving a virtual machine from one
host to another.
Why is it needed ?
 Load Balancing.
Move VMs to a less busy host.
Make Use Of Newly Added Capacity.
 Maintenance.
Move VMs off a host before It is shut down.
 Recovery From Host Failure.
Restart VM on a different host.
VM Migration Types
 COLD Migration
Shut down VM on Host 1, restart on Host 2
 WARM Migration
Suspend VM on host 1, copy across RAM and CPU
registers, continue on host 2 (some seconds later)
 LIVE Migration
Copy across RAM while VM continues to run – Mark
"dirty" (changed) RAM pages & re-copy.
VM Memory Migration Techniques
 Two techniques for moving the virtual machine's memory state from
the source to the destination are pre-copy memory migration and
post-copy memory migration.
 The memory migration in general can be classified into three phases:
1. Push phase
The source VM continues running while certain pages are pushed across
the network to the new destination. To ensure consistency, the pages
modified during the transmission process must be re-sent.
2. Stop-and-copy phase
The source VM is stopped, pages are copied across to the destination VM,
and then the new VM is started.
3. Pull phase
The new VM starts its execution, and if it accesses a page that has not yet
been copied, this page is faulted in, across the network from the source
VM.
Pre-copy Memory Migration
 Warm-up phase
In pre-copy memory migration, the Hypervisor typically copies all the
memory pages from source to destination while the VM is still running on
the source. If some memory pages change (become 'dirty') during this
process, they will be re-copied
 Stop-and-copy phase
After the warm-up phase, the VM will be stopped on the original host,
the remaining dirty pages will be copied to the destination, and the VM
will be resumed on the destination host. The time between stopping the
VM on the original host and resuming it on destination is called "down-
time", and ranges from a few milliseconds to seconds according to the
size of memory and applications running on the VM.
How it Happens ?
 The approach behind pre-copy is to transfer the
memory to the destination over a series of iterations.
Post-copy Memory Migration
 Post-copy VM migration is initiated by suspending the VM at the source.
With the VM suspended, a minimal subset of the execution state of the
VM (CPU state, registers and, optionally, non- pageable memory) is
transferred to the target. The VM is then resumed at the target.
 Concurrently, the source actively pushes the remaining memory pages of
the VM to the target - an activity known as pre-paging. At the target, if
the VM tries to access a page that has not yet been transferred, it
generates a page-fault.
 These faults, known as network faults, are trapped at the target and
redirected to the source, which responds with the faulted page.
 Post-copy sends each page exactly once over the network. In contrast,
pre-copy can transfer the same page multiple times if the page is dirtied
repeatedly at the source during migration. On the other hand, pre-copy
retains an up-to-date state of the VM at the source during migration,
whereas with post-copy, the VM's state is distributed over both source and
destination. If the destination fails during migration, pre-copy can
recover the VM, whereas post-copy cannot.
How it happens ?
 In contrary to pre-copy, post-copy transfers the VCPU and
devices state on the destination in the first step and starts
the execution on destination in the second.
Hypervisors
 A Hypervisor or virtual machine monitor (VMM) is a piece of
computer software, firmware or hardware that creates and
runs virtual machines. A computer on which a hypervisor is
running one or more virtual machines is defined as a host
machine. Each virtual machine is called a guest machine.
 In virtualization technology, hypervisor is a software program
that manages multiple operating systems (or multiple
instances of the same operating system) on a single computer
system. The hypervisor manages the
system's processor, memory, and other resources to allocate
what each operating system requires. Hypervisors are designed
for a particular processor architecture and may also be
called virtualization managers.
Hypervisor Types
 "Formal Requirements for Virtualizable Third
Generation Architectures" Gerald J.
Popek and Robert P. Goldberg classified two types
of hypervisor.
 Type – 1 : Native or Bare – Metal Hypervisors.
 Type – 2 : Hosted Hypervisors.
Type – 1 Hypervisors
 These hypervisors run directly on the host's
hardware to control the hardware and to manage
guest operating systems. For this reason, they are
sometimes called bare metal hypervisors. A guest
operating system runs as a process on the host.
 The Type 1 hypervisor is often referred to as a
hardware virtualization engine.
 Examples include VMware ESXi Server, Microsoft
Hyper-V, Citrix/Xen Server.
Type – 1 : In brief
 It works directly on the hardware of the host and can monitor
operating systems that run above the hypervisor.
 It is completely independent from the Operating System.
 The hypervisor is small as its main task is sharing and
managing hardware resources between different operating
systems.
 A major advantage is that any problems in one virtual
machine or guest operating system do not affect the other
guest operating systems running on the hypervisor.
Type – 2 Hypervisors
 These hypervisors run on a conventional operating
system just as other computer programs do. Type-2
hypervisors abstract guest operating systems from
the host operating system.
 Type 2 hypervisors support guest virtual machines
by coordinating calls for CPU, memory, disk,
network and other resources through the physical
host's operating system. This makes it easy for an
end user to run a virtual machine on a personal
computing device.
 Examples of this type of hypervisor include VMware
Fusion, Oracle VM, Parallels and VMware
Workstation.
Type – 2 : In brief
 In this case, the hypervisor is installed on an operating
system and then supports other operating systems above it.
 It is completely dependent on host Operating System for its
operations
 While having a base operating system allows better
specification of policies, any problems in the base operating
system affects the entire system as well even if the
hypervisor running above the base OS is secure.
Arun Shukla
arun.shukla2694@gmail.com
Thanks All !
Happy Learning.

More Related Content

What's hot

What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
Shashi soni
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualization
Dr.Neeraj Kumar Pandey
 
Principles of virtualization
Principles of virtualizationPrinciples of virtualization
Principles of virtualization
Rubal Sagwal
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
vishal choudhary
 
Fullandparavirtualization.ppt
Fullandparavirtualization.pptFullandparavirtualization.ppt
Fullandparavirtualization.ppt
ImXaib
 
cloud computing basics
cloud computing basicscloud computing basics
cloud computing basics
Sweta Kumari Barnwal
 
cloud computing: Vm migration
cloud computing: Vm migrationcloud computing: Vm migration
cloud computing: Vm migration
Dr.Neeraj Kumar Pandey
 
Virtualization- Cloud Computing
Virtualization- Cloud ComputingVirtualization- Cloud Computing
Virtualization- Cloud Computing
NIKHILKUMAR SHARDOOR
 
Cloud computing
Cloud computingCloud computing
Cloud computing
حيدر نافع nafaa
 
VMware Presentation
VMware PresentationVMware Presentation
VMware Presentation
Emirates Computers
 
Virtualization and its Types
Virtualization and its TypesVirtualization and its Types
Virtualization and its Types
HTS Hosting
 
Cloud Computing and Virtualization
Cloud Computing and Virtualization Cloud Computing and Virtualization
Cloud Computing and Virtualization
Mahbub Noor Bappy
 
Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
Sweta Kumari Barnwal
 
6. Live VM migration
6. Live VM migration6. Live VM migration
6. Live VM migration
Hwanju Kim
 
VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentationaleyeldean
 
Cloud computing
Cloud computingCloud computing
Cloud computing
Aditya Dwivedi
 
Cloud computing architecture
Cloud computing architectureCloud computing architecture
Cloud computing architecture
meenalkakkar
 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computing
Sweta Kumari Barnwal
 

What's hot (20)

What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualization
 
Principles of virtualization
Principles of virtualizationPrinciples of virtualization
Principles of virtualization
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
 
Fullandparavirtualization.ppt
Fullandparavirtualization.pptFullandparavirtualization.ppt
Fullandparavirtualization.ppt
 
cloud computing basics
cloud computing basicscloud computing basics
cloud computing basics
 
cloud computing: Vm migration
cloud computing: Vm migrationcloud computing: Vm migration
cloud computing: Vm migration
 
Virtualization- Cloud Computing
Virtualization- Cloud ComputingVirtualization- Cloud Computing
Virtualization- Cloud Computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
VMware Presentation
VMware PresentationVMware Presentation
VMware Presentation
 
Virtualization and its Types
Virtualization and its TypesVirtualization and its Types
Virtualization and its Types
 
Cloud Computing and Virtualization
Cloud Computing and Virtualization Cloud Computing and Virtualization
Cloud Computing and Virtualization
 
Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
 
6. Live VM migration
6. Live VM migration6. Live VM migration
6. Live VM migration
 
VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentation
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing architecture
Cloud computing architectureCloud computing architecture
Cloud computing architecture
 
VMware vSphere
VMware vSphereVMware vSphere
VMware vSphere
 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computing
 
Cloud Service Models
Cloud Service ModelsCloud Service Models
Cloud Service Models
 

Viewers also liked

Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
Chetna Purohit
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisorsGaurav Suri
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
Chandrani Ray Chowdhury
 
Cloud Computing - Availability Issues and Controls
Cloud Computing - Availability Issues and ControlsCloud Computing - Availability Issues and Controls
Cloud Computing - Availability Issues and Controls
lylcheng88
 
Memory ballooning
Memory ballooningMemory ballooning
Memory ballooning
opvizorvmwarehealthanalyzer
 
Operating system tutorial
Operating system tutorialOperating system tutorial
Operating system tutorialGanesh Raja
 
tutorial presentation
tutorial presentationtutorial presentation
tutorial presentation
Ranvijay Singh
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
ijsrd.com
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
rjain51
 
5. IO virtualization
5. IO virtualization5. IO virtualization
5. IO virtualization
Hwanju Kim
 
4. Memory virtualization and management
4. Memory virtualization and management4. Memory virtualization and management
4. Memory virtualization and management
Hwanju Kim
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft ComputingTameem Ahmad
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
Barcamp Cork
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingAhmed Mekkawy
 
Basics of Soft Computing
Basics of Soft  Computing Basics of Soft  Computing
Basics of Soft Computing
Sangeetha Rajesh
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Purnima Pandit
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
Rishikese MR
 

Viewers also liked (20)

Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisors
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 
Cloud Computing - Availability Issues and Controls
Cloud Computing - Availability Issues and ControlsCloud Computing - Availability Issues and Controls
Cloud Computing - Availability Issues and Controls
 
Memory ballooning
Memory ballooningMemory ballooning
Memory ballooning
 
Operating system tutorial
Operating system tutorialOperating system tutorial
Operating system tutorial
 
tutorial presentation
tutorial presentationtutorial presentation
tutorial presentation
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
 
5. IO virtualization
5. IO virtualization5. IO virtualization
5. IO virtualization
 
4. Memory virtualization and management
4. Memory virtualization and management4. Memory virtualization and management
4. Memory virtualization and management
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft Computing
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud Compting
 
Basics of Soft Computing
Basics of Soft  Computing Basics of Soft  Computing
Basics of Soft Computing
 
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic)  : Dr. Purnima PanditSoft computing (ANN and Fuzzy Logic)  : Dr. Purnima Pandit
Soft computing (ANN and Fuzzy Logic) : Dr. Purnima Pandit
 
Cpu scheduling
Cpu schedulingCpu scheduling
Cpu scheduling
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
 

Similar to Virtual Machine Migration & Hypervisors

Live VM Migration
Live VM MigrationLive VM Migration
Live VM Migration
Shivam Singh
 
Unit 2
Unit 2Unit 2
Unit 2
cheepusowmya
 
A510840101 24982 23_2020_lecture_2
A510840101 24982 23_2020_lecture_2A510840101 24982 23_2020_lecture_2
A510840101 24982 23_2020_lecture_2
Krishna Kumar Singh
 
Virtualization
VirtualizationVirtualization
Virtualization
vishnurk
 
Virtualize of IO Devices .docx
Virtualize of IO Devices .docxVirtualize of IO Devices .docx
Virtualize of IO Devices .docx
kumari36
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualization
Siddharth Bhatt
 
Lecture 11 (Virtualization and Load Balancer).pptx
Lecture 11 (Virtualization and Load Balancer).pptxLecture 11 (Virtualization and Load Balancer).pptx
Lecture 11 (Virtualization and Load Balancer).pptx
ShvnhRthOr
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
IGZ Software house
 
virtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdfvirtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdf
KowsalyaJayakumar2
 
Virtual Machine Maanager
Virtual Machine MaanagerVirtual Machine Maanager
Virtual Machine Maanager
Gaurav Bhardwaj
 
Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)
kamrankausar
 
cloud concepts and technologies
cloud concepts and technologiescloud concepts and technologies
cloud concepts and technologies
Kalai Selvi
 
CH14-Virtual Machines.pptx
CH14-Virtual Machines.pptxCH14-Virtual Machines.pptx
CH14-Virtual Machines.pptx
AmirZaman21
 
Introductin to virtualization i
Introductin to virtualization   iIntroductin to virtualization   i
Introductin to virtualization i
Parth Patel
 
Cloud Computing Virtualization and containers
Cloud Computing Virtualization and containersCloud Computing Virtualization and containers
Cloud Computing Virtualization and containers
Selvaraj Kesavan
 
Chapter 3.4.pptx
Chapter 3.4.pptxChapter 3.4.pptx
Chapter 3.4.pptx
kalavathisugan
 
VIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docxVIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docx
kumari36
 
Intro to virtualization
Intro to virtualizationIntro to virtualization
Intro to virtualization
Kalpna Saharan
 
Unit 3 Virtualization.pdf
Unit 3 Virtualization.pdfUnit 3 Virtualization.pdf
Unit 3 Virtualization.pdf
PrachiKurhade3
 

Similar to Virtual Machine Migration & Hypervisors (20)

Live VM Migration
Live VM MigrationLive VM Migration
Live VM Migration
 
Unit 2
Unit 2Unit 2
Unit 2
 
A510840101 24982 23_2020_lecture_2
A510840101 24982 23_2020_lecture_2A510840101 24982 23_2020_lecture_2
A510840101 24982 23_2020_lecture_2
 
Parth virt
Parth virtParth virt
Parth virt
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualize of IO Devices .docx
Virtualize of IO Devices .docxVirtualize of IO Devices .docx
Virtualize of IO Devices .docx
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualization
 
Lecture 11 (Virtualization and Load Balancer).pptx
Lecture 11 (Virtualization and Load Balancer).pptxLecture 11 (Virtualization and Load Balancer).pptx
Lecture 11 (Virtualization and Load Balancer).pptx
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
virtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdfvirtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdf
 
Virtual Machine Maanager
Virtual Machine MaanagerVirtual Machine Maanager
Virtual Machine Maanager
 
Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)
 
cloud concepts and technologies
cloud concepts and technologiescloud concepts and technologies
cloud concepts and technologies
 
CH14-Virtual Machines.pptx
CH14-Virtual Machines.pptxCH14-Virtual Machines.pptx
CH14-Virtual Machines.pptx
 
Introductin to virtualization i
Introductin to virtualization   iIntroductin to virtualization   i
Introductin to virtualization i
 
Cloud Computing Virtualization and containers
Cloud Computing Virtualization and containersCloud Computing Virtualization and containers
Cloud Computing Virtualization and containers
 
Chapter 3.4.pptx
Chapter 3.4.pptxChapter 3.4.pptx
Chapter 3.4.pptx
 
VIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docxVIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docx
 
Intro to virtualization
Intro to virtualizationIntro to virtualization
Intro to virtualization
 
Unit 3 Virtualization.pdf
Unit 3 Virtualization.pdfUnit 3 Virtualization.pdf
Unit 3 Virtualization.pdf
 

Recently uploaded

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 

Virtual Machine Migration & Hypervisors

  • 2. Basics first ?  Virtualization is the creation of a virtual (rather than actual) version of something, such as an operating system, a server, a storage device or network resources.  When the VM is temporarily stopped, snapshotted, moved, and then resumed on the new host, this is known as Migration.  A Snapshot is the state of a virtual machine, and generally its storage devices, at an exact point in time. A snapshot enables the virtual machine's state at the time of the snapshot to be restored later, effectively undoing any changes that occurred afterwards. This capability is useful as a backup technique, for example, prior to performing a risky operation.
  • 3. VM Migration  VM Migration refers to the process of moving a running virtual machine or application between different physical machines without disconnecting the client or application. Memory, storage, and network connectivity of the virtual machine are transferred from the original guest machine to the destination.  In simpler words, moving a virtual machine from one host to another.
  • 4. Why is it needed ?  Load Balancing. Move VMs to a less busy host. Make Use Of Newly Added Capacity.  Maintenance. Move VMs off a host before It is shut down.  Recovery From Host Failure. Restart VM on a different host.
  • 5. VM Migration Types  COLD Migration Shut down VM on Host 1, restart on Host 2  WARM Migration Suspend VM on host 1, copy across RAM and CPU registers, continue on host 2 (some seconds later)  LIVE Migration Copy across RAM while VM continues to run – Mark "dirty" (changed) RAM pages & re-copy.
  • 6. VM Memory Migration Techniques  Two techniques for moving the virtual machine's memory state from the source to the destination are pre-copy memory migration and post-copy memory migration.  The memory migration in general can be classified into three phases: 1. Push phase The source VM continues running while certain pages are pushed across the network to the new destination. To ensure consistency, the pages modified during the transmission process must be re-sent. 2. Stop-and-copy phase The source VM is stopped, pages are copied across to the destination VM, and then the new VM is started. 3. Pull phase The new VM starts its execution, and if it accesses a page that has not yet been copied, this page is faulted in, across the network from the source VM.
  • 7. Pre-copy Memory Migration  Warm-up phase In pre-copy memory migration, the Hypervisor typically copies all the memory pages from source to destination while the VM is still running on the source. If some memory pages change (become 'dirty') during this process, they will be re-copied  Stop-and-copy phase After the warm-up phase, the VM will be stopped on the original host, the remaining dirty pages will be copied to the destination, and the VM will be resumed on the destination host. The time between stopping the VM on the original host and resuming it on destination is called "down- time", and ranges from a few milliseconds to seconds according to the size of memory and applications running on the VM.
  • 8. How it Happens ?  The approach behind pre-copy is to transfer the memory to the destination over a series of iterations.
  • 9. Post-copy Memory Migration  Post-copy VM migration is initiated by suspending the VM at the source. With the VM suspended, a minimal subset of the execution state of the VM (CPU state, registers and, optionally, non- pageable memory) is transferred to the target. The VM is then resumed at the target.  Concurrently, the source actively pushes the remaining memory pages of the VM to the target - an activity known as pre-paging. At the target, if the VM tries to access a page that has not yet been transferred, it generates a page-fault.  These faults, known as network faults, are trapped at the target and redirected to the source, which responds with the faulted page.  Post-copy sends each page exactly once over the network. In contrast, pre-copy can transfer the same page multiple times if the page is dirtied repeatedly at the source during migration. On the other hand, pre-copy retains an up-to-date state of the VM at the source during migration, whereas with post-copy, the VM's state is distributed over both source and destination. If the destination fails during migration, pre-copy can recover the VM, whereas post-copy cannot.
  • 10. How it happens ?  In contrary to pre-copy, post-copy transfers the VCPU and devices state on the destination in the first step and starts the execution on destination in the second.
  • 11. Hypervisors  A Hypervisor or virtual machine monitor (VMM) is a piece of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor is running one or more virtual machines is defined as a host machine. Each virtual machine is called a guest machine.  In virtualization technology, hypervisor is a software program that manages multiple operating systems (or multiple instances of the same operating system) on a single computer system. The hypervisor manages the system's processor, memory, and other resources to allocate what each operating system requires. Hypervisors are designed for a particular processor architecture and may also be called virtualization managers.
  • 12. Hypervisor Types  "Formal Requirements for Virtualizable Third Generation Architectures" Gerald J. Popek and Robert P. Goldberg classified two types of hypervisor.  Type – 1 : Native or Bare – Metal Hypervisors.  Type – 2 : Hosted Hypervisors.
  • 13. Type – 1 Hypervisors  These hypervisors run directly on the host's hardware to control the hardware and to manage guest operating systems. For this reason, they are sometimes called bare metal hypervisors. A guest operating system runs as a process on the host.  The Type 1 hypervisor is often referred to as a hardware virtualization engine.  Examples include VMware ESXi Server, Microsoft Hyper-V, Citrix/Xen Server.
  • 14. Type – 1 : In brief  It works directly on the hardware of the host and can monitor operating systems that run above the hypervisor.  It is completely independent from the Operating System.  The hypervisor is small as its main task is sharing and managing hardware resources between different operating systems.  A major advantage is that any problems in one virtual machine or guest operating system do not affect the other guest operating systems running on the hypervisor.
  • 15. Type – 2 Hypervisors  These hypervisors run on a conventional operating system just as other computer programs do. Type-2 hypervisors abstract guest operating systems from the host operating system.  Type 2 hypervisors support guest virtual machines by coordinating calls for CPU, memory, disk, network and other resources through the physical host's operating system. This makes it easy for an end user to run a virtual machine on a personal computing device.  Examples of this type of hypervisor include VMware Fusion, Oracle VM, Parallels and VMware Workstation.
  • 16. Type – 2 : In brief  In this case, the hypervisor is installed on an operating system and then supports other operating systems above it.  It is completely dependent on host Operating System for its operations  While having a base operating system allows better specification of policies, any problems in the base operating system affects the entire system as well even if the hypervisor running above the base OS is secure.