COMBINED LIVE MIGRATION AND STORAGE MIGRATION USING FILE SHARES AND MIRRORING
First Claim
1. A machine-implemented method for migrating a virtual machine, the machine-implemented method comprising:
- requesting, from a source host executing the virtual machine to a destination host, creation of a file share at the destination host;
performing, by the source host, a storage migration of virtual machine files to the file share, all of the storage migration occurring while the virtual machine is executing at the source host;
mirroring, by the source host as part of the storage migration, disk write operations by the virtual machine such that the disk write operations are performed on a source virtual machine file of the source host and on a corresponding destination virtual machine file in the file share at the destination host;
performing, by the source host, a live migration of the virtual machine to the destination host, the mirroring being performed during at least a portion of the performing of the live migration, during a final stage of the live migration the execution of the virtual machine is stopped, or paused, on the source host, mirroring is canceled, the file share at the destination host is closed and the virtual machine is started on the destination host and is configured to use the migrated virtual machine files at the destination host; and
releasing, by the source host, virtual machine resources after a successful completion of the live migration from the source host to the destination host.
4 Assignments
0 Petitions
Accused Products
Abstract
Migration of a virtual machine and associated files to a destination host may be performed. A source host may initiate establishment of a temporary network file share at a destination location of the destination host to provide the source host and the destination host with access to the file share. While the virtual machine is running at the source host, a storage migration and a live migration may be initiated. Using the network file share, the source host may copy the associated files to the destination location. A runtime state of the virtual machine may be copied to the destination host. In a final phase of the migration, the virtual machine at the source host may be stopped, the storage migration may be completed, the copying of the runtime state may be completed, and the virtual machine may be started at the destination host.
103 Citations
20 Claims
-
1. A machine-implemented method for migrating a virtual machine, the machine-implemented method comprising:
-
requesting, from a source host executing the virtual machine to a destination host, creation of a file share at the destination host; performing, by the source host, a storage migration of virtual machine files to the file share, all of the storage migration occurring while the virtual machine is executing at the source host; mirroring, by the source host as part of the storage migration, disk write operations by the virtual machine such that the disk write operations are performed on a source virtual machine file of the source host and on a corresponding destination virtual machine file in the file share at the destination host; performing, by the source host, a live migration of the virtual machine to the destination host, the mirroring being performed during at least a portion of the performing of the live migration, during a final stage of the live migration the execution of the virtual machine is stopped, or paused, on the source host, mirroring is canceled, the file share at the destination host is closed and the virtual machine is started on the destination host and is configured to use the migrated virtual machine files at the destination host; and releasing, by the source host, virtual machine resources after a successful completion of the live migration from the source host to the destination host. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine-readable storage medium having instructions recorded thereon, such that when the instructions are executed by at least one processor, the at least one processor performs a method comprising:
-
migrating virtual machine files from storage at a source computing device to storage at a destination computing device while running a virtual machine on the source computing device, the storage at the destination computing device being temporarily accessible to both the source computing device and the destination computing device during the migrating of the virtual machine files; mirroring, by the source computing device as part of the migrating of the virtual machine files, disk write operations to a source file by the virtual machine executing on the source computing device such that the disk write operations are also performed on a destination file in the storage at the destination computing device; performing, by the source computing device, a live migration of the virtual machine from the source computing device to the destination computing device, the migrating of the virtual machine files and the minoring of the disk write operations being performed during at least a portion of the live migration of the virtual machine; performing, during a final stage of the live migration; stopping, or pausing, the virtual machine running on the source computing device, stopping the mirroring, completing the live migration, starting, or resuming, the virtual machine on the destination computing device, the virtual machine on the destination computing device using the virtual machine files migrated to the storage at the destination computing device, and releasing virtual machine resources used by the virtual machine on the source computing device. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method carried out by a first computing device and a second computing device executing in a networked environment, the method comprising:
-
receiving, by the first computing device, a request to migrate to the second computing device a virtual machine executing on the first computing device; initiating, by the first computing device, creation of a shared storage at the second computing device, the shared storage being accessible by both the first computing device and the second computing device; migrating, by the first computing device, virtual machine files of the virtual machine at the first computing device to the shared storage at the second computing device, most of the migrating of the virtual machine files being performed while the virtual machine at the first processing device is executing; copying at least some of a running state of the virtual machine at the first computing device from a memory of the first computing device to a memory of the second computing device, the copying occurring while the first computing device performs the migrating of the virtual machine files and the virtual machine at the first computing device is executing; mirroring, by the first computing device during the migrating of the virtual machine files, disk write operations to a file of the virtual machine at the first computing device such that the disk write operations are also performed to a file in the shared storage at the second computing device; and performing, when an amount of data, remaining to be copied, of the running state of the virtual machine at the first computing device is less than a given amount; stopping, or pausing, the virtual machine on the first computing device, stopping the mirroring of the disk write operations, copying the remaining data of the running state of the virtual machine at the first computing device to the memory of the second computing device, starting the virtual machine at the second computing device, the virtual machine at the second computing device initially having the running state copied to the memory of the second computing device and being configured to use the virtual machine files copied to the shared storage of the second computing device, and disabling, by the second computing device, sharing of the shared storage with the first computing device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification