Waqas Hasan
Department of Computer Science, Bahria University Karachi Pakistan.
Corresponding Author E-mail: waqashasan94@gmail.com
DOI : http://dx.doi.org/10.13005/ojcst14.010203.06
Article Publishing History
Article Received on : 22 Jun 2021
Article Accepted on : 11 Feb 2022
Article Published : 28 Feb 2022
Plagiarism Check: Yes
Reviewed by: Dr. Vineetha Mathai
Second Review by: Dr. J.Chandra Priya
Article Metrics
ABSTRACT:
Cloud computing provides multiple services to users through the internet and these services include cloud storage, applications, servers, security and large network access. Virtual Machine allows the user to emulate multiple operating systems on a single computer; with the help of virtual machine migration users can transfer operating system instances from one computer to multiple computer machines. In this paper we will be discussing VM migration in cloud and also I will explain the whole procedure of VM migration. The two methods through which we can perform VM migration are Live VM migration and NON-live VM migration.VM migration also helps in managing the loads of the multiple machines and with VM we can save power consumption. People have written about cloud computing and virtual machines in previous studies, but in this research, we'll speak about virtual machine migration in cloud computing, as well as the techniques that are used in the VM migration process. I have used table to show the differences between VM migration techniques.
Copy the following to cite this article:
Hasan W. Virtual Machine Migration in Cloud Computing. Orient.J. Comp. Sci. and Technol; 14(1,2,3).
|
Copy the following to cite this URL:
Hasan W. Virtual Machine Migration in Cloud Computing. Orient.J. Comp. Sci. and Technol; 14(1,2,3).Available from: https://bit.ly/3vEj5hA
|
Introduction
Virtual Machine gives users the ability to
run multiple operating systems on a single physical device.
However, there will come a time when the
computer machine’s memory will be full, causing the computer machine to slow
down. To address this issue, we can use VM migration, which allows users to
transfer operating system instances from one physical computer machine to
multiple physical computer machines.
Previously, in order to use cloud
migration techniques, users had to shut down their computer systems in order to
transfer the OS, which caused disruption, So, to overcome this problem, a
migration technique has been introduced which is called live VM migration.
The amount of downtime and disruption caused by live VM migration is negligible.
Hypervisor
Hypervisor which is also called Virtual
Machine Monitor is an emulator, hardware, software which gives computer machine
the ability to run multiple operating systems (Virtual Machines) at the same
time
The virtual machines are also called guest machines and the physical machine in which the guest machines are running is called host machine.
VM migration has two important things to consider.
VM Downtime/Latency
Virtual machine downtime is the time at which users can not use services of the VM; during VM downtime the VM services are not available to the users.
VM Migration Time
The time taken by VM to migrate from host machine to destination machine is called VM migration time.
Objective
The aim of this paper is to learn about virtual machine migration procedures and to assist people in learning more about virtual machine migration and how it is achieved. We will explore the techniques and significance of VM migration, as well as the benefits of VM migration and cloud storage in this paper.
Working
Non-Live VM Migration/Cold Migration
Non-live migration is a VM migration procedure in which the VM must be shut down in the host machine before transferring VM from the host computer to the destination computer.39
Live VM Migration/Hot Migration
Live VM
migration is a VM migration procedure for transferring virtual machines (VMs)
from one machine to another without causing any downtime.
No need to shutdown host machine.
Techniques and Methods of Live VM Migration
There are two types of methods and techniques which are used in live virtual machine migration.
Pre-Copy
Warm-up-phase
The hypervisor copies all of the memory from the host machine to the destination machine during pre-copy process, and during warm up phase the VM continues to work on the host machine without any downtime, If any memory pages alter (become “dirty pages”) during the pre-copy memory migration phase, the iteration process will re-copy the dirty pages until we have all of the original memory pages.
Stop-and-copy phase
In stop-and-copy phase the VM will halt on the host machine server, the remaining dirty pages will passed to the destination machine and then VM would then start at destination computer.
Merging Warm-up-phase and Stop-and -copy phase
Representation 2(Pre-Copy)
Post-Copy
Post-copy VM migration begins with the host machine halting and suspending the VM; when the VM is suspended, a limited portion of the VM’s execution state is passed to the destination machine, and the VM is then restored at the destination machine. Around the same time, the host machine moves the host machine’s remaining memory pages to the destination machine. This is referred to as the pre-paging method; a fault would be generated if the VM on the destination machine attempted to read a memory page that had not yet been transferred to the destination machine. These errors are called network errors, and these errors will stuck at the destination machine and then these errors will be re-routed to the host machine, resulting in faulted pages being generated, and having so many network errors will reduce performance of the VM, to overcome these errors PRE-PAGING process is use.
Representation 2(Post-Copy)
Advantages
Performance Handling
VM migration helps in increasing the performance of the machine by distributing the work load of a single machine to multiple machines
Sometimes too much load can decrease the performance of the machine so to overcome this problem we can use live VM Migration to distribute load of a single machine to multiple machines.
Server Failure Recovery
In case of server failure VM migration transfer user from the bad server to the working server with a very low amount of downtime
Robust
If one VM fail the other VMs will continue to work without any problem
Energy Saving
VM migration allows the users to save energy by combining the load of several server computers into one single physical unit (machine).
VM migration allows single machine to handle the workload of multiple machines
By handling the load of multiple machines the load of the other machines decreases hence less electric energy is used.
Security
The
data in one virtual machine is completely isolated from the other virtual
machines which are running in the same physical machine
Data
isolation safe data from viruses
If a data of single VM is attack by a virus the data of the rest of the VMs will not be affected by the virus because all VMs are isolated and separated from each other
Conclusion
In this survey paper I have explained
Virtual memory and VM migration techniques and also explained how these VM
migration techniques work.
I have focused mostly on live
VM because non-live VM migration is not very efficient because in non-live VM
migration the user has to shut down the host computer machine before
transferring the VM to the destination machine.
Users have extremely little
downtime while migrating to a live VM, making it more dependable and efficient
than non-live VM migration.
My final conclusion is that there is room for improvement in both pre-copy and post-copy because they both have issues and drawbacks. In pre-copy, the stop and copy phase produces a little bit of downtime when transferring dirty pages, and in post-copy, the faulted pages create a little amount of downtime.
Conflict of Interest
There is no conflict of interest.
Funding Sources
There is no funding source.
References
- Choudhary, A., et al., A critical survey of live virtual machine migration techniques. Journal of Cloud Computing, 2017. 6(1): p. 1-41.
CrossRef - Garfinkel, T., et al. Terra: A virtual machine-based platform for trusted computing. in Proceedings of the nineteenth ACM symposium on Operating systems principles. 2003.
CrossRef - Hu, B., et al. A time-series based precopy approach for live migration of virtual machines. in 2011 IEEE 17th International Conference on Parallel and Distributed Systems. 2011. IEEE.
CrossRef - Kaur, P. and A. Rani, Virtual machine migration in cloud computing. International Journal of Grid Distribution Computing, 2015. 8(5): p. 337-342.
CrossRef - Noshy, M., A. Ibrahim, and H.A. Ali, Optimization of live virtual machine migration in cloud computing: A survey and future directions. Journal of Network and Computer Applications, 2018. 110: p. 1-10.
CrossRef - Razali, R.A.M., et al. Virtual machine migration implementation in load balancing for Cloud computing. in 2014 5th International Conference on Intelligent and Advanced Systems (ICIAS). 2014. IEEE.
CrossRef - Sharma, S. and M. Chawla. A technical review for efficient virtual machine migration. in 2013 International Conference on Cloud & Ubiquitous Computing & Emerging Technologies. 2013. IEEE.
CrossRef - Sohrabi, S., et al. Adaptive virtual machine migration mechanism for energy efficiency. in Proceedings of the 5th International Workshop on Green and Sustainable Software. 2016.
CrossRef

This work is licensed under a Creative Commons Attribution 4.0 International License.