Cloning live virtual machines

US9727274B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9727274-B2
Application numberUS-201313777892-A
CountryUS
Kind codeB2
Filing dateFeb 26, 2013
Priority dateFeb 26, 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.

A system and method are disclosed for cloning a live virtual machine (i.e., a virtual machine that is running). In accordance with one example, a computer system prepares an area of a storage device for a clone of a live virtual machine, and a transaction is then executed that comprises: creating the clone of the live virtual machine based on a live snapshot of the live virtual machine, copying the clone to the area of the storage device, and mirroring a change to a virtual disk of the live virtual machine that occurs after the live snapshot is created, wherein the mirroring is via one or more write operations to the virtual disk and to a replica of the virtual disk associated with the clone.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: allocating, by a processing device of a computer system comprising main memory, an area of a storage device for a clone of a live virtual machine running on the computer system by preventing the area from being used for storage and cloning operations other than for the clone of the live virtual machine, wherein the live virtual machine comprises a virtual disk; creating a live snapshot of the live virtual machine by copying the live virtual machine and the virtual disk; and executing, after the creating the live snapshot, a transaction, wherein the executing comprises: creating the clone of the live virtual machine on a portion of the main memory in view of the live snapshot of the live virtual machine, the clone comprising a replica of the virtual disk; copying the clone from the portion of the main memory to the area of the storage device; and mirroring a change to the virtual disk that occurs after the live snapshot is created, the change comprising a first write operation to the virtual disk, and the mirroring comprising performing a second write operation to the replica of the virtual disk to update the clone with the change, the second write operation corresponding to the change to the virtual disk. 2. The method of claim 1 further comprising detecting a failure in at least one of the creating the clone, the copying of the clone, or the mirroring. 3. The method of claim 2 further comprising deleting, in response to the detecting, the clone from the area of the storage device. 4. The method of claim 2 further comprising rolling back, in response to the detecting, the first and second write operations to the virtual disk and to the replica of the virtual disk, respectively. 5. The method of claim 1 further comprising initializing the area. 6. The method of claim 1 wherein the first write operation and the second write operation are concurrent. 7. The method of claim 1 wherein the copying and the mirroring are executed concurrently. 8. An apparatus comprising: a memory to store a live virtual machine comprising a virtual disk; and a processing device, operatively coupled to the memory, to: allocate an area of a storage device for a clone of the live virtual machine running on the apparatus by preventing the area from being used for storage and cloning operations other than for the clone of the live virtual machine; create a live snapshot of the live virtual machine by copying the live virtual machine and the virtual disk; and execute, after the live snapshot is created, a transaction, wherein to execute, the processing device is to: create the clone of the live virtual machine on a portion of the memory in view of the live snapshot of the live virtual machine, the clone comprising a replica of the virtual disk; copy the clone from the portion of the memory to the area of the storage device; and mirror a change to the virtual disk that occurs after the live snapshot is created, the change comprising a first write operation to the virtual disk, wherein to mirror, the processing device is to perform a second write operation to the replica of the virtual disk to update the clone with the change, the second write operation corresponding to the change to the virtual disk. 9. The apparatus of claim 8 wherein the processing device is further to detect a failure in at least one of the creation of the clone, the copying of the clone, or the mirroring. 10. The apparatus of claim 9 wherein the processing device is further to delete, in response to the detecting, the clone from the area of the storage device. 11. The apparatus of claim 9 wherein the processing device is further to roll back, in response to the detecting, the first and second write operations to the virtual disk and to the replica of the virtual disk, respectively. 12. The apparatus of claim 8 wherein the first write operation and the second write operation are concurrent. 13. The apparatus of claim 8 wherein the copying and the mirroring are executed concurrently. 14. A non-transitory computer readable storage medium, having instructions stored therein, which when executed, cause a processing device to: allocate, by the processing device of a computer system comprising main memory, an area of a storage device for a clone of a live virtual machine running on the computer system by preventing the area from being used for storage and cloning operations other than for the clone of the live virtual machine, wherein the live virtual machine comprises a virtual disk; creating a live snapshot of the live virtual machine by copying the live virtual machine and the virtual disk; and execute, after the creating the live snapshot, a transaction, wherein to execute, the processing device is to: create the clone of the live virtual machine on a portion of the main memory in view of the live snapshot of the live virtual machine, the clone comprising a replica of the virtual disk; copy the clone from the portion of the main memory to the area of the storage device; and mirror a change to the virtual disk that occurs after the live snapshot is created, the change comprising a first write operation to the virtual disk, wherein to mirror, the processing device is to perform a second write operation to the replica of the virtual disk to update the clone with the change, the second write operation corresponding to the change to the virtual disk. 15. The non-transitory computer readable storage medium of claim 14 wherein the processing device is further to detect a failure in at least one of the creation of the clone, the copying of the clone, or the mirroring. 16. The non-transitory computer readable storage medium of claim 15 wherein the processing device is further to delete, in response to the detection of the failure, the clone from the area of the storage device. 17. The non-transitory computer readable storage medium of claim 15 wherein the processing device is further to roll back, in response to the detection of the failure, the first and second write operations to the virtual disk and to the replica of the virtual disk.

Assignees

Inventors

Classifications

  • Virtualisation aspects · CPC title

  • by facilitating the interaction with a user or administrator · CPC title

  • in relation to response time · CPC title

  • Creating, deleting, cloning virtual machine instances · CPC title

  • Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS] · 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 US9727274B2 cover?
A system and method are disclosed for cloning a live virtual machine (i.e., a virtual machine that is running). In accordance with one example, a computer system prepares an area of a storage device for a clone of a live virtual machine, and a transaction is then executed that comprises: creating the clone of the live virtual machine based on a live snapshot of the live virtual machine, copying…
Who is the assignee on this patent?
Baron Ayal, Simoncelli Federico, Red Hat Israel Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/065. 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).