主权项 |
1. A method for optimizing a placement plan, the method comprising:
receiving, by one or more processors, a request for registration from an advisor; determining, by one or more processors, an initial timeout period value associated with the advisor; determining, by one or more processors, an overall timeout period value for a placement engine based, at least in part, on the initial timeout period value associated with the advisor and a time to live value received from the advisor; responsive to receiving a predictive failure alert for a first host in a first pool, qualifying the advisor and receiving advice from the advisor, wherein qualifying the advisor comprises: prioritizing the advisor based, at least in part, on the initial timeout period value associated with the advisor, a policy type of the advisor, and whether the advisor is an internal or external advisor; and generating a placement plan for migrating a virtual machine from the first host based, at least in part, on the received advice from the advisor. |