IP Library Granted Patent US 9,372,713
Granted Patent B2
US 9,372,713 · App. 13/405,029 · Granted Jun 21, 2016

Optimizing virtual storage size in a virtual computer system based on information related to virtual machines, user inputs and/or configuration parameters

Inventors: Mauro Arcese (Rome, IT); Giuseppe Ciano (Rome, IT); Marco Imperia (Rome, IT); Luigi Pichetti (Rome, IT)
Assignee: International Business Machines Corporation
G06F9/45558G06F2009/45579
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 9,372,713
App. No.
13/405,029
Granted
Jun 21, 2016
Kind
B2
Abstract

A method for optimizing virtual storage in a virtual computer system including at least one virtual machine, each virtual machine being associated with one or more virtual disks. A target set of virtual machines among the virtual machines comprised in the virtual computer system is determined based on information related to the virtual machines and on shrinking constraints. For each virtual machine in the target set of virtual machines, each virtual disk associated with the virtual machine is identified. Furthermore, for each virtual disk associated with the virtual machine, the following occurs: the virtual disk is analyzed, a virtual disk saving quantity based on the virtual disk analysis is estimated, a resized virtual disk based on the estimated virtual disk saving quantity is generated, and the current virtual disk is replaced with the resized virtual disk.

Claims (31)

1. A method for optimizing virtual storage size in a virtual computer system comprising at least one virtual machine, each of said at least one virtual machine being allocated one or more virtual disks, the method comprising:

determining a target set of virtual machines among said at least one virtual machine comprised in said virtual computer system based on information related to said at least one virtual machine and on shrinking constraints;

for each virtual machine in said target set of virtual machines, identifying each virtual disk allocated to said virtual machine; and

for each virtual disk allocated to said virtual machine, analyzing said virtual disk, estimating a virtual disk saving quantity based on the virtual disk analysis, generating a resized virtual disk based on the estimated virtual disk saving quantity, and replacing said virtual disk with said resized virtual disk.

2. The method of claim 1 , wherein the virtual machine information comprises one or more of the following information for each virtual machine: virtual machine state information, a number of virtual disks included in said virtual machine, and for each virtual disk allocated to said virtual machine, statistical data related to the size of the virtual disks, and disk access control information.

3. The method of claim 1 , wherein said determining said target set of virtual machines comprises for each virtual machine in said virtual computer system and for each virtual disk in said each virtual machine:

analyzing said virtual disk; and

adding said virtual machine to said target set of virtual machines if a condition related to a state of at least one virtual disk allocated to said virtual machine is satisfied.

4. The method of claim 3 further comprising:

marking said virtual disk satisfying said condition.

5. The method of claim 1 , wherein the target set of virtual machines is identified by said shrinking constraints.

6. The method of claim 1 , wherein said determining the target set of virtual machines comprises:

for each virtual machine in the virtual computer system, adding the virtual machine to the target set if a condition related to a virtual machine state is satisfied.

7. The method of claim 6 , wherein said condition comprises checking if a current virtual machine is in an active state.

8. The method of claim 1 , wherein said analyzing each virtual disk comprises requesting access to the virtual disk and accessing a file system where the virtual disk is stored if access is granted.

9. The method of claim 1 , wherein said analyzing said virtual disk comprises disconnecting said virtual disk.

10. A method for optimizing virtual storage size in a virtual computer system comprising at least one virtual machine, each of said at least one virtual machine being allocated one or more virtual disks, the method comprising:

determining a target set of virtual machines among said at least one virtual machine comprised in said virtual computer system based on information related to said at least one virtual machine and on shrinking constraints;

for each virtual machine in said target set of virtual machines, identifying each virtual disk allocated to said virtual machine; and

for each virtual disk allocated to said virtual machine, analyzing said virtual disk, estimating a virtual disk saving quantity based on the virtual disk analysis, generating a resized virtual disk based on the estimated virtual disk saving quantity, and replacing said virtual disk with said resized virtual disk;

wherein the virtual machine information comprises one or more of the following information for each virtual machine: virtual machine state information, a number of virtual disks included in said virtual machine, and for each virtual disk allocated to said virtual machine, statistical data related to the size of the virtual disks, and disk access control information;

wherein the shrinking constraints comprise user inputs and/or configuration parameters maintained in an internal repository.

11. The method of claim 10 , wherein said internal repository is an Extensible Markup Language (XML) file.

12. A method for optimizing virtual storage size in a virtual computer system comprising at least one virtual machine, each of said at least one virtual machine being allocated one or more virtual disks, the method comprising:

determining a target set of virtual machines among said at least one virtual machine comprised in said virtual computer system based on information related to said at least one virtual machine and on shrinking constraints;

for each virtual machine in said target set of virtual machines, identifying each virtual disk allocated to said virtual machine; and

for each virtual disk allocated to said virtual machine, analyzing said virtual disk, estimating a virtual disk saving quantity based on the virtual disk analysis, generating a resized virtual disk based on the estimated virtual disk saving quantity, and replacing said virtual disk with said resized virtual disk;

wherein said determining said target set of virtual machines comprises for each virtual machine in said virtual computer system and for each virtual disk in said each virtual machine:

analyzing said virtual disk; and

adding said virtual machine to said target set of virtual machines if a condition related to a state of at least one virtual disk allocated to said virtual machine is satisfied;

wherein said condition comprises at least one of the following: checking if the disk saving quantity for the virtual disk is greater than a predefined threshold, checking if a frequency of disk size variations is lower than a predefined frequency threshold, checking whether the difference between a current virtual disk usage with respect to a host occupancy is greater than another predefined threshold.

Priority Claims (1)
EP 09179593 · Dec 17, 2009 · regional
Continuity (2)
Continuation 12940218 · Nov 5, 2010
Related Publication 20120159485A1 · Jun 21, 2012