heartbeat (high availability)

term

networkingops culture

Kept in this browser · My desk

A message that the members of a high-availability cluster send each other at a fixed interval; a member that stops receiving them for a set number of intervals declares its peer dead and may take over.

Detection time is the interval multiplied by the number of messages that may be lost, plus any hold time: a FortiGate's defaults give 2 × 100 ms × 20 = 4 seconds, a Juniper SRX cluster's 1,000 ms × 3 = 3 seconds, a NetScaler pair's dead interval 3 seconds, and Palo Alto Networks' Recommended profile on large models 3 × 1,000 + 2,000 = 5,000 ms. Shorter timers detect faster and raise the risk of a false failover; losing every heartbeat path while both members run is how a split brain starts.

Vendor timers. NetScaler sends hellos every 200 ms on UDP port 3003; Check Point's Cluster Control Protocol counts time in 100 ms units and treats a member silent for 0.7 second as Dying. Paths. FortiGate uses two heartbeat interfaces by default on most models, Palo Alto Networks offers a heartbeat backup over the management port, and Juniper sends probes over the fabric link as well as heartbeats over the control link, declaring the peer dead only when both are lost. Tuning. Fortinet advises intervals and thresholds longer than the possible latency where members are far apart, Juniper advises longer timers on clusters with more than 1,000 logical interfaces, and an F5 bug report shows a one-second network failover timeout producing unexpected failovers, with two seconds or more as the workaround.

Also known as: cluster heartbeat, HA heartbeat, heartbeat link, heartbeat interval, hello interval, dead interval

← Back to H Back to the glossary