VMware has many powerful advanced features to provide your virtual infrastructure High Availability with zero downtime. In this post i will discuss with you about the one of them very cool feature which is “vMotion”. vMotion provides the VMware Admins to manage their virtual machines with high availability & zero downtime with service availability.
vMotion provides the Live Migration of Virtual Machines. so what exactly mean by the Live Migration so let’ see.
vMotion Enables the Live Migration which allows user to migrate or transfer the running live virtual machine from one physical server to another physical server. In this case the physical server is your ESXi Hosts & you create virtual machines on the ESXi hosts. so by using vMotion you can easily migrate your virtual machine from one host to another host.
vMotion lets you migrate virtual machine in live state means the live running virtual machine will be migrated from one host to another host and there will be no downtime, no service interruptions. The Virtual Machine will migrated as it is as it was running on the first host with the same applications running in the background. when the vMotion occurs on the virtual machine users will also be unaware that their live running virtual machine is migrated to another resource. vMotion helps vmware admins to easily manage the load of virtual machines between multiple hosts by migrating virtual machines from one host to another so that you can migrate highest resource hungry virtual machine to the host which is not using the much resources.
Benefits of vMotion :-
- Balances the load of ESXi Server by migrating virtual machine from one host to another.
- Zero downtime & Applications running uninterrupted
- Helps to perform Patching & Maintenance activity on Hosts by migrating virtual machines
- Cross vCenter vMotion.
vMotion let’s you manually balance the load of your ESXi hosts. If any of your Host is going for maintenance activity for some of reason then you don’t have to worry about the virtual machines uptime with vMotion you can easily migrate that virtual machines to another host to provide the availability to your users. In the case when one of your ESXi host is on high usage you can migrate some of virtual machine to another host to balance the load of the ESXi hosts.
So how the vMotion or Live Migration Works ?
Virtual Machine is powered on & is in live state the applications are running. VMware Admin initiates the vMotion.
Virtual Machine active memory pages & the state from the source host gets copied from source host to the destination host. memory pages are refreshed & changes in the memory occurs in the milliseconds so to keep record of changes ESXi host keeps track of log of changed memory & stores it in memory bitmap. After copying the whole RAM of virtual machine to the destination host virtual machine gets suspended from source host then the memory bitmap file is transferred to the destination host & the destination host resumes the virtual machine. This process is very fast as you can not see all the things going on live.
Your virtual machine is migrated successfully now the host sends the RARP Packets to the physical network to register it’s MAC address. Now the VM is successfully operating on the destination host the memory of the vm on the source host is deleted.
vMotion Requirements :-
- Shared Storage that should be accessible by both source & destination hosts
- VMkernel port with vMotion enabled on source & destination host.
- Gigabit Ethernet or Faster Network Interfaces(NIC)
- CPU Compatibility or EVC enabled on the cluster.
Checkout Our Posts on vMotion :-
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.
Graphics credits & thanks to VMware.