Live migration with pre-opened shared disks
First Claim
Patent Images
1. A method comprising:
- receiving a request to perform a live migration of a source virtual machine (VM) on a source host to a destination VM on a destination host;
in response to the received request, downgrading a lock on at least one disk of the source VM from an exclusive mode to a non-exclusive mode;
opening the disk on the destination VM in the non-exclusive mode while the source VM is executing;
suspending execution of the source VM;
transferring a virtual device state of the source VM to the destination VM;
executing the destination VM;
closing the disk on the source VM; and
upgrading the lock on the disk by the destination VM from the non-exclusive mode to the exclusive mode.
3 Assignments
0 Petitions
Accused Products
Abstract
Examples perform live migration of virtual machines (VM) from a source host to a destination host. The live migration performs time-consuming operations before the source host is stunned, reducing the downtime apparent to users. Some examples contemplate pre-copying memory from the source VM to the destination VM, and the opening of disks on the destination VM before stunning the source VM.
51 Citations
20 Claims
-
1. A method comprising:
-
receiving a request to perform a live migration of a source virtual machine (VM) on a source host to a destination VM on a destination host; in response to the received request, downgrading a lock on at least one disk of the source VM from an exclusive mode to a non-exclusive mode; opening the disk on the destination VM in the non-exclusive mode while the source VM is executing; suspending execution of the source VM; transferring a virtual device state of the source VM to the destination VM; executing the destination VM; closing the disk on the source VM; and upgrading the lock on the disk by the destination VM from the non-exclusive mode to the exclusive mode. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. One or more non-transitory computer-readable storage media including computer-executable instructions that, when executed, cause at least one processor to perform live migration using shared disk locks by:
-
downgrading locks on one or more disks of a source virtual machine (VM) from an exclusive mode to a non-exclusive mode, wherein a destination VM opens the disks in non-exclusive mode while the source VM is executing; suspending execution of the source VM; transferring virtual memory of the source VM to the destination VM, wherein the destination VM begins execution after restoration of the virtual memory at the destination VM; and closing the disks on the source VM, wherein the destination VM upgrades the locks from the non-exclusive mode to the exclusive mode. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for performing live migration with one or more shared disks, said system comprising:
-
a memory area associated with a computing device, said memory area storing a destination virtual machine (VM); and a processor programmed to; open, in a non-exclusive mode on the destination VM, one or more disks associated with a source VM while the source VM is executing; execute the destination VM after receiving a virtual device state of the source VM; and after the source VM closes the disks, change the disks from the non-exclusive mode to an exclusive mode. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification