Methods and systems for creating and removing virtual machine snapshots based on groups of metrics

US9442937B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9442937-B2
Application numberUS-201514752329-A
CountryUS
Kind codeB2
Filing dateJun 26, 2015
Priority dateAug 29, 2014
Publication dateSep 13, 2016
Grant dateSep 13, 2016

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.

Techniques are described herein which minimize the impact of virtual machine snapshots on the performance virtual machines and hypervisors. In the context of a volume snapshot which may involve (i) taking virtual machine snapshots of all virtual machines associated with the volume, (ii) taking the volume snapshot, and (iii) removing all the virtual machine snapshots, the virtual machine snapshots may be created in a first order and removed in a second order. Specifically, snapshots for busy virtual machines (i.e., virtual machines with higher disk write activity) may be created last and removed first. Consequently, snapshots of busy virtual machines are retained for the shorter periods of time, thereby minimizing the effect of virtual machine snapshots on those virtual machines (and their associated hypervisors) that would be most negatively impacted by virtual machine snapshots.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for creating and removing snapshots of a plurality of virtual machines instantiated on a host, all of the virtual machines storing data on a volume of a storage system communicatively coupled to the host, the method comprising: receiving by a hypervisor manager a first request to create snapshots of all of the virtual machines associated with the volume so as to maintain a state of each of the virtual machines, wherein the first request includes a first order of the virtual machines, and the first order is based on a first group of one or more metrics associated with the virtual machines; instructing by the hypervisor manager one or more hypervisors instantiated on the host to create, via a plurality of snapshot creation operations, the snapshots of all of the virtual machines associated with the volume, wherein the virtual machine snapshot creation operations are initiated in the first order; subsequent to the storage system taking a snapshot of the volume, receiving by the hypervisor manager a second request to remove the snapshots of all of the virtual machines associated with the volume, wherein the second request includes a second order of the virtual machines, the second order is based on a second group of one or more metrics associated with the virtual machines, and at least one metric from the second group does not belong to the first group, wherein the at least one metric from the second group that does not belong to the first group comprises, for each of the virtual machines, a disk write activity of the virtual machine during the snapshot of the volume; and instructing by the hypervisor manager one or more of the hypervisors to remove, via a plurality of snapshot removal operations, the snapshots of all of the virtual machines associated with the volume, wherein the virtual machine snapshot removal operations are initiated in the second order, and wherein the removal of all the virtual machine snapshots associated with the volume occurs without removal of the volume snapshot. 2. The method of claim 1 , wherein the first group of metrics include, for each of the virtual machines, a disk write activity of the virtual machine prior to the creation of the snapshot of the virtual machine. 3. The method of claim 1 , wherein the second group of metrics include, for each of the virtual machines, one or more of a disk write activity of the virtual machine prior to the creation of the snapshot of the virtual machine, a disk write activity of the virtual machine after the creation of the virtual machine snapshot and before the removal of the virtual machine snapshot, a time taken to create the virtual machine snapshot, and a size of a child disk associated with the virtual machine. 4. The method of claim 3 , wherein the at least one metric from the second group that does not belong to the first group further comprises the time taken to create the virtual machine snapshot. 5. The method of claim 3 , wherein the at least one metric from the second group that does not belong to the first group further comprises the size of the child disk associated with the virtual machine. 6. The method of claim 1 , wherein the first and second requests are received from the storage system. 7. A server for creating and removing snapshots of a plurality of virtual machines instantiated on a host, all of the virtual machines storing data on a volume of a storage system communicatively coupled to the host, the server comprising: a main memory; a processor communicatively coupled to the main memory; and software instructions on the main memory that, when executed by the processor, cause the processor to: receive a first request to create snapshots of all of the virtual machines associated with the volume so as to maintain a state of each of the virtual machines, wherein the first request includes a first order of the virtual machines, and the first order is based on a first group of one or more metrics associated with the virtual machines; instruct one or more hypervisors instantiated on the host to create, via a plurality of snapshot creation operations, the snapshots of all of the virtual machines associated with the volume, wherein the virtual machine snapshot creation operations are initiated in the first order; subsequent to the storage system taking a snapshot of the volume, receive a second request to remove the snapshots of all of the virtual machines associated with the volume, wherein the second request includes a second order of the virtual machines, the second order is based on a second group of one or more metrics associated with the virtual machines, and at least one metric from the second group does not belong to the first group, wherein the at least one metric from the second group that does not belong to the first group comprises, for each of the virtual machines, a disk write activity of the virtual machine during the snapshot of the volume; and instruct one or more of the hypervisors to remove, via a plurality of snapshot removal operations, the snapshots of all of the virtual machines associated with the volume, wherein the virtual machine snapshot removal operations are initiated in the second order, and wherein the removal of all the virtual machine snapshots associated with the volume occurs without removal of the volume snapshot. 8. The server of claim 7 , wherein the first group of metrics include, for each of the virtual machines, a disk write activity of the virtual machine prior to the creation of the snapshot of the virtual machine. 9. The server of claim 7 , wherein the second group of metrics include, for each of the virtual machines, one or more of a disk write activity of the virtual machine prior to the creation of the snapshot of the virtual machine, a disk write activity of the virtual machine after the creation of the virtual machine snapshot and before the removal of the virtual machine snapshot, a time taken to create the virtual machine snapshot, and a size of a child disk associated with the virtual machine. 10. The server of claim 9 , wherein the at least one metric from the second group that does not belong to the first group further comprises the time taken to create the virtual machine snapshot. 11. The server of claim 9 , wherein the at least one metric from the second group that does not belong to the first group further comprises the size of the child disk associated with the virtual machine. 12. The server of claim 7 , wherein the first and second requests are received from a storage system on which data of the virtual machines is stored. 13. A non-transitory machine-readable storage medium for creating and removing snapshots of a plurality of virtual machines instantiated on a host, all of the virtual machines storing data on a volume of a storage system communicatively coupled to the host, the non-transitory machine-readable storage medium comprising software instructions that, when executed by a processor of a server, cause the server to: receive a first request to create snapshots of the virtual machines associated with the volume so as to maintain a state of each of the virtual machines, wherein the first request includes a first order of the virtual machines, and the first order is based on a first group of one or more metrics associated with the virtual machines; instruct one or more hypervisors instantiated on the host to create, via a plurality of snapshot creation operations, the snapshots of all of the virtual machines associated with the volume, wherein the virtual machine snapshot creation operations are initiated in the first order; subsequent to the storage system taking a snapshot of the

Assignees

Inventors

Classifications

  • Hypervisor-specific management and integration aspects · CPC title

  • Using snapshots, i.e. a logical point-in-time copy of the data · CPC title

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

  • Disk arrays, e.g. RAID, JBOD · CPC title

  • Starting, stopping, suspending or resuming virtual machine instances · 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 US9442937B2 cover?
Techniques are described herein which minimize the impact of virtual machine snapshots on the performance virtual machines and hypervisors. In the context of a volume snapshot which may involve (i) taking virtual machine snapshots of all virtual machines associated with the volume, (ii) taking the volume snapshot, and (iii) removing all the virtual machine snapshots, the virtual machine snapsho…
Who is the assignee on this patent?
Nimble Storage Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/45558. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 13 2016 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).