Call and media preserving failovers in a cloud environment
AssigneeAvaya Management L.P.
InventorsKurt Haserodt, Philipp Schubert
Life of this patent
Estimating the term…
Abstract
Embodiments of the disclosure provide systems and methods for performing a rapid failover in a cloud-based service with reduced interruption of ongoing communications. According to embodiments described herein, independent arbitration between servers can be used to indicate to a load balancer which of two or more servers should be considered the active one. This independent arbitration makes better state of health assessments than simple server failure. The load balancer can be explicitly controlled in this case. The health of individual containers, the completeness of the shadowed state as well as server health itself can be factored into the decision to make one server active over the other.
Claims20
A method for performing a failover between a first server and a second server in a cloud-based environment, the method comprising:
- executing, by the first server, one or more streaming sessions in the cloud-based environment, wherein the first server executes the one or more streaming sessions in an active mode;
- executing, by the second server, the one or more streaming sessions in the cloud-based environment, wherein the second server executes the one or more streaming sessions in a standby mode, wherein memory and state of the one or more streaming sessions are maintained between the active mode of the first server and the standby mode of the second server;
- performing, by an arbiter executed by the first server and an arbiter executed by the second server, arbitration of a plurality of states between the first server and the second server;
- detecting, by the arbiter executed by the second server, a failure of the first server based on the arbitration of the plurality of states between the first server and the second server;
- and
- in response to detecting the failure of the first server, transitioning, by the second server, execution of the one or more streaming sessions from the standby mode to the active mode and providing, by the second server, to a load balancer of the cloud-based environment, a health status message providing a health status for the second server, wherein the health status message initiates a failover from the first server to the second server and wherein the failover from the first server to the second server is completed by the load balancer.
A cloud-based environment comprising:
- a first server comprising a processor and a memory coupled with and readable by the processor of the first server and storing therein a set of instructions which, when executed by the processor of the first server, causes the processor of the first server to execute one or more streaming sessions of the cloud-based environment in an active mode;
- and
- a second server communicatively coupled with the first server, the second server comprising a processor and a memory coupled with and readable by the processor of the second server and storing therein a set of instructions which, when executed by the processor of the second server, causes the second server to execute the one or more streaming sessions of the cloud-based environment in a standby mode, wherein memory and state of the one or more streaming sessions are maintained between the active mode of the first server and the standby mode of the second server, and wherein:
- the set of instructions stored in the memory of the first server further causes the processor of the first server to execute an arbiter,
- the set of instructions stored in the memory of the second server further causes the processor of the second server to execute an arbiter,
- the arbiter executed by the processor of the first server and the arbiter executed by the processor of the second server perform arbitration of a plurality of states between the first server and the second server,
- the set of instructions stored in the memory of the second server and executed by the processor of the second server further causes the processor of the second server to detect, based on performing the arbitration of the plurality of states between the first server and the second server, a failure of the first server, and in response to detecting the failure of the first server, transition execution of the one or more streaming sessions from the standby mode to the active mode and provide, to a load balancer of the cloud-based environment, a health status message providing a health status for the second server, wherein the health status message initiates a failover from the first server to the second server and wherein the failover from the first server to the second server is completed by the load balancer.
A non-transitory, computer-readable medium comprising a set of instructions stored therein which, when executed by one or more processors, causes the one or more processors to perform a failover between a first server and a second server in a cloud-based environment by:
- executing, by the first server of a cloud-based environment, one or more streaming sessions in the cloud-based environment, wherein the first server executes the one or more streaming sessions in an active mode;
- executing, by the second server of the cloud-based environment, the one or more streaming sessions in the cloud-based environment, wherein the second server executes the one or more streaming sessions in a standby mode, wherein memory and state of the one or more streaming sessions are maintained between the active mode of the first server and the standby mode of the second server;
- performing, by an arbiter executed by the first server and an arbiter executed by the second server, arbitration of a plurality of states between the first server and the second server;
- detecting, by the arbiter executed by the second server, a failure of the first server based on the arbitration of the plurality of states between the first server and the second server;
- and
- in response to detecting the failure of the first server, transitioning, by the second server, execution of the one or more streaming sessions from the standby mode to the active mode and providing, by the second server, to a load balancer of the cloud-based environment, a health status message providing a health status for the second server, wherein the health status message initiates a failover from the first server to the second server and wherein the failover from the first server to the second server is completed by the load balancer.
Dependencies are inferred from the claim text.