A router can lose its twin and keep every connection that crossed it, because it remembers nothing about them. A firewall, a load balancer or an address translator cannot: each keeps a table of the connections it has admitted, translated or proxied, and a standby that does not hold that table will drop or reset the next packet of every one of them. So a stateful cluster has three jobs that a pair of routers does not have. It must copy enough state to the standby, notice a failure fast enough for that copy to matter, and make sure that two members never decide at the same time that they are the active one. This part of the series compares how eight implementations do the three jobs, from each 's own documents, and reads what the field studies and an operator's report say about the cases where they did not. The vendor articles go deeper into each product: FortiGate FGCP high availability, BIG-IP device trust, device groups and traffic groups, BIG-IP failover states, persistence mirroring across a BIG-IP pair, Check Point ElasticXL and Check Point management high availability. After reading, you can compute a cluster's detection time and the load its survivors will carry, list what will not survive a failover, recognize the designs that invite a split brain, and plan the test that proves the standby works.

Why state changes the problem

The series opener explains why the Internet's routers were built to share fate with the connections they carry instead of storing them (part 1). A stateful device breaks that property on purpose: its value is the table. What goes wrong when the table is missing depends on the implementation, and the documents say it plainly. What the table holds, and how one entry moves through a TCP connection, is shown in Packet filters, stateful inspection and deep packet inspection.

  • The new active resets. NetScaler's documentation describes the default high-availability (HA) pair: "After a failover, all clients must reestablish their connections to the managed servers, but the session persistence rules are maintained as they were before the failover" (NetScaler, High availability, last published 12 November 2026). Without connection failover, packets that arrive at the new primary from existing clients and servers "are treated as stale packets, and the client and server connections are reset" (NetScaler, Connection failover).
  • The new active drops. Check Point's cluster guide says that a packet of a connection a member does not know is "out-of-state", which a firewall "normally drops because it poses a security risk", and that without state synchronization "existing connections are interrupted when cluster failover occurs" (Check Point, R82 ClusterXL Administration Guide, Non-Sticky Connections; Cluster Failover).
  • The new active picks the connection up anyway. Linux connection tracking has a setting, nf_conntrack_tcp_loose, enabled by default; setting it to zero is how "we disable picking up already established connections" (Linux kernel documentation, Netfilter conntrack sysctl). A device that adopts mid-stream packets keeps connections alive without synchronization and gives up the check that a connection began through it, which is the trade the stateful inspection entry describes.

Whether a failover is visible also depends on the endpoints. The Transmission Control Protocol (TCP) retransmits what was lost, on a timer called the (retransmission timeout): under 6298 a sender that has no round-trip measurement yet "SHOULD set RTO <- 1 second", rounds any computed value below one second up to one second, and doubles the retransmission timeout after each expiry (RFC 6298, June 2011, rules 2.1, 2.4 and 5.5); RFC 1122 asks that a host keep retransmitting for "at least 100 seconds" before giving up on an established connection (RFC 1122, October 1989, section 4.2.3.5). Worked from those rules, a sender whose timeout sits at the one-second floor retransmits a lost segment 1, 3, 7, 15 and 31 seconds after the first loss. If the standby holds the connection and declares the failure after 4 seconds, as a FortiGate does at its default timers, the retransmission at 7 seconds is the first one to reach it; the user sees a stall of a few seconds, not an error. If the standby does not hold the connection, the same retransmission meets a drop or a reset, and the timer only decides how long the user waits before the error.

Active/standby and active/active, in each vendor's words

The two names hide more variety than they suggest. "Active/active" means, depending on the vendor, two independent active groups, one member doing the work while others help, every member handling its share with full synchronization, or members in different sites that do not share load at all.

ImplementationActive/standbyWhat "active/active" means thereMembersSource
F5 BIG-IP device service clusteringOne floating traffic group"Two or more floating traffic groups", each active on one device and standby on anotherUp to 127 floating traffic groups per device groupF5, Managing Failover
Fortinet FortiGate Clustering Protocol (FGCP)Primary processes all trafficThe primary receives all traffic and hands inspection to secondariesCluster of FortiGatesFortiGate FGCP high availability
Fortinet FortiGate Session Life Support Protocol (FGSP)An external load balancer sends everything to one peerPeers behind external load balancers, sessions synchronized2 to 16 FortiGates, or 2 to 16 FGCP pairsFortinet, FortiOS 7.6.6, FGSP
Check Point ClusterXLHigh Availability modeLoad Sharing Multicast or Unicast (all members process traffic); a separate mode for members in different sites that "does not provide Load Sharing"Up to 5 members; Load Sharing above 4 "significantly decreases the cluster performance"Check Point, ClusterXL Glossary; Active-Active Mode
Palo Alto Networks -OSActive/passive pairBoth firewalls active, with a session owner and a session setup role; "does not load-balance traffic"Pair, or HA cluster of up to 16Palo Alto Networks, PAN-OS Administrator's Guide, October 2026, pages 415 to 416
Cisco Secure Firewall ASA failoverActive/StandbyTwo failover groups of security contexts, "only available to ASAs in multiple context mode"PairCisco, ASA 9.22 General Operations, Failover for High Availability
Cisco clustering (Threat Defense and ASA)Not applicableEvery node forwards; one owner per connection, with a director and backup owner16 nodes on Secure Firewall 3100 and 4200Cisco, Connection roles; Cisco, ASA cluster for the Secure Firewall 3100/4200
Juniper SRX chassis clusterActive/passiveTransit traffic through both nodes, the fabric link joining the two data planesTwo nodesJuniper, Chassis Cluster Overview
NetScalerPrimary and secondaryNot in an HA pair; clustering is a separate featureTwo nodesNetScaler, High availability
OpenBSD pf with pfsync and the Common Address Redundancy Protocol (CARP)One firewall forwards "until it dies, is shut down, or is manually demoted"CARP load balancing hashes source and destination across nodesTwo or moreOpenBSD, pfsync(4); OpenBSD, carp(4)
Linux conntrackd with keepalivedActive-BackupActive-Active, either symmetric by splitting virtual addresses or asymmetric multipathTwo or moreconntrack-tools user manual

Palo Alto Networks spells out the choice that the table implies: active/passive "has simplicity of design", while active/active "requires advanced design concepts that can result in more complex networks", and its own guide warns that a pair which carries more than one firewall's worth of traffic is betting on never losing a member: "Your design must allow the remaining firewall to process the maximum capacity of your traffic loads with content inspection enabled" (Palo Alto Networks, PAN-OS Administrator's Guide, page 416). Check Point's ElasticXL article makes the same point in numbers: two members each running at 70% do not survive losing one.

The arithmetic generalizes. With N members sharing a load evenly at utilization u, losing k of them leaves the survivors at u × N / (N − k), so the highest utilization that survives is (N − k) / N.

Members NMembers lost kHighest safe utilizationSurvivors' load if every member ran at 70%
2150.0%140.0%
3166.7%105.0%
4175.0%93.3%
4250.0%140.0%
6183.3%84.0%
6266.7%105.0%

The field data agree that the standby's capacity is part of the design. Potharaju and Jain, studying two years of middlebox failures across tens of data centres, list among their implications that "Hardware repairs risk long periods during which the network is operating at reduced or no redundancy" and that "Load testing of middleboxes is needed to measure the maximum operating capacity under peak traffic" (Potharaju and Jain, Demystifying the Dark Side of the Middle: A Field Study of Middlebox Failures in Datacenters, IMC 2013). The word "cluster" also has an inside-the-box meaning on BIG-IP, where clustered multiprocessing spreads connections across processing instances of one device; it is not a redundancy feature.

What is synchronized, and what is not

Every implementation separates configuration from runtime state, and every one leaves something out. The table puts the documented exceptions side by side; an empty statement means the documents read for this article do not say.

ImplementationRuntime state the standby receivesWhat the documents say is not carried over
Palo Alto Networks, active/passiveSession table, Address Resolution Protocol () table, neighbour discovery table, media access control (MAC) table, phase 2 security associations and anti-replay sequence numbers, virtual MAC, user-to-IP mappings, Dynamic Host Configuration Protocol () leases, forwarding information base"Active/passive peers do not sync or host session information"; Internet Key Exchange () phase 1 security associations, DNS cache, DoS block list entries; "After a failover, firewalls do not support HA sync for decrypted SSL sessions"; logs and rule hit counts (PAN-OS Administrator's Guide, Reference: HA Synchronization)
Palo Alto Networks, active/activeSession table, IPsec phase 2 security associationsARP, neighbour, MAC and multicast tables are not synchronized; "Active/active peers do not sync host session, multicast session, or session information" (same reference)
Fortinet FGCPTCP sessions with session pickupUDP and ICMP only with session-pickup-connectionless; proxy-inspected sessions restart; flow-inspected sessions continue uninspected (FortiGate FGCP high availability; Fortinet, Session pickup)
Fortinet FGSPIPv4 and IPv6 TCP sessions and IPsec tunnels by default"By default, FGSP does not synchronize expectation sessions"; " sessions are not synchronized by default" (Fortinet, FGSP)
Check Point ClusterXL"Every IP-based service (including TCP and UDP) recognized by the Security Gateway"Virtual Router Redundancy Protocol (VRRP) and Internet Group Management Protocol () not by default; "Broadcast and multicast connections are not, and cannot be, synchronized"; user-authenticated connections through a failed member "are lost"; Security Servers connections and connections initiated by the member itself may not survive (Synchronizing Connections in the Cluster; Configuring Services not to Synchronize; Synchronized Cluster Restrictions; Cluster Failover)
Cisco ASA stateful failoverNetwork address translation (NAT) table, TCP and UDP connection states, ARP table, IPsec security associations, Session Initiation Protocol () signallingThe user authentication (uauth) table and multicast routing; HTTP connection state only "if HTTP replication is enabled", which is off by default (Cisco, ASA 9.22, Failover for High Availability)
Cisco clusterTCP and UDP state held by a backup owner; ARP, MAC, user identity, IPv6 neighbour and dynamic routing tables replicatedSimple Network Management Protocol () engine ID not replicated (Cisco, Data path connection state replication)
F5 BIG-IPConnection and persistence mirroring per virtual server and per persistence profileNot recommended for "short-term connections such as HTTP and UDP"; identical hardware required (F5, Managing Connection Mirroring; persistence mirroring across a BIG-IP pair)
NetScalerConnection failover, stateless or stateful, on load balancing virtual servers only"Because HTTP uses request-based switching, it does not support connection failover. In SSL, the existing connections are reset after the failover" (NetScaler, Connection failover)
OpenBSD pfsyncAll local state changes, collapsed and sent within at most one secondRules marked no-sync; "pfsync does not currently work with ipsec(4)" (OpenBSD, pfsync(4))

Two patterns run through the table.

Short connections are deliberately left out. Check Point explains its delayed synchronization in one sentence: for services such as HTTP "There is no point to synchronize these connections, because every synchronized connection consumes resources on Cluster Members, and the connection is likely to have finished by the time a cluster failover occurs" (Check Point, Configuring Services to Synchronize After a Delay). FortiOS offers session-pickup-delay, which "only syncs sessions active for more than 30 seconds" (Fortinet, Improving session sync performance); F5 does not recommend mirroring HTTP and UDP (F5, Managing Connection Mirroring); Cisco's ASA does not replicate HTTP sessions unless told to (Cisco, ASA 9.22 failover). How much a 30-second delay saves depends on how long sessions last. If durations were exponential with mean m, the share of live sessions older than 30 seconds would be e^(−30/m): 4.98% at a 10-second mean, 60.65% at one minute, 90.48% at five minutes and 99.17% at an hour. The model is an illustration, not a measurement, but it shows why the setting suits a web edge and does little for a tunnel concentrator.

Connection continuity and inspection continuity are different promises. The FortiGate article shows a flow-inspected session surviving a failover and being forwarded uninspected from then on. Palo Alto Networks documents the same split in active/active: when the session owner fails, "The existing sessions fail over to the functioning firewall and no Layer 7 processing is available for those sessions" (PAN-OS Administrator's Guide, Session Owner, page 443). Check Point gives the administrator the choice for its intrusion prevention blade: if it is set to "Prefer connectivity" and the member that owns a connection is down, "the connection is accepted without inspection", and otherwise "the Cluster Members drop the connection" (Check Point, Cluster Failover). Researchers who interviewed two middlebox vendors for a 2015 paper heard the same thing from the other side: to avoid resetting connections, one vendor's (IDS) lets flows that were active at the failure "bypass some security inspections after failure", which the authors call failing open, and neither vendor's recovery offered a "correctness guarantee" (Sherry and others, Rollback-Recovery for Middleboxes, SIGCOMM 2015, section 2). A failover test that only checks whether a download finished has measured the first promise, not the second.

The synchronization channel has limits of its own

State travels over a link, and the link has a budget. Check Point's State Synchronization runs as Delta Sync over User Datagram Protocol (UDP) port 8116 and makes up "around 90% of all Cluster Control Protocol (CCP) traffic"; a member joining the cluster first performs a Full Sync over TCP port 263, falling back to port 256 (Check Point, How State Synchronization Works). Its timers are counted in the HA Time Unit (HTU): one HTU is 10 × 10 milliseconds = 100 ms (ClusterXL Glossary), and the sync flush runs every 10 × fwha_timer_sync_res × fwha_timer_base_res milliseconds, which with the defaults of 1 and 10 is every 100 ms (Controlling the Clustering and Synchronization Timers). When the transmit queue fills, a Load Sharing cluster can block new connections: with the default threshold of 80% of a 512-packet buffer, "if more than 410 consecutive packets are sent without getting an ACK on any one of them, new connections are dropped" (512 × 0.8 = 409.6, which the guide rounds to 410) (Blocking New Connections Under Load). Across a wide area network the guide sets two hard limits: "no more than 100ms latency and no more than 5% packet loss", and no routers on the path (Synchronizing Clusters on a Wide Area Network).

Fortinet describes where the load comes from: synchronization traffic depends on the connections per second, and "if session pickup is enabled, the traffic on the heartbeat interface surges during a failover or when a unit joins or re-joins the cluster", because "the entire session table needs to be synchronized" (Fortinet, HA heartbeat interface, Heartbeat bandwidth requirements). Palo Alto Networks' data link runs one way, from the active to the passive, and its keep-alive declares a failure after a threshold whose default is 10,000 ms, after which the firewall either logs or splits the data plane, as configured (PAN-OS Administrator's Guide, pages 418 and 457). Sessions stop synchronizing "If the HA2 link or connection is down" (same guide, Reference: HA Synchronization), and nothing in the traffic shows it until the next failover.

The synchronization link also carries the most sensitive data in the cluster. OpenBSD's manual says that pfsync "does not protect itself against disclosure, and by itself has no message authenticity or integrity protections", so that "it would be trivial to spoof packets which create states, bypassing the pf ruleset" (OpenBSD, pfsync(4)); Check Point recommends its CCP encryption, which is on by default, a dedicated network or a cross cable (The Synchronization Network); FortiGate heartbeat encryption and authentication "are disabled by default" (Fortinet, HA heartbeat interface).

Detection: heartbeats, timers and the arithmetic

Each implementation decides that its peer is dead when a number of expected messages fail to arrive. The defaults differ by an order of magnitude, and every vendor offers faster settings with the same warning about false failovers.

ImplementationDefault messagesRuleTime to declare the peer deadSource
Fortinet FGCPHeartbeat every 2 × 100 ms20 consecutive heartbeats lost2 × 100 ms × 20 = 4 s, the guide's own calculationFortinet, HA heartbeat interface
Fortinet FGCP, 10 ms unitHeartbeat every 2 × 10 msThreshold set to 240 ms on supported modelsFortinet, Failover protection
Palo Alto Networks, Recommended profile, PA-7000, PA-5400 and similarICMP heartbeat every 1,000 ms; hello every 8,000 msThree heartbeats lost, then a promotion hold of 2,000 ms3 × 1,000 + 2,000 = 5,000 msPAN-OS Administrator's Guide, Failover and HA Timers, pages 431 and 439 to 442
Palo Alto Networks, Aggressive profile, same modelsHeartbeat every 1,000 msPromotion hold of 500 ms3,500 mssame pages
Palo Alto Networks, Recommended, PA-800 and -SeriesHeartbeat every 2,000 msPromotion hold of 2,000 ms3 × 2,000 + 2,000 = 8,000 mssame pages
Juniper SRX chassis clusterHeartbeat every 1,000 msThreshold 33 s, "this calculation results in a wait time of 3 seconds"Juniper, Configure Cluster Failover Parameters
NetScalerHello every 200 ms, UDP port 3003Dead interval of 3 s, a multiple of the hello3 s, 15 hellosNetScaler, Configuring the communication intervals
Check Point ClusterXLCCP on UDP 8116; time counted in 100 ms unitsA member that "did not report its state for 0.7 second" is assumed Dying0.7 s to the Dying stateClusterXL Glossary
Cisco ASA failoverHellos on the failover linkUnit failure: 800 ms minimum, 15 s default, 45 s maximum; interface problem with testing: 5 s, 25 s, 75 s15 s by default for a failed unitCisco, ASA 9.22 failover, failover times table
F5 BIG-IP network failoverFailover messages over a self IP and the management addressTimeout in the failover.nettimeoutsec database variableA bug report advises a value of 2 or greater rather than 1F5 Bug ID 1217077, last modified 25 October 2026

Detection is not the whole failover. After it, the new active has to make the network send it the traffic. Palo Alto Networks' passive firewall keeps its data links down by default; setting the passive link state to auto "decreases the amount of time it takes for the passive firewall to take over" (PAN-OS Administrator's Guide, page 458). Most implementations move a virtual so that switches need only relearn a port and hosts keep their ARP entries: F5 calls it a MAC masquerade address, which reduces "the risk of dropped connections when failover occurs" (F5, Managing Failover); Palo Alto Networks' new active "sends gratuitous ARPs from each of its connected interfaces" (PAN-OS Administrator's Guide, page 436); a FortiGate sends five gratuitous ARPs by default, eight seconds apart, so the last leaves 32 seconds after the first, and offers link-failed-signal, which shuts every interface "for one second after a failover", for networks that gratuitous ARPs do not update (Fortinet, Cluster virtual MAC addresses). The gratuitous ARP and first-hop redundancy articles explain the mechanism; part 5 of this series covers the gateway in larger designs.

If the firewall routes, routing has to converge too. Palo Alto Networks keeps a recovering active/active firewall in a tentative state for a hold time, 60 seconds by default, so that it can "build routing adjacencies and populate its route table before processing any packets"; without the timer it "would silently discard packets because it would not have the necessary routes" (PAN-OS Administrator's Guide, HA Firewall States, pages 521 to 522). Check Point's Active-Active mode requires Bidirectional Forwarding Detection (BFD) on every interface that runs dynamic routing (Check Point, Active-Active Mode); part 6 covers the routing side.

Faster is not free

The vendors' own documents name the price of short timers. Fortinet's parameter descriptions say to increase the interval and the threshold "to reduce false positives", and its guidance asks, for members in different locations, that "the heartbeat lost intervals and thresholds are longer than the possible latency in the links" (Fortinet, HA heartbeat interface; Troubleshoot an HA formation). Juniper recommends raising its timers from the default of 3 seconds "when more than 1000 logical interfaces are configured" (Juniper, Configure Cluster Failover Parameters). F5's bug report shows the failure mode itself: with the network failover timeout at one second, a race produces messages such as "No failover status messages received for 1.100 seconds" and an "Unexpected failover", and the workaround is a value of two or more (F5 Bug ID 1217077). The BFD timers article works through the same trade for routing sessions.

Coming back without making things worse

A member that recovers must not take over before it can do the job, and must not take over at all unless someone wants it to. The implementations attack the first problem with hold-downs:

  • OpenBSD's pfsync raises the CARP demotion counter "by 32 during initialisation, and by 1 if the pfsync link is down or if a bulk update fails", so a firewall without the state table does not win the election (OpenBSD, pfsync(4)).
  • A ClusterXL member stays Down until its Full Sync completes, through the Fullsync critical device (Check Point, Viewing Critical Devices).
  • A FortiGate waits in the hello state for hello-holddown, 20 seconds by default, so that all members find each other before a cluster forms (Fortinet, HA heartbeat interface).
  • F5's waits 60 seconds by default, and the guide notes that "A value of 40 to 60 seconds allows for state mirroring information to be re-mirrored for traffic groups" (F5, Managing Failover).

The second problem is preemption, and the defaults lean against it. Palo Alto Networks: "By default, preemption is disabled on the firewalls and must be enabled on both firewalls", with a preemption hold time of one minute in both profiles (PAN-OS Administrator's Guide, pages 430 and 440). FortiOS keeps override disabled, so uptime outranks priority, and treats an uptime difference of less than 300 seconds as a tie (Fortinet, HA primary unit selection criteria). OpenBSD's net.inet.carp.preempt is "Disabled by default" (OpenBSD, carp(4)). Check Point lets the cluster object choose between "Maintain current active Cluster Member" and "Switch to higher priority Cluster Member" (Check Point, Cluster Failover). The reason is the same everywhere: each preemption is a second failover, and a member that keeps failing would keep taking the role back. Palo Alto Networks counts those flaps, a preemption-enabled firewall leaving the active state within 20 minutes or a link or path that does not stay up for 10 minutes, and suspends the firewall after three (PAN-OS Administrator's Guide, Flap Max, pages 441 to 442).

Split brain: two units that both think they are active

A split brain happens when the members stop hearing each other but both keep running. The documentation of Pacemaker, the ClusterLabs project's cluster resource manager, defines it as the scenario "where cluster nodes have lost the ability to reliably communicate with each other but are still able to run resources", and gives the network version of the damage: "an IP address brought up on two hosts on a network will cause packets to randomly be sent to one or the other host, rendering the IP useless" (ClusterLabs, Pacemaker Explained 3.0, chapter 8, Fencing). Fortinet lists what an administrator sees: IP and MAC conflicts, "flapping on L2 devices when they learn the same MAC address on ports connected to different FortiGates", sessions that cannot be established, and get system ha status showing each FortiGate as the primary (Fortinet, Troubleshoot an HA formation). The split-brain glossary entry and the layer 2 version in part 4 cover the general idea; a stateful pair adds a further harm, two diverging session tables that cannot be merged.

The causes the vendors list are mostly physical and mostly shared: Fortinet names "a complete lost of the heartbeat link or links", "something blocking the heartbeat packets" and "congestion and latency in the heartbeat links that exceeds the heartbeat lost intervals and thresholds" (same page); Cisco's troubleshooting note lists physical-layer faults in a cable, an optic or an interface, "An issue on an intermediate device" and a lack of memory or processor resources on the firewall (Cisco, Troubleshoot Split-Brain Issues on ASA Failover, document 217691, updated 7 August 2024).

What each implementation does about it

ImplementationSecond path or Behaviour when the main control link fails
Fortinet FGCPTwo heartbeat interfaces by default on most models, up to eight; a backup heartbeat device used only when the secondary hears nothing"If heartbeat communication is interrupted and cannot fail over to a second heartbeat interface ... more than one cluster unit may become a primary unit" (Fortinet, HA heartbeat interface)
Palo Alto NetworksHA1 backup link and heartbeat backup over the management portWith heartbeat backup, "split brain is prevented because redundant heartbeats and hello messages are transmitted over the management port" (PAN-OS Administrator's Guide, page 457)
Juniper SRXProbes over the fabric link share sequence numbers with control-link heartbeatsControl link lost, fabric alive: the secondary becomes ineligible, then disabled after 180 seconds; both lost: "the secondary node becomes primary, because the simultaneous loss of both links is interpreted as an indication that the peer node is no longer alive" (Juniper, Configure Cluster Failover Parameters)
Check Point ClusterXLProbing: a member that stops receiving CCP on a segment probes it "to determine which module has the problem"If every member has a problem, one is kept as "Active(!)"; a failed sync cross cable leaves one member Down and the other Active(!) (ClusterXL Glossary; Cluster Failover)
Cisco ASA failoverData interfaces still carry hellos"If the failover link is down at startup, both units become active" (Cisco, ASA 9.22 failover)
Cisco ASA clusterCluster control link carries election, health and state"If the cluster control link line protocol goes down for a unit, then clustering is disabled; data interfaces are shut down" (Cisco, ASA cluster for the Secure Firewall 3100/4200)
F5 BIG-IPNetwork failover over the HA self IP and the management addressThe management address is "only used when the local device is unreachable through the HA static self IP address" (F5, Managing Failover)
NetScalerFail-safe modeAddresses the opposite case: "fail-safe mode ensures that one node is always primary when both nodes fail the health check" (NetScaler, Configuring fail-safe mode)
PacemakerFencing devices and quorumFence devices must not rely on the cluster network or share power with the node they fence (ClusterLabs, Fencing)

Juniper's rule is worth reading slowly. A secondary that hears the fabric but not the control link concludes that the peer is alive and steps aside; a secondary that hears neither concludes that the peer is dead and takes over. The rule is only as good as the independence of the two links, which is the shared fate question of part 2 in miniature. An illustrative calculation: if each heartbeat path is unavailable a fraction q = 10⁻⁴ of the time (about 52.6 minutes a year), two independent paths are both down q² = 10⁻⁸ of the time, about a third of a second a year; if a tenth of the failures are common to both, because they share a cable tray or a switch, the beta-factor estimate βq + ((1 − β)q)² gives about 1.0 × 10⁻⁵, about 5.3 minutes a year: a thousand times the independent estimate, and only ten times better than a single path. The inputs are assumptions; the ratio is the point.

Quorum, witnesses and fencing

Majority voting, the general cure for split brain, does not help a pair: a majority of two is two. Corosync's quorum service says so in its manual, describing the two-node case as one that "requires special consideration" because "the quorum would be 2", and its two_node option sets quorum "artificially to 1" while turning on wait_for_all, so that the cluster becomes quorate for the first time only after both nodes have seen each other (Debian manual page, votequorum(5), corosync 3.1.7). Microsoft's failover clustering adds a vote from a witness, a disk, a file share or a cloud storage account, and recommends that you "always configure a witness" (Microsoft Learn, Deploy a quorum witness). Firewall pairs mostly do without a third vote and rely on a second heartbeat path, as the table shows; the exception in the table, Juniper's, uses the data path itself as the tie-breaker. Pacemaker's answer is fencing: "the ability to make a node unable to run resources, even when that node is unresponsive to cluster commands", most often by cutting its power (ClusterLabs, Fencing). Part 9 covers quorum and consensus in data systems.

Voters nMajority ⌊n/2⌋ + 1Failures tolerated
220
321
431
532

Case: a firewall pair, a faulty optic and a long afternoon

Restena, which provides network and security services to Luxembourg's research and education, health, culture and national administration sectors (Restena, home page), published a report on its crisis of 19 May 2023 (Restena, Report: Crisis on 19 May 2023, version 1.0). The design is a textbook stateful pair: an active/passive pair of perimeter firewalls, one in the main point of presence (POP) and one in the disaster recovery (DR) site, routing through internal , joined by an "HA Control" link that "is the only way to primaryship" and an "HA Data" link that carries state "so that in case of a failover event, all connections from the original device can be picked up without any disruption". The report states the risk in its own words: failing to negotiate exactly one active node "will lead to the gateway addresses being advertised twice by different devices at different places in the network ("dual primaryship", "split-brain") and has significant to catastrophic impact on routing".

The sequence, as the report gives it: the passive unit was found in a Disabled state after an HA Control link failure, the protocol's designed response when state still arrives over HA Data; a remote reboot of that unit, prepared for, produced dual primaryship, which the administrator contained by unplugging the payload cables. The faulty small form-factor pluggable (SFP+) module was then replaced, and "The entire network in both the main POP and DR POP becomes unresponsive", with the first alerts at 15:43. Out-of-band management of the firewall cluster was unreachable; the anycast DNS resolver that staff depended on "needs to traverse the pair of firewalls in question"; the passwords for the communication channels sat in a server-based password manager that needed DNS. Powering off one unit, and later failing over, changed nothing. The team finally considered "that the runtime state between both firewalls might be corrupt, and that any failovers between the two instances would carry over the corrupt state", turned both off together, which "would forcibly lose all runtime state", and recovery alerts came in around 18:30, "approx. 2:47" after the start (15:43 to 18:30 is 2 hours 47 minutes). Afterwards, a comparison with the configuration kept in Git showed the cluster running "a ruleset that is four days old".

Read against this article, the report shows four things the arithmetic does not: the link that decides who is active was a single optic; the management and name resolution paths shared the fate of the pair they were meant to rescue; state synchronization, the feature that makes failover transparent, could also carry a bad state to the survivor; and a configuration that had silently stopped being backed up surfaced only during the crisis. The report lists its own lessons, among them a unicast fallback address for the resolver. GitHub's December 2012 incident, told in part 4, ended the other way: pairs of file servers that lost their heartbeat during a switch problem tried to fence each other and stopped both nodes.

Asymmetric traffic: when the reply comes back through the other member

A stateful device must see both directions of a connection. In an active/standby pair that is automatic: Check Point notes that "In High Availability configurations, all packets reach the Active member, so all connections are sticky" (Check Point, Non-Sticky Connections). As soon as two members forward, the reply can return through the one that did not see the request. If each direction were hashed independently across N members, the two directions would meet on the same member with probability 1/N: half the connections would be split on a pair, three quarters on four members, 15 of 16 on sixteen. Routing is not random, and symmetric hashing exists precisely to avoid this, but the calculation shows why every active/active design needs an answer. The asymmetric routing entry, part 6 on equal-cost multipath () and the article on BIG-IP SNAT and return traffic cover the network side. The implementations give five kinds of answer.

Synchronize fast enough to win the race. Check Point holds the first packet of a suspected non-sticky connection while every member acknowledges the state update, a sequence it calls "Flush and Ack", and offers three synchronization modes for the TCP handshake: Minimum sync, the default, which does not enforce it; Complete sync, which "slows down connection establishment considerably"; and Smart sync, which it recommends for High Availability (Check Point, Non-Sticky Connections; Enhanced 3-Way TCP Handshake Enforcement). OpenBSD's pfsync does the same with its defer option: the state insert message is sent at once and "the packet is queued until either this message is acknowledged by another system, or a timeout has expired" (OpenBSD, pfsync(4)).

Send the packet to the member that owns the connection. Palo Alto Networks' active/active pair forwards packets over a dedicated HA3 link "for forwarding packets to the peer during session setup and asymmetric traffic flow" (PAN-OS Administrator's Guide, page 420), and recommends Session Owner set to First Packet and Session Setup to IP Modulo (page 443). FortiGate peers under FGSP keep unified threat management (UTM) inspection working on asymmetric traffic by bouncing it at layer 2 to the session owner, "the FortiGate that receives the first packet of the session", with a warning that "performance degradation is expected" (Fortinet, UTM inspection on asymmetric traffic in FGSP); when the owner is unavailable, the other peer handles the traffic itself and "UTM inspection will not occur during failover" (Fortinet, FGSP support for failover with asymmetric traffic and UTM). Juniper's chassis cluster anchors a session on the node that processed its first packet and forwards later packets that arrive at the other node across the fabric link (Juniper, Multicast Routing and Asymmetric Routing on Chassis Cluster).

Look the owner up. Cisco's clusters give every connection an owner, a director chosen "based on a hash of the source/destination IP address and ports", and a backup owner that stores the TCP and UDP state; a node that receives a packet for a connection it does not own "queries the director for the owner", and for a SYN-ACK it "can derive the owner directly from a SYN cookie in the packet". Cisco adds that "the most efficient throughput is achieved by a good method where there are no forwarders and all packets of a connection are received by the owner" (Cisco, Connection roles).

Keep the paths symmetric. OpenBSD recommends configuring CARP load balancing "in a symmetrical manner", with the same node list on all sides of the firewall, so that "packets of one connection will pass in and out on the same host" (OpenBSD, carp(4)). Check Point's sticky decision function and Cluster Correction Layer do the same for virtual private network () peers that can hold only one set of security associations (Check Point, Sticky Connections). The conntrackd manual is the bluntest: with asymmetric multipath "races might occurs between state synchronization and packet forwarding", so either "make sure the same firewall forwards packets coming in the original and the reply directions" or consider "downgrading your firewall ruleset policy to stateless filtering" (conntrack-tools user manual).

Do not share the state; make the choice repeatable. Google's Maglev load balancer is a published example of the alternative. Its authors explain that sharing connection state among machines "would negatively affect forwarding performance", so each machine keeps a local connection table and falls back on a consistent hash that sends a given connection to the same backend from any machine. Maglev began in active-passive pairs like the hardware it replaced, and its authors "gained a great deal of capacity, efficiency, and operational simplicity by moving to an ECMP model" (Eisenbud and others, Maglev: A Fast and Reliable Software Network Load Balancer, NSDI 2016, sections 3.4 and 4.1.1). The design works for a load balancer that forwards to backends; it does not by itself give a firewall the per-connection inspection state that the other four answers preserve.

Failure modes, and how they are found

The field study already quoted is the best single picture of how stateful redundancy fails in practice. Potharaju and Jain found that "Middlebox redundancy is ineffective in about 33% cases for load balancers and firewalls due to configuration bugs, faulty failovers and software version mismatch"; for firewalls, both members of a pair were down together in 33% of failure events, while for load balancers the redundancy group carried a median 92% of its normal traffic during a failure against 55% for the failed device alone (Potharaju and Jain, IMC 2013, section 6). Their reasons, in their own words: the primary failed "when the backup was experiencing an unrelated problem"; "protocol bugs, bad cables, and software issues such as version incompatibility caused an unsuccessful failover, often sending devices into a deadlock state"; and "The same configuration error was made on both primary and backup devices", through "copy-paste of the configuration files, mismatched cryptographic keys, and expired certificates" (same section). They also found that most middlebox failures are "grey", "dominated by connectivity errors and link flaps that exhibit intermittent connectivity" (abstract), the kind of gray failure a heartbeat may not notice.

The documented failure modes, with where each shows up:

  • Configuration out of sync. The FortiGate checksum comparison in the FGCP article, BIG-IP's sync status in config sync, and Palo Alto Networks' list of reasons configuration does not synchronize, which includes incompatible versions, features enabled on one peer only and URL databases that do not match (PAN-OS Administrator's Guide, Reference: HA Synchronization).
  • Versions that differ during an upgrade. A ClusterXL member with a newer version waits in the Ready state unless the multi-version cluster mechanism is enabled (Check Point, Viewing Cluster State); the field study's advice is that "both devices should be simultaneously upgraded to avoid unsuccessful redundancy failovers" (Potharaju and Jain, section 7).
  • A standby that is not really ready. A ClusterXL member whose critical device reports a problem is Down and "not considered for the role of a new Active Cluster Member" (Check Point, High Availability Mode); cphaprob state or show cluster state shows it, with the reason for the last state change (Viewing Cluster State).
  • Monitoring that keeps the wrong unit active. Palo Alto Networks' "last device standing" rule keeps an active firewall active when the only failures are link or path monitoring and the peer is not functional, and the guide explains that this can loop until Flap Max suspends a firewall (PAN-OS Administrator's Guide, Failover, pages 431 to 433).
  • Both members unhealthy. NetScaler's default leaves both nodes secondary when both fail their health checks; fail-safe mode keeps "the node that was the last primary" as primary (NetScaler, Configuring fail-safe mode).
  • The synchronization link down while traffic flows. Nothing fails until the next failover; the counters are the evidence: Check Point's delta sync statistics, Palo Alto Networks' HA2 keep-alive log, Fortinet's HA status and checksums.

Testing the failover

Every vendor documents a way to fail over on purpose, and each warns that it is a real failover. FortiOS: execute ha failover set 1 keeps a primary in a failed-over state until unset, and the command "should only be used for testing, troubleshooting, maintenance, and demonstrations" (Fortinet, Force HA failover for testing and demonstrations). Palo Alto Networks: suspend the active firewall, verify that the passive one has become active, then make the suspended one functional again and watch preemption if it is enabled; the guide frames the purpose as validating "that session synchronization, IP address failover, and traffic handling occur seamlessly" (PAN-OS Administrator's Guide, Verify Failover or Suspend HA, pages 470 to 471). Check Point: clusterXL_admin down or a forced failover to a chosen member for a set number of minutes, after which the cluster recovers according to its Primary Up or Active Up setting (Check Point, The clusterXL_admin Script; Configuring Duration of Forced Failover). BIG-IP: force a traffic group to standby, as the failover states article describes.

A test that proves something measures what this article has listed:

  1. Detection and takeover time, from the logs of both members, against the table above. Correlating both sides' timestamps, as the BIG-IP failover article advises, separates a dead active from a deaf standby.
  2. Sessions that survived, by counting the session table before and after on both members, for long TCP connections, UDP flows and anything inspected by a proxy, not only for a single download.
  3. Inspection after failover, which the FortiGate, Palo Alto Networks and Check Point documents all say can stop for connections that otherwise survive.
  4. Survivor load, at the hour of the day when the cluster is busiest, against the capacity table above.
  5. The return, with and without preemption, including the second failover it causes.
  6. The heartbeat paths one at a time, with traffic watched, to find a split brain in a window rather than in production.

GitHub's lesson from 2012, quoted in part 4, applies before any switching change near a cluster: put the cluster's own failover into maintenance mode first, or the change will test it unannounced. Part 10 covers drills and game days; change windows that do not become incidents covers the window itself. The change window runbook builder and the before/after health snapshot comparator structure the plan and the comparison, the FortiGate HA failover simulator plays an FGCP election, and the FortiGate session table explainer reads the session list that the test compares.

A Brazilian yardstick: what a failover costs against a regulator's target

Brazil's instant payment system gives a concrete scale for these numbers. The Central Bank's Manual de Tempos do sets monthly availability targets for participants, computed as hours of effective service over hours the service should be open, 24 hours a day: 99.5% for category A, the largest participants, 99.0% for B, 98.5% for C and 95.0% for D (Banco Central do Brasil, Manual de Tempos do Pix, versão 7.0, section 4.3). For the central settlement system itself, the Sistema de Pagamentos Instantâneos (SPI), the target is 99.9%, and unavailability counts only when at least 80% of settlement requests fail because of the SPI "and that persists for more than 36 seconds" (our translation here and below) (same manual, section 6.1.2); the Central Bank reported that the index stayed above that minimum since launch and closed December 2025 at 99.98% (Banco Central do Brasil, Relatório Anual do SPI 2025).

Worked for a 30-day month of 720 hours, category A allows 3.6 hours, 216 minutes; category B, 432 minutes. A FortiGate failover at its default 4 seconds is 0.031% of category A's month. A split brain of the length Restena reported, 167 minutes, is 77.3% of it. The arithmetic says what the field study says: the failover that works costs seconds, and the failover that goes wrong costs the month.

# Survivor load and TCP retransmissions, redone in the Python playground.
for n, k in [(2, 1), (3, 1), (4, 1), (4, 2)]:
    print(n, k, f"safe up to {100 * (n - k) / n:.1f}%", f"70% becomes {70 * n / (n - k):.1f}%")
t, rto, sends = 0, 1, []
while t < 60:
    t += rto; sends.append(t); rto *= 2
print("retransmissions at", sends)      # 1, 3, 7, 15, 31, 63
print("Pix category A minutes:", 720 * 60 * 0.005)  # 216.0

What to remember

  • A stateful standby is useful only if it holds the connection table; without it the new active drops or resets, and TCP's retransmission timers only decide how long the user waits.
  • "Active/active" means different things: F5 runs two traffic groups, FGCP spreads inspection, Palo Alto Networks splits session ownership and setup, Check Point shares load or spans sites, Cisco clusters look owners up, and none of them adds capacity that survives losing a member: the safe utilization is (N − k)/N.
  • Every implementation leaves state out: short connections by design, decrypted and proxied sessions, authentication state, multicast, logs; connection continuity and inspection continuity are separate promises.
  • Detection defaults run from 0.7 s (Check Point's Dying state) through 3 s (Juniper, NetScaler), 4 s (FGCP) and 5 s (Palo Alto Networks' Recommended profile on large models) to 15 s (Cisco ASA); faster timers trade false failovers for speed.
  • Split brain comes from losing the paths that carry heartbeats while both units run; the defences are a second, independent path, a rule for what to do when only one path fails, and, outside firewall pairs, quorum and fencing.
  • Asymmetric traffic needs an answer in any active/active design: synchronize before the reply, forward to the owner, look the owner up, keep paths symmetric, or avoid shared state with consistent hashing.
  • The field data put stateful redundancy's failure rate high: ineffective in about a third of cases for firewalls and load balancers, mostly through configuration, faulty failovers and version mismatch.

Sources