Method and system for detecting virtual machine migration

US9729660B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9729660-B2
Application numberUS-201313949550-A
CountryUS
Kind codeB2
Filing dateJul 24, 2013
Priority dateJul 24, 2013
Publication dateAug 8, 2017
Grant dateAug 8, 2017

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.

Method and system for detecting migration of a virtual machine are provided. The method detects that a first identifier for identifying a virtual machine and a second identifier identifying a source computing system hosting the virtual machine that accesses a storage space via a logical object have changed, when the virtual machine is migrated from the source computing system to a destination computing system. Thereafter, a storage device at the destination computing system is initialized to operate as a caching device for the migrated virtual machine.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: determining whether a source virtual machine executing on a source computing system is migrated to a destination computing system for execution as a migrated virtual machine by detecting a change of a first identifier identifying the source virtual machine and of a second identifier identifying the source computing system; and in response to determining that the source virtual machine is migrated to the destination computing system, initializing a storage device at the destination computing system to operate as a caching device for the migrated virtual machine and caching data stored by the migrated virtual machine at the storage device. 2. The method of claim 1 , further comprising: initializing, at the source computing system, a logical unit number (LUN) for the source virtual machine; and in response to receiving at the source computing system, an input/output request having a specific tag to use the LUN, storing the first identifier as an attribute of the LUN. 3. The method of claim 2 , wherein a caching device interface presents the LUN to a virtual interface layer of a virtual machine monitor that presents the LUN to the source virtual machine. 4. The method of claim 2 , wherein initializing the storage device further comprises: marking at the destination computing system, the LUN as a failed cache and obtaining a value of a third identifier identifying the destination computing system. 5. The method of claim 1 , further comprising: storing the first identifier in a memory of the source computing system by a caching device interface of a virtual machine monitor of the source virtual machine. 6. The method of claim 1 , further comprising: in response to the first identifier changing and the second identifier remaining unchanged, sending a start command for a reboot operation of the source virtual machine. 7. A method comprising: configuring a logical object representing storage space at a first storage device to be used as a cache for a source virtual machine executing at a source computing system; in response to receiving a first input/output request targeted toward the logical object, storing a first identifier identifying the source virtual machine as an attribute of the logical object; and determining whether execution of the source virtual machine is migrated from the source computing system to a destination computing system for execution as a migrated virtual machine by detecting that the first identifier and a second identifier have changed, wherein the second identifier identifies the source computing system; and in response to determining that execution of the source virtual machine is migrated to the destination computing system, marking at the destination computing system, the logical object as a failed cache. 8. The method of claim 7 , further comprising: initializing a second storage device at the destination computing system to operate as a caching device for the migrated virtual machine at the destination computing system. 9. The method of claim 8 , wherein initializing the second storage device further comprises: obtaining a third identifier for the destination computing system. 10. The method of claim 7 , further comprising: saving, by a caching device interface of a virtual machine monitor of the source virtual machine, the first identifier in a data structure as an attribute of the logical object. 11. The method of claim 10 , wherein the caching device interface presents the logical object to a virtual interface layer of the virtual machine monitor that presents the logical object to the source virtual machine. 12. A system comprising: a source computing system having a first processor executing a virtual machine; a first storage device coupled to the source computing system; and a caching device interface executing on the first processor at a virtual machine monitor of the virtual machine, the caching device interface configured to execute instructions to configure a logical unit number (LUN) as a first cache for the virtual machine, the LUN having storage space at the first storage device; in response to initializing the first cache, store a first identifier for identifying the virtual machine as an attribute of the LUN; determine whether the virtual machine is migrated from the source computing system to a destination computing system for execution as a migrated virtual machine by detecting that the first identifier changes and a second identifier changes, wherein the second identifier identifies the source computing system; and in response to determining that the virtual machine is migrated, mark the LUN as a failed cache. 13. The system of claim 12 , further comprising: a caching driver executing on a second processor of the destination computing system, the caching driver configured to execute instructions to initialize a second storage device coupled to the destination computing system to operate as a second cache for the migrated virtual machine at the destination computing system. 14. The system of claim 13 , wherein the instructions to initialize the second storage device, further comprises instructions to: obtain a third identifier for the destination computing system. 15. The system of claim 12 , wherein the caching device interface presents the LUN to a virtual interface layer that presents the LUN to the migrated virtual machine. 16. The system of claim 15 , wherein the migrated virtual machine and the virtual interface layer are executed on different computing devices. 17. The system of claim 15 , wherein the migrated virtual machine and the virtual interface layer are executed on a same computing device. 18. A system, comprising: a source computing system having a processor executing a virtual machine; a first storage device coupled to the source computing system; a caching device interface executing instructions on the processor to configure a logical object as a cache for the virtual machine, the logical object representing storage space at a first storage device; and a caching driver executing at a destination computing system and configured to (i) obtain an identifier of the destination computing system, (ii) detect that the virtual machine is migrated to the destination computing system by determining that a first identifier identifying the virtual machine has changed and that a second identifier identifying the source computing system has changed, (iii) initialize a second storage device as a cache for the virtual machine migrated to the destination computing system, and (iv) mark the logical object as a failed cache. 19. The system of claim 18 , wherein the caching device interface is further configured to execute instructions to save the first identifier as an attribute of the logical object. 20. The system of claim 19 , wherein the caching device interface is further configured to execute instructions to present the logical object to a virtual interface layer that presents the logical object to the virtual machine migrated to the destination computing system.

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

  • Hypervisors; Virtual machine monitors · CPC title

  • Distribution of virtual machine instances; Migration and load balancing · CPC title

  • Electricity · mapped topic

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 US9729660B2 cover?
Method and system for detecting migration of a virtual machine are provided. The method detects that a first identifier for identifying a virtual machine and a second identifier identifying a source computing system hosting the virtual machine that accesses a storage space via a logical object have changed, when the virtual machine is migrated from the source computing system to a destination c…
Who is the assignee on this patent?
Netapp Inc
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 Aug 08 2017 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 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).