Load balancing VM selection and movement
AssigneeTintri by DDN, Inc.
InventorsMark G. Gritter, Satya Vempati, Siva Popuri
Life of this patent
Estimating the term…
Abstract
Load balancing VM selection and movement is disclosed, including: selecting a combined predicted metric to be improved with respect to a plurality of storage devices; and determining a set of VMs to be moved from a first storage device included in the plurality of storage devices to a second storage device included in the plurality of storage devices such that the selected combined metric to improve is predicted to improve.
Claims22
A system, comprising:
- a processor configured to:
- select a combined predicted metric to be improved from a first combined predicted metric data structure corresponding to a plurality of storage devices,
- wherein the combined predicted metric corresponds to a predicted probability that a specified event associated with a corresponding metric type will occur with respect to any storage device within the plurality of storage devices;
- and
- wherein to select the combined predicted metric comprises to determine that the combined predicted metric is greater than a threshold value;
- determine a set of two or more VMs to be moved from a source storage device included in the plurality of storage devices to a destination storage device included in the plurality of storage devices such that the selected combined predicted metric to improve is predicted to improve, wherein to determine the set of two or more VMs includes to:
- determine a candidate set of two or more VMs from a plurality of available VMs, wherein an available VM is a VM that is permitted to be migrated from its respective source storage device, wherein determining the candidate set of two or more VMs includes to:
- generate a simulated removal of historical data associated with the candidate set of two or more VMs from the source storage device;
- generate an updated storage device specific predicted metric data structure corresponding to the source storage device based at least in part on the simulated removal of the historical data associated with the candidate set of two or more VMs;
- generate a second combined predicted metric data structure corresponding to the plurality of storage devices based at least in part on the updated storage device specific predicted metric data structure corresponding to the source storage device and storage device specific predicted metric data structures corresponding to storage devices in the plurality of storage devices other than the source storage device;
- determine an updated combined predicted metric from the second combined predicted metric data structure corresponding to the plurality of storage devices;
- and
- determine that the updated combined predicted metric is improved from the selected combined predicted metric to be improved based at least in part on determining that the updated combined predicted metric is equal to or less than the threshold value;
- select a pair including a selected candidate destination storage device and the candidate set of two or more VMs to move to the selected candidate destination storage device based at least in part on the updated combined predicted metric;
- and
- migrate the candidate set of two or more VMs to the selected candidate destination storage device;
- and
- a memory coupled to the processor and configured to store the selected combined predicted metric to be improved.
A method, comprising:
- selecting a combined predicted metric to be improved from a first combined predicted metric data structure corresponding to a plurality of storage devices,
- wherein the combined predicted metric corresponds to a predicted probability that a specified event associated with a corresponding metric type will occur with respect to any storage device within the plurality of storage devices;
- wherein selecting the combined predicted metric comprises determining that the combined predicted metric is greater than a threshold value;
- and
- determining a set of two or more VMs to be moved from a source storage device included in the plurality of storage devices to a destination storage device included in the plurality of storage devices such that the selected combined predicted metric to improve is predicted to improve, wherein to determine the set of two or more VMs includes:
- determining a candidate set of two or more VMs from a plurality of available VMs, wherein an available VM is a VM that is permitted to be migrated from its respective source storage device, wherein determining the candidate set of two or more VMs includes:
- generating a simulated removal of historical data associated with the candidate set of two or more VMs from the source storage device;
- generating an updated storage device specific predicted metric data structure corresponding to the source storage device based at least in part on the simulated removal of the historical data associated with the candidate set of two or more VMs;
- generating a second combined predicted metric data structure corresponding to the plurality of storage devices based at least in part on the updated storage device specific predicted metric data structure corresponding to the source storage device and storage device specific predicted metric data structures corresponding to storage devices in the plurality of storage devices other than the source storage device;
- determining an updated combined predicted metric from the second combined predicted metric data structure corresponding to the plurality of storage devices;
- and
- determining that the updated combined predicted metric is improved from the selected combined predicted metric to be improved based at least in part on determining that the updated combined predicted metric is equal to or less than the threshold value;
- selecting a pair including a selected candidate destination storage device and the candidate set of two or more VMs to move to the selected candidate destination storage device based at least in part on the updated combined predicted metric;
- and
- migrating the candidate set of two or more VMs to the selected candidate destination storage device.
A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- selecting a combined predicted metric to be improved from a first combined predicted metric data structure corresponding to a plurality of storage devices,
- wherein the combined predicted metric corresponds to a predicted probability that a specified event associated with a corresponding metric type will occur with respect to any storage device within the plurality of storage devices;
- and
- wherein selecting the combined predicted metric comprises determining that the combined predicted metric is greater than a threshold value;
- determining a set of two or more VMs to be moved from a source storage device included in the plurality of storage devices to a destination storage device included in the plurality of storage devices such that the selected combined predicted metric to improve is predicted to improve, wherein to determine the set of two or more VMs includes:
- determining a candidate set of two or more VMs from a plurality of available VMs, wherein an available VM is a VM that is permitted to be migrated from its respective source storage device, wherein determining the candidate set of two or more VMs includes:
- generating a simulated removal of historical data associated with the candidate set of two or more VMs from the source storage device;
- generating an updated storage device specific predicted metric data structure corresponding to the source storage device based at least in part on the simulated removal of the historical data associated with the candidate set of two or more VMs;
- generating a second combined predicted metric data structure corresponding to the plurality of storage devices based at least in part on the updated storage device specific predicted metric data structure corresponding to the source storage device and storage device specific predicted metric data structures corresponding to storage devices in the plurality of storage devices other than the source storage device;
- determining an updated combined predicted metric from the second combined predicted metric data structure corresponding to the plurality of storage devices;
- and
- determining that the updated combined predicted metric is improved from the selected combined predicted metric to be improved based at least in part on determining that the updated combined predicted metric is equal to or less than the threshold value;
- selecting a pair including a selected candidate destination storage device and the candidate set of two or more VMs to move to the selected candidate destination storage device based at least in part on the updated combined predicted metric;
- and
- migrating the candidate set of two or more VMs to the selected candidate destination storage device.
Dependencies are inferred from the claim text.