Method and system for detecting virtual machine migration
AssigneeNetApp, Inc.
InventorsVivek Venkatesan, Narayan Venkat, Frederick Knight, Kenny Speer
Life of this patent
Estimating the term…
Abstract
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.
Claims20
A machine implemented method for caching data of a virtual machine migrated from a source computing system to a destination computing system, comprising:
- detecting that a first identifier identifying the virtual machine and a second identifier identifying the source computing system hosting the virtual machine have changed, when the virtual machine is migrated from the source computing system to a destination computing system resulting in a migrated virtual machine;
- and
- 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.
A machine implemented method for a virtual machine executed at a source computing system, comprising:
- configuring a logical object representing storage space at a first storage device to be used as a cache for the virtual machine;
- storing a first identifier identifying the virtual machine as an attribute of the logical object after a first input/output request is targeted at the logical object;
- and
- detecting migration of the virtual machine from the source computing system to a destination computing system when the first identifier and a second identifier have changed, where the second identifier identifies the source computing system hosting the virtual machine.
A system comprising:
- a source computing system executing a virtual machine;
- and
- a processor executable caching device interface at a virtual machine monitor module executing instructions to configure a logical object for representing storage space at a first storage device for the virtual machine as a cache;
- wherein the caching device interface stores a first identifier for identifying the virtual machine as an attribute of the logical object after the logical object is initialized to be used as a cache for the virtual machine at the source computing system;
- and
- wherein the virtual machine is migrated from the source computing system to a destination computing system when the first identifier and a second identifier have changed, where the second identifier identifies the source computing system hosting the virtual machine.
A system, comprising:
- a source computing system executing a virtual machine;
- a processor executable caching device interface executing instructions to configure a logical object representing storage space at a first storage device used as a cache for the virtual machine;
- and
- a caching driver at a destination computing system that initializes a second storage device to be used as a cache when the virtual machine is migrated to the destination computing system, by marking the logical object as a failed cache and obtaining an identifier for the destination computing system;
- wherein the virtual machine has migrated to the destination computing system when a first identifier identifying a virtual machine and a second identifier identifying the source computing system have changed.
Dependencies are inferred from the claim text.