摘要 |
A method for evaluating historical metrics in selecting a physical host for execution of a virtual machine includes receiving, by a host recommendation service, an identification of a virtual machine and a request for an identification of a physical host on which to execute the virtual machine. The method includes retrieving, by an analysis engine in communication with the host recommendation service, a plurality of metrics for each of a plurality of physical hosts available for executing the virtual machine, the plurality of metrics including a first metric identifying a current level of load on each of the plurality of physical hosts and including a second metric identifying a level of load on each of the plurality of physical hosts during a time period prior to the current time period. The method includes retrieving, by the analysis engine, a plurality of metrics associated with the virtual machine, the plurality of metrics including at least one metric identifying a level of load placed on a physical host by the virtual machine during a time period prior to the current time period. The method includes determining, by the analysis engine, a level of priority associated with at least one of the first metric identifying a current level of load on each of the plurality of physical hosts and the second metric identifying a level of load on each of the plurality of physical hosts during a time period prior to the current time period. The method includes assigning, by the analysis engine, a score to each of the plurality of physical hosts, responsive to the retrieved pluralities of metrics and to the determined level of priority. The method includes transmitting, by the host recommendation service, an identification of one of the plurality of physical hosts on which to execute the virtual machine.
|