Migration methods and apparatuses for migrating virtual machine including locally stored and shared data

US10318343B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10318343-B2
Application numberUS-201515534589-A
CountryUS
Kind codeB2
Filing dateNov 27, 2015
Priority dateSep 16, 2015
Publication dateJun 11, 2019
Grant dateJun 11, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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

Assignees

Inventors

Classifications

  • G06F9/4856Primary

    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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10318343B2 cover?
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 r…
Who is the assignee on this patent?
Beijing Baidu Netcom Sci & Tec
What technology area does this patent fall under?
Primary CPC classification G06F9/4856. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 11 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).