Virtual mode execution manager
US-12118376-B2 · Oct 15, 2024 · US
US10318343B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10318343-B2 |
| Application number | US-201515534589-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 27, 2015 |
| Priority date | Sep 16, 2015 |
| Publication date | Jun 11, 2019 |
| Grant date | Jun 11, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The present application discloses a virtual machine migration method and apparatus. A specific implementation of the method includes: receiving a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determining migration operations respectively corresponding to the local data and the shared data in response to the migration request; and executing the migration operations corresponding to the local data and the shared data, to complete migration of the virtual machine. This implementation achieves the migration of a virtual machine with a hybrid storage mode, that is, a storage mode in which the data to be migrated includes both local data and shared data.
Opening claim text (preview).
What is claimed is: 1. A method for migrating a virtual machine, comprising: receiving a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determining migration operations respectively corresponding to the local data and the shared data in response to the migration request; and executing the migration operations corresponding to the local data and the shared data, to complete migration of the virtual machine; wherein the determining migration operations respectively corresponding to the local data and the shared data in response to the migration request comprises: determining a local storage device identifier of a local storage device corresponding to the local data and a shared storage device identifier of a shared storage device corresponding to the shared data and binding the shared storage device identifier to shared storage device feature information presenting a feature of the shared storage device, in response to the migration request; transmitting the local storage device identifier and the shared storage device identifier, as an input parameter of a driver layer under a local storage mode interface of a cloud computing management framework OpenStack, to the driver layer, to trigger a storage device distinguishing operation of the driver layer, wherein the storage device distinguishing operation comprises: determining whether a storage device identifier in the input parameter corresponds to the shared storage device feature information to obtain a determination result, and distinguishing the local storage device identifier from the shared storage device identifier in the input parameter based on the determination result; and determining the migration operations respectively corresponding to the local data and the shared data based on the local storage device identifier and the shared storage device identifier. 2. The method according to claim 1 , wherein the migration operations comprise: a copy operation for copying the to-be-migrated data to a target terminal, and a mounting operation for mounting a storage device file corresponding to the to-be-migrated data to the target terminal. 3. The method according to claim 2 , wherein the determining the migration operations respectively corresponding to the local data and the shared data based on the local storage device identifier and the shared storage device identifier comprises: determining the migration operation corresponding to the local data on the local storage device corresponding to the local storage device identifier as the copying operation, and determining the migration operation corresponding to the shared data on the shared storage device corresponding to the shared storage device identifier as the mounting operation. 4. The method according to claim 3 , wherein the driver layer is Qemu-Kvm. 5. The method according to claim 1 , further comprising: generating a storage device file corresponding to the shared data at the target terminal, before the determining migration operations respectively corresponding to the local data and the shared data in response to the migration request. 6. The method according to claim 5 , further comprising: performing an un-mounting operation on the storage device file and removing the local data, after the executing the migration operations corresponding to the local data and the shared data. 7. A device, comprising: a processor; and a memory storing computer readable instructions executable by the processor, the computer readable instructions when executed by the processor, causing the processor to: receive a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determine migration operations respectively corresponding to the local data and the shared data in response to the migration request; and execute the migration operations corresponding to the local data and the shared data, to complete migration of the virtual machine; wherein the determining migration operations respectively corresponding to the local data and the shared data in response to the migration request comprises: determining a local storage device identifier of a local storage device corresponding to the local data and a shared storage device identifier of a shared storage device corresponding to the shared data and binding the shared storage device identifier to shared storage device feature information presenting a feature of the shared storage device, in response to the migration request; transmitting the local storage device identifier and the shared storage device identifier, as an input parameter of a driver layer under a local storage mode interface of a cloud computing management framework OpenStack, to the driver layer, to trigger a storage device distinguishing operation of the driver layer, wherein the storage device distinguishing operation comprises: determining whether a storage device identifier in the input parameter corresponds to the shared storage device feature information to obtain a determination result, and distinguishing the local storage device identifier from the shared storage device identifier in the input parameter based on the determination result; and determining the migration operations respectively corresponding to the local data and the shared data based on the local storage device identifier and the shared storage device identifier. 8. The device according to claim 7 , wherein the migration operations comprise: a copy operation for copying the to-be-migrated data to a target terminal, and a mounting operation for mounting a storage device file corresponding to the to-be-migrated data to the target terminal. 9. The device according to claim 8 , wherein the determining the migration operations respectively corresponding to the local data and the shared data based on the local storage device identifier and the shared storage device identifier comprises: determining the migration operation corresponding to the local data on the local storage device corresponding to the local storage device identifier as the copying operation, and determining the migration operation corresponding to the shared data on the shared storage device corresponding to the shared storage device identifier as the mounting operation. 10. The device according to claim 9 , wherein the driver layer is Qemu-Kvm. 11. The device according to claim 7 , further comprising: generating a storage device file corresponding to the shared data at the target terminal, before the determining migration operations respectively corresponding to the local data and the shared data in response to the migration request. 12. The device according to claim 11 , further comprising: performing an un-mounting operation on the storage device file and removing the local data, after the executing the migration operations corresponding to the local data and the shared data. 13. A non-transitory computer storage medium storing computer readable instructions executable by a processor, the computer readable instructions when executed by the processor, causing the processor to: receive a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determine migration operations respectively corresponding to the
resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence) · CPC title
Hypervisor-specific management and integration aspects · CPC title
Distribution of virtual machine instances; Migration and load balancing · CPC title
Migration mechanisms · CPC title
by facilitating the interaction with a user or administrator · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.