主权项 |
1. A computer implemented method for automatically configuring failover according to an application level service level agreement (SLA) for availability of a user application on a high-availability cluster, with a cluster infrastructure comprising:
at least one cluster of nodes, the user application running on a virtual machine, the virtual machine running on a specific node of the at least one cluster, the method comprising the steps of:
gleaning parameters for failover from the application level SLA, by a first process running on the virtual machine, the user application running on the virtual machine as an isolated environment from the cluster infrastructure;wherein the application level SLA was specified at an application level, by a party with an application level access to the virtual machine but without access to the cluster infrastructure;configuring the virtual machine in accordance with the application level SLA;detecting an application level failure of the virtual machine in accordance with the application level SLA;transmitting the application level SLA through process-to-process communication to affect failover of the user application within the cluster infrastructure, by sending the application level SLA by the first process running on the virtual machine containing the user application to a second process running on the cluster infrastructure, wherein the first and second process are on a different nodes within the cluster;receiving, by the second process running on the cluster infrastructure, failover parameters specified by the application level SLA; andconfiguring failover of high-availability cluster functionality with a high-availability configuration script according to the application level SLA, by the second process running on the cluster infrastructure, such that the cluster infrastructure makes the user application available as specified by the application level SLA. |