Floating IP Pattern for HA Between Active–Standby Stateful Servers - Real-Time Communication on AWS

Floating IP Pattern for HA Between Active–Standby Stateful Servers

The Floating IP design pattern is a well-known mechanism to achieve automatic failover between an active and standby pair of hardware nodes (media servers). A static secondary virtual IP address is assigned to the active node. Continuous monitoring between the active and standby nodes detects failure. If the active node fails, the monitoring script assigns the virtual IP to the ready standby node and the standby node takes over the primary active function. In this way, the virtual IP floats between the active and standby node.