1. A method comprising: receiving one or more constraints; calculating a failover plan comprising a placement of application resources on a failover target comprising one or more servers for each of a plurality of possible failure scenarios, wherein the failover plan does not violate any of the one or more constraints; and executing the failover plan at the failover target.