Robust live migration using shared filesystem
First Claim
1. A method for transferring guest physical memory from a source host to a destination host during live migration of a virtual machine (VM) to which the guest physical memory is associated, the source host being a physical computer hosting the VM prior to the live migration and the destination host being a physical computer hosting the VM after the live migration completes, the method comprising:
- creating a file on a shared datastore, the file on the shared datastore being accessible to both the source host and the destination host;
transmitting pages of the guest physical memory from the source host to the destination host over a network connection that places the source host and destination in communication with each other; and
writing pages of the guest physical memory to the file so that the destination host can retrieve the written guest physical pages from the file, wherein the writing of pages of the guest physical memory occurs concurrently with the transmitting of the pages over the network connection.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for transferring guest physical memory from a source host to a destination host during live migration of a virtual machine (VM) involves creating a file on a shared datastore, the file on the shared datastore being accessible to both the source host and the destination host. Pages of the guest physical memory are transferred from the source host to the destination host over a network connection and pages of the guest physical memory are written to the file so that the destination host can retrieve the written guest physical pages from the file.
30 Citations
17 Claims
-
1. A method for transferring guest physical memory from a source host to a destination host during live migration of a virtual machine (VM) to which the guest physical memory is associated, the source host being a physical computer hosting the VM prior to the live migration and the destination host being a physical computer hosting the VM after the live migration completes, the method comprising:
-
creating a file on a shared datastore, the file on the shared datastore being accessible to both the source host and the destination host; transmitting pages of the guest physical memory from the source host to the destination host over a network connection that places the source host and destination in communication with each other; and writing pages of the guest physical memory to the file so that the destination host can retrieve the written guest physical pages from the file, wherein the writing of pages of the guest physical memory occurs concurrently with the transmitting of the pages over the network connection. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium storing instructions that when executed by a computer system cause the computer system to perform a method for transferring guest physical memory from a source host to a destination host during live migration of a virtual machine (VM) to which the guest physical memory is associated, the source host being a physical computer hosting the VM prior to the live migration and the destination host being a physical computer hosting the VM after the live migration completes, the method comprising:
-
creating a file on a shared datastore, the file on the shared datastore being accessible to both the source host and the destination host; transmitting pages of the guest physical memory from the source host to the destination host over a network connection that places the source host and destination in communication with each other; and writing pages of the guest physical memory to the file so that the destination host can retrieve the written guest physical pages from the file, wherein the writing of pages of the guest physical memory occurs concurrently with the transmitting of the pages over the network connection. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method of migrating virtual machines from a source host to a destination host over a network, comprising:
-
copying memory pages associated with an executing state of a virtual machine from the source host to the destination host over the network; before all of the memory pages associated with the executing state of the virtual machine have been copied from the source host to the destination host over the network, switching execution control of the virtual machine from the source host to the destination host; and after the execution control of the virtual machine has been switched from the source host to the destination host, receiving at the source host a request for contents of a memory page from the destination host and, in response thereto, writing the contents of the memory page in a multiwriter file that is shared by the source host and the destination host, wherein the request is written in the multiwriter file by the destination host and read from the multiwriter file by the source host and wherein the source host writes a reply to the destination host in the multiwriter file in addition to the contents of the memory page. - View Dependent Claims (16)
-
-
17. A method for transferring guest physical memory from a source host to a destination host during live migration of a virtual machine (VM) to which the guest physical memory is associated, the source host being a physical computer hosting the VM prior to the live migration and the destination host being a physical computer hosting the VM after the live migration completes, the method comprising:
-
creating a multiwriter file on a shared datastore, the multiwriter file on the shared datastore being accessible to both the source host and the destination host; transmitting pages of the guest physical memory from the source host to the destination host over a network connection that places the source host and destination in communication with each other, wherein the network connection is a first datapath for the transmitting of the pages of the guest physical memory from the source host to the destination host and the multiwriter file is a second datapath for the writing of the pages of the guest physical memory to the multiwriter file; and writing pages of the guest physical memory to the file so that the destination host can retrieve the written guest physical pages from the file, wherein the pages of guest physical memory are transferred to the destination over the first and second datapaths concurrently using a load balancing algorithm.
-
Specification