Virtual machine hot cloning including freezing and unfreezing memory in a distributed network
First Claim
1. A method for cloning a virtual machine from a source system to a target system in an information handling system, comprising:
- freezing writes to a storage file having storage blocks of an original virtual machine residing on a distributed network such that subsequent writes create new storage blocks for the original virtual machine, the distributed network using a first pointer to designate the location of the original virtual machine within a shared storage associated with the distributed network;
freezing writes to a memory content for the original virtual machine such that subsequent writes to the frozen memory content are stored in buffers, wherein freezing writes to the memory content includes freezing all levels of memory starting with a slowest level of memory and finishing with a fastest level of memory;
copying the frozen memory content including processor state and input/output state onto the target system wherein the copied memory content creates a clone of the original virtual machine;
unfreezing the memory content of the original virtual machine by merging the writes stored in the buffers with the frozen memory content;
unfreezing the writes to the storage file such that the original virtual machine and the clone both access the storage file;
configuring the clone of the virtual machine based on unique characteristics for the clone of the original virtual machine;
creating a second pointer, the second pointer designating the location of the clone of the original virtual machine within the shared storage of the distributed network; and
creating a new storage block for any subsequent writes to the storage file whereby the new storage block is unique to the virtual machine causing the subsequent writes to the storage file.
14 Assignments
0 Petitions
Accused Products
Abstract
A system and method for hot cloning in a distributed network is disclosed. In one embodiment, a method for cloning a virtual machine from a source system to a target system includes freezing writes to a storage file having storage blocks such that subsequent writes create new storage blocks for the original virtual machine. The method further including freezing writes to a memory content such that subsequent writes store in buffers. The method further including copying the memory content onto the target system wherein the copied memory content creates a clone. The method further including unfreezing the memory content by merging the writes stored in the buffers and unfreezing the writes to the storage file such that subsequent writes take place normally. The method further including configuring the clone based on the target system. The method further including creating a new storage block for any writes to the storage file whereby the new storage block is not shared.
41 Citations
17 Claims
-
1. A method for cloning a virtual machine from a source system to a target system in an information handling system, comprising:
-
freezing writes to a storage file having storage blocks of an original virtual machine residing on a distributed network such that subsequent writes create new storage blocks for the original virtual machine, the distributed network using a first pointer to designate the location of the original virtual machine within a shared storage associated with the distributed network; freezing writes to a memory content for the original virtual machine such that subsequent writes to the frozen memory content are stored in buffers, wherein freezing writes to the memory content includes freezing all levels of memory starting with a slowest level of memory and finishing with a fastest level of memory; copying the frozen memory content including processor state and input/output state onto the target system wherein the copied memory content creates a clone of the original virtual machine; unfreezing the memory content of the original virtual machine by merging the writes stored in the buffers with the frozen memory content; unfreezing the writes to the storage file such that the original virtual machine and the clone both access the storage file; configuring the clone of the virtual machine based on unique characteristics for the clone of the original virtual machine; creating a second pointer, the second pointer designating the location of the clone of the original virtual machine within the shared storage of the distributed network; and creating a new storage block for any subsequent writes to the storage file whereby the new storage block is unique to the virtual machine causing the subsequent writes to the storage file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An information handling system, comprising:
-
a distributed network including; a plurality of processors coupled to a processor bus; a memory coupled to the processor bus; a shared storage system operably coupled to the processors and the memory; the shared storage system including a target system and a source system having a virtual machine; the virtual machine including a storage file having a plurality of storage blocks; a first pointer designating the location of the virtual machine within the shared storage system; and the processors operable to execute instructions for cloning the virtual machine from the source system to the target system, comprising; freezing writes to the storage file wherein subsequent writes create new storage blocks for the virtual machine; freezing a memory content including processor state and input/output state for the virtual machine whereby subsequent writes to the frozen memory content are placed in buffers, wherein freezing the memory content includes freezing all levels of memory starting with a slowest level of memory and finishing with a fastest level of memory; copying the frozen memory content onto the target system to create a clone; unfreezing the memory content of the virtual machine by merging the writes placed in the buffers with the frozen memory content; unfreezing the writes to the storage file such that the virtual machine and the clone both access the storage file; configuring the clone based on unique characteristics for the clone; creating a second pointer, the second pointer designating the location of the clone within the shared storage of the distributed network; and creating a new storage block for any subsequent writes to the storage file whereby the new storage block is unique to the virtual machine causing the subsequent write to the storage file. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A tangible computer-readable storage medium having computer-executable instructions stored therein, the instructions for performing a method of cloning a virtual machine from a source system to a target system in an information handling system, comprising:
-
instructions for stopping writes to a storage file having storage blocks of an original virtual machine and freezing writes to a memory content for the original virtual machine such that subsequent writes to the frozen memory content are stored in buffers; instructions for copying the frozen memory content such that copying starts with a fastest level of memory and finishes with a slowest level of memory onto the target system wherein the copied memory content creates a clone of the original virtual machine; following the instructions for copying, instructions for unfreezing the writes to the storage file and unfreezing the memory content of the original virtual machine by merging the writes stored in the buffers with the frozen memory content; instructions for sharing the storage file between the original virtual machine and the clone of the original virtual machine; instructions for configuring the clone of the virtual machine based on unique characteristics for the clone of the virtual machine; instructions for creating a pointer, the pointer designating the location of the clone of the virtual machine within the information handling system; and instructions for creating a new storage block for any subsequent writes to the storage file whereby the new storage block is unique to the virtual machine causing the subsequent write to the storage file. - View Dependent Claims (15, 16, 17)
-
Specification