IP Library Granted Patent US 10,339,111
Granted Patent B2
US 10,339,111 · App. 15/141,988 · Granted Jul 2, 2019

Cloned virtual machine disk replication

Inventors: Rithin Kumar Shetty (Sunnyvale, CA); Akhil Kaushik (San Jose, CA); Nagender Somavarapu (Sunnyvale, CA); Yuedong Mu (San Jose, CA); Pranab Patnaik (Cary, NC)
Assignee: NetApp Inc.
G06F16/178G06F9/45558G06F11/1464G06F11/1484G06F11/2076G06F11/2082G06F16/188H04L67/1095G06F2009/45562G06F2009/45583G06F2201/84
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 10,339,111
App. No.
15/141,988
Filed
Apr 29, 2016
Granted
Jul 2, 2019
Kind
B2
Art Unit
2166
USPC
707/611
Abstract

One or more techniques and/or computing devices are provided for replicating virtual machine disk clones. For example, a first storage controller, hosting first storage, may have a synchronous replication relationship with a second storage controller hosting second storage. A virtual machine, within the first storage, may be specified as having synchronous replication protection. Accordingly, virtual machine disk clones of a virtual machine disk of the virtual machine may be replicated from the first storage to the second storage. For example, virtual machine disk clones may be synchronous replicated, replicated by a resync process invoked by a hypervisor agent, and/or stored and replicated from a clone backup directory.

Claims (44)

1. A method comprising:

receiving a virtual machine disk (VMD) clone operation targeting a virtual machine, of a consistency group, stored within first storage of a first node having a synchronous replication relationship with a second node hosting second storage;

replicating the VMD clone operation to create a replication VMD clone operation based upon the synchronous replication relationship being in-sync for the virtual machine;

executing the VMD clone operation upon the first storage, wherein inflight operations targeting the consistency group are drained, incoming inflight operations are queued as queued inflight operations, and the queued inflight operations are dequeued and executed after the VMD clone operation completes; and

transmitting the replication VMD clone operation to the second node for execution upon the second storage.

2. The method of claim 1 , wherein the VMD clone operation comprises a clone create operation to create a VMD clone of a VMD of the virtual machine.

3. The method of claim 1 , wherein the VMD clone operation comprises a clone delete operation to delete a VMD clone of a VMD of the virtual machine.

4. The method of claim 1 , wherein the VMD clone operation comprises a clone rename operation to rename a VMD clone of a VMD of the virtual machine.

5. The method of claim 1 , comprising:

creating a VMD clone of a VMD of the virtual machine based upon the synchronous replication relationship being out-of-sync.

6. The method of claim 5 , wherein the creating comprises:

generating an indication, within a metafile, that the VMD clone is a backup of the virtual machine.

7. The method of claim 6 , comprising:

evaluating the metafile to identify the VMD clone as being the backup of the VM during a transition of the synchronous replication relationship from being out-of-sync to in-sync, wherein the VMD clone is replicated from the first storage to the second storage to create a replicated VMD clone.

8. The method of claim 6 , wherein the metafile comprises entries mapping VMD clones, of the VMD, to the virtual machine.

9. The method of claim 1 , wherein the VMD clone operation comprises a block pointer copy mechanism.

10. The method of claim 1 , comprising:

filtering the VMD clone operation to be ignored for replication based upon the VMD clone operation corresponding to a create new virtual machine operation.

11. A non-transitory machine readable medium having stored thereon machine executable code which when executed by a machine, causes the machine to:

receive a virtual machine disk (VMD) clone operation targeting a virtual machine, of a consistency group, stored within first storage of a first node having a synchronous replication relationship with a second node hosting second storage;

replicate the VMD clone operation to create a replication VMD clone operation based upon the synchronous replication relationship being in-sync for the virtual machine;

execute the VMD clone operation upon the first storage, wherein inflight operations targeting the consistency group are drained, incoming inflight operations are queued as queued inflight operations, and the queued inflight operations are dequeued and executed after the VMD clone operation completes; and

transmit the replication VMD clone operation to the second node for execution upon the second storage.

12. The non-transitory machine readable medium of claim 11 , wherein the machine executable code causes the machine to:

create a VMD clone of a VMD of the virtual machine based upon the synchronous replication relationship being out-of-sync.

13. The non-transitory machine readable medium of claim 12 , wherein the machine executable code causes the machine to:

generate an indication, within a metafile, that the VMD clone is a backup of the virtual machine.

14. The non-transitory machine readable medium of claim 13 , wherein the machine executable code causes the machine to:

evaluate the metafile to identify the VMD clone as being the backup of the VM during a transition of the synchronous replication relationship from being out-of-sync to in-sync, wherein the VMD clone is replicated from the first storage to the second storage to create a replicated VMD clone.

15. The non-transitory machine readable medium of claim 13 , wherein the metafile comprises entries mapping VMD clones, of the VMD, to the virtual machine.

16. The non-transitory machine readable medium of claim 11 , wherein the VMD clone operation comprises a block pointer copy mechanism.

17. The non-transitory machine readable medium of claim 11 , wherein the machine executable code causes the machine to:

filter the VMD clone operation to be ignored for replication based upon the VMD clone operation corresponding to a create new virtual machine operation.

18. A computing device comprising:

a memory comprising machine executable code; and

a processor coupled to the memory, the processor configured to execute the machine executable code to cause the processor to:

receive a virtual machine disk (VMD) clone operation targeting a virtual machine, of a consistency group, stored within first storage of a first node having a synchronous replication relationship with a second node hosting second storage;

replicate the VMD clone operation to create a replication VMD clone operation based upon the synchronous replication relationship being in-sync for the virtual machine;

execute the VMD clone operation upon the first storage, wherein inflight operations targeting the consistency group are drained, incoming inflight operations are queued as queued inflight operations, and the queued inflight operations are dequeued and executed after the VMD clone operation completes; and

transmit the replication VMD clone operation to the second node for execution upon the second storage.

19. The computing device of claim 18 , wherein the machine executable code causes the processor to:

create a VMD clone of a VMD of the virtual machine based upon the synchronous replication relationship being out-of-sync.

20. The computing device of claim 19 , wherein the machine executable code causes the processor to:

generate an indication, within a metafile, that the VMD clone is a backup of the virtual machine.

Continuity (1)
Related Publication 20170316030A1 · Nov 2, 2017
Cited By (1)
US 12,591,547