Methods and systems for removing virtual machine snapshots
First Claim
1. A method for managing snapshots of a plurality of virtual machines instantiated on a host, each of the virtual machines storing data on a storage system communicatively coupled to the host, the virtual machine snapshots maintaining on the storage system a state of each of the virtual machines, the method comprising:
- determining by the storage system an order of the virtual machines based on one or more metrics associated with the virtual machines, wherein the determined order orders the virtual machines by a decreasing disk write activity of the virtual machines; and
transmitting a first request from the storage system to a hypervisor manager, the first request requesting the virtual machine snapshots to be removed from the storage system in the determined order of the virtual machines.
2 Assignments
0 Petitions
Accused Products
Abstract
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 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.
36 Citations
20 Claims
-
1. A method for managing snapshots of a plurality of virtual machines instantiated on a host, each of the virtual machines storing data on a storage system communicatively coupled to the host, the virtual machine snapshots maintaining on the storage system a state of each of the virtual machines, the method comprising:
-
determining by the storage system an order of the virtual machines based on one or more metrics associated with the virtual machines, wherein the determined order orders the virtual machines by a decreasing disk write activity of the virtual machines; and transmitting a first request from the storage system to a hypervisor manager, the first request requesting the virtual machine snapshots to be removed from the storage system in the determined order of the virtual machines. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A storage system communicatively coupled to a host on which a plurality of virtual machines are instantiated, the storage system comprising:
-
a main memory; a storage array configured to store data belonging to each of the virtual machines, and configured to store a snapshot of each of the virtual machines, the virtual machine snapshots maintaining a state of each of the virtual machines; a processor communicatively coupled to the main memory and the storage array; and software instructions on the main memory that, when executed by the processor, cause the processor to; determine an order of the virtual machines based on one or more metrics associated with the virtual machines, wherein the determined order orders the virtual machines by a decreasing disk write activity of the virtual machines; and transmit a first request to a hypervisor manager, the first request requesting the virtual machine snapshots to be removed from the storage system in the determined order of the virtual machines. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory machine-readable storage medium for managing snapshots of a plurality of virtual machines instantiated on a host, each of the virtual machines storing data on a storage system communicatively coupled to the host, the virtual machine snapshots maintaining a state of each of the virtual machines on the storage system, the non-transitory machine-readable storage medium comprising software instructions that, when executed by a processor of the storage system, cause the processor to:
-
determine an order of the virtual machines based on one or more metrics associated with the virtual machines, wherein the determined order orders the virtual machines by a decreasing disk write activity of the virtual machines; and transmit a first request to a hypervisor manager, the first request requesting the virtual machine snapshots to be removed from the storage system in the determined order of the virtual machines. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification