LIGHTWEIGHT SYNCHRONIZATION OF MIRRORED DISKS
First Claim
1. A method comprising:
- identifying, by the virtual machine monitor, a steady state wherein contents associated with a virtual machine stored on a source disk and a destination disk are equal;
receiving a set of write requests comprising data from a guest operating system of the virtual machine;
providing confirmation of a completion of the set of writes to the source disk;
asynchronously replicating the set of write requests to the destination disk;
receiving a flush request from the guest operating system of the virtual machine;
providing, to the guest operating system, confirmation of completion of a flush of the destination disk following replication of the set of write requests to the destination disk and writing of the data to persistent storage of the destination disk;
receiving a switch request from the virtual machine manager; and
switching the virtual machine to the destination disk and issuing subsequent write requests to the destination disk.
1 Assignment
0 Petitions
Accused Products
Abstract
In a process for migrating a virtual machine'"'"'s storage from a source disk to a destination disk, during a steady state (i.e., wherein the contents of the virtual machine stored on the source disk and the destination disk are equal), a virtual machine monitor receives a set of write requests from a guest operating system (“guest”) of the virtual machine, provides confirmation of the completion of the set of writes to the source disk, and asynchronously replicates the set of write requests to the destination disk. Upon receipt of a flush request from the guest, the virtual machine monitor confirms completion of the flushing of the destination disk following replication of the write requests to the destination disk. Upon receipt of a switch request from a virtual machine manager, the virtual machine monitor switches the virtual machine to the destination disk and issues subsequent write requests to the destination disk.
38 Citations
20 Claims
-
1. A method comprising:
-
identifying, by the virtual machine monitor, a steady state wherein contents associated with a virtual machine stored on a source disk and a destination disk are equal; receiving a set of write requests comprising data from a guest operating system of the virtual machine; providing confirmation of a completion of the set of writes to the source disk; asynchronously replicating the set of write requests to the destination disk; receiving a flush request from the guest operating system of the virtual machine; providing, to the guest operating system, confirmation of completion of a flush of the destination disk following replication of the set of write requests to the destination disk and writing of the data to persistent storage of the destination disk; receiving a switch request from the virtual machine manager; and switching the virtual machine to the destination disk and issuing subsequent write requests to the destination disk. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium including instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
-
identifying, by a virtual machine monitor executed by the processing device, a steady state wherein contents associated with a virtual machine stored on a source disk and a destination disk are equal; receiving, by the virtual machine monitor, a set of write requests comprising data from a guest operating system of the virtual machine; providing confirmation of a completion of the set of writes to the source disk; asynchronously replicating the set of write requests to the destination disk; receiving a flush request from the guest operating system of the virtual machine; providing, to the guest operating system, confirmation of completion of a flush of the destination disk following replication of the set of write requests to the destination disk and writing of the data to persistent storage of the destination disk; receiving a switch request from a virtual machine manager; and switching the virtual machine to the destination disk and issuing subsequent write requests to the destination disk. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a memory; a processing device, coupled to the memory, the processing device to perform operations comprising; identifying, by the virtual machine monitor, a steady state wherein contents associated with a virtual machine stored on a source disk and a destination disk are equal; receiving a set of write requests comprising data from a guest operating system of the virtual machine; providing confirmation of a completion of the set of writes to the source disk; asynchronously replicating the set of write requests to the destination disk; receiving a flush request from the guest operating system of the virtual machine; providing, to the guest operating system, confirmation of completion of a flush of the destination disk following replication of the set of write requests to the destination disk and writing of the data to persistent storage of the destination disk; receiving a switch request from the virtual machine manager; and switching the virtual machine to the destination disk and issuing subsequent write requests to the destination disk. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification