VRRP Gateway Failover via Cluster Heartbeats
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional VRRP protocols experience unacceptably long failover times and fail to seamlessly transfer client sessions and states between gateways, leading to potential data loss and increased latency in critical applications.
Innovation Solution
A clustering solution that includes an operational status module, session synchronization module, and control transfer module to detect gateway failures more quickly and seamlessly transfer client sessions and states between active and standby gateways, using cluster heartbeats instead of keep-alive packets and synchronizing client sessions and states to ensure continuous traffic flow.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If VRRP protocol is used for gateway redundancy, then automatic gateway selection is improved, but failover time becomes unacceptably long
Solution Approach 1:
The patent pre-establishes a one-to-one mapping between VRRP virtual router instances and cluster gateway instances before failure occurs. Each standby gateway is pre-configured with session synchronization capabilities and failure detection mechanisms are pre-positioned. When failure occurs, the pre-established mapping allows immediate failover without election delays, as the standby gateway is already positioned and configured to take over the specific virtual router instance.
Solution Approach 2:
The patent implements bidirectional heartbeat messages between active and standby gateways that provide real-time feedback on gateway operational status. This feedback mechanism allows the standby gateway to detect active gateway failure immediately and trigger failover without waiting for VRRP advertisement timeout periods, thus reducing failover time while maintaining reliability.
2Reliability
If VRRP protocol is used for gateway redundancy, then routing path availability is improved, but client session continuity is lost
Solution Approach 1:
The patent merges VRRP protocol functionality with cluster gateway session synchronization mechanisms. The session synchronization module continuously synchronizes client session information between active and standby gateways, merging the routing path redundancy of VRRP with session state persistence. This allows the standby gateway to assume both the virtual router role and the client session state simultaneously, ensuring both routing availability and session continuity.
Solution Approach 2:
The patent introduces a session synchronization module as an intermediary between the VRRP failover mechanism and client traffic flow. This intermediary continuously exchanges session information between active and standby gateways, acting as a mediator that ensures session state is transferred along with routing responsibilities during failover, thus preventing client session loss while maintaining routing path availability.
3Speed
If cluster heartbeats are used instead of keep-alive packets, then failure detection speed is improved, but protocol complexity increases
Solution Approach 1:
The patent makes the heartbeat message serve multiple functions simultaneously: it acts as a failure detection mechanism, a session synchronization trigger, and a gateway status notification. By making the heartbeat protocol multi-functional, the patent achieves fast failure detection without adding separate complex protocols, thus improving speed while minimizing the increase in protocol complexity through versatile message design.
Data Source
AI summary
Systems and methods are provided for providing a clustering solution and a Virtual Router Redundancy Protocol (VRRP) platform for a branch deployment of at least a first gateway and a second gateway. The VRRP platform can be associated with a VRRP Internet Protocol (IP) address and the first gateway configured as a VRRP master. A change in an operational status of the first gateway can be determined with the clustering solution. The second gateway can be caused to be configured, with the clustering solution, as a new VRRP master. Network traffic associated with the VRRP Internet Protocol (IP) address can be received. The second gateway can be caused to forward the network traffic.


