IP Library › Granted Patent US 8,239,646
Granted Patent B2
US 8,239,646 · App. 12/184,134 · Granted Aug 7, 2012

Online virtual machine disk migration

Assignee: VMware, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,239,646
App. No.
12/184,134
Granted
Aug 7, 2012
Kind
B2
Abstract

A method for migrating a virtual machine disk (VM disk) from first physical storage to second physical storage while the virtual machine (VM) is running, the method comprising: (a) taking a snapshot of the VM disk as represented by a first parent VM disk stored on the first physical storage, whereby a first child VM disk is created on one of the first or second physical storage; (b) copying the first parent VM disk to the second physical storage as a second parent VM disk; (c) re-parenting the first VM child disk to the second parent VM disk; and (d) consolidating the first child VM disk and the second parent VM disk.

Claims (40)

1. A method for migrating a virtual machine disk (VM disk) from first physical storage to second physical storage while the virtual machine (VM) is running, the method comprising:

taking a snapshot of the VM disk as represented by a first parent VM disk stored on the first physical storage, whereby a first child VM disk is created;

copying the first parent VM disk to the second physical storage as a second parent VM disk while redirecting writes for the first parent VM disk to the first child VM disk;

re-parenting the first VM child disk to the second parent VM disk; and

consolidating the first child VM disk and the second parent VM disk;

wherein changes during the consolidating of the first child VM disk and the second parent VM disk are captured by:

(a) creating a second child VM disk;

(b) redirecting writes for the first child VM disk to the second child VM disk during the consolidating;

(c) re-parenting the second child VM disk to the second parent VM disk after the consolidating; and

(d) performing a consolidation operation of the second child VM disk with the second parent VM disk.

2. The method of claim 1 wherein the first child VM disk is a redo log.

3. The method of claim 1 further comprising, after the first child VM disk is created:

designating the first parent VM disk as read-only; and

retaining the first parent VM disk in a static state by redirecting writes intended for the first parent VM disk to the first child VM disk.

4. The method of claim 1 further comprising, prior to consolidating:

directing a read intended for the first parent VM disk to the first child VM disk if information associated with the read is unavailable in the first parent VM disk.

5. The method of claim 1 wherein the first child VM disk is represented as a file or as a raw device mapping.

6. The method of claim 1 wherein the first parent VM disk is represented as a file or as a raw device mapping.

7. The method of claim 1 further comprising, after creating the second child VM disk and prior to consolidating the first child VM disk and the second parent VM disk:

directing a read intended for the first parent VM disk to the first child VM disk if information associated with the read is unavailable in the first parent VM disk; and

directing the read to the second child VM disk if the information is unavailable in the first child VM disk.

8. The method of claim 1 further comprising migrating the virtual machine from a first host platform to a second host platform.

9. The method of claim 1 wherein said virtual machine comprises a template, wherein said first child VM disk comprises information that customizes said template.

10. A non-transitory computer-readable medium having computer-executable instructions for causing a virtualized computer system to perform a method for migrating a virtual machine disk (VM disk) from first physical storage to second physical storage while the virtual machine (VM) is running, the method comprising:

taking a snapshot of the VM disk as represented by a first parent VM disk stored on the first physical storage, whereby a first child VM disk is created;

copying the first parent VM disk to the second physical storage as a second parent VM disk while redirecting writes for the first parent VM disk to the first child VM disk;

re-parenting the first VM child disk to the second parent VM disk; and

consolidating the first child VM disk and the second parent VM disk;

wherein changes during the consolidating of the first child VM disk and the second parent VM disk are captured by:

(a) creating a second child VM disk;

(b) redirecting writes for the first child VM disk to the second child VM disk during the consolidating;

(c) re-parenting the second child VM disk to the second parent VM disk after the consolidating; and

(d) performing a consolidation operation of the second child VM disk with the second parent VM disk.

11. The non-transitory computer-readable medium of claim 10 wherein the method further comprises, after the first child VM disk is created:

designating the first parent VM disk as read-only; and

retaining the first parent VM disk in a static state by redirecting writes intended for the first parent VM disk to the first child VM disk.

12. The non-transitory computer-readable medium of claim 10 wherein the method further comprises, prior to consolidating:

directing a read intended for the first parent VM disk to the first child VM disk if information associated with the read is unavailable in the first parent VM disk.

13. The non-transitory computer-readable medium of claim 10 wherein the first child VM disk is represented as a file or as a raw device mapping.

14. The non-transitory computer-readable medium of claim 10 wherein the first parent VM disk is represented as a file or as a raw device mapping.

Assignments (4)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0242 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NAME OF THE ASSIGNOR, PREVIOUSLY RECORDED ON REEL 021470 FRAME 0799. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 27, 2009
From: COLBERT, OSTEN KIT; HATCHINS, GREGORY M.; BOSCH, ROBERT; RANGANATHAN, JAIRAM; BAXTER, JOEL
To: VMWARE, INC.
Reel/Frame 022745/0435 →
CORRECTIVE ASSIGNMENT TO CORRECT NAME OF ASSIGNOR OTSEN KIT COLBERT PREVIOUSLY RECORDED ON REEL 021470 FRAME 0799. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Apr 6, 2009
From: COLBERT, OSTEN KIT; HUTCHINS, GREGORY M.; BOSCH, ROBERT; RANGANATHAN, JAIRAM; BAXTER, JOEL
To: VMWARE, INC.
Reel/Frame 022766/0139 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2008
From: COLBERT, OLSEN KIT; HUTCHINS, GREGORY M.; BOSCH, ROBERT; RANGANATHAN, JAIRAM; BAXTER, JOEL
To: VMWARE, INC.
Reel/Frame 021470/0799 →
Continuity (2)
Provisional Application 60962946 · Jul 31, 2007
Related Publication 20090037680A1 · Feb 5, 2009