Most engineers think…
Most people assume 'we have two firewalls, so we're safe' — and that just bolting in a second SonicWall means failover is automatic and invisible. That mental model gets you a nasty surprise on the first real failover.
SonicWall HA is a pair of two identical units (same model and firmware) acting as one logical firewall — but a plain failover only keeps you online; it does not keep your sessions alive. The piece that makes failover seamless is Stateful Synchronization: the active unit continuously mirrors its connection cache and VPN SAs to the standby. Leave that off and the standby comes up clean — every session resets and users get dropped. Knowing the difference between 'still online' and 'sessions survived' is exactly what an interview and a 3 a.m. failover are testing.
① Why HA — and the three HA modes
A single firewall is a single point of failure: if it dies, the whole site loses internet, VPN and security at once. SonicWall High Availability (HA) fixes this by pairing two identical appliances — the same model running the same firmware — so one can take over for the other. To the network they behave as one logical firewall.
The three modes
Active/Standby is the common one: one unit passes all traffic, the other waits as a hot standby, ready to take over. Active/Active DPI lets the standby help by offloading DPI processing, so both boxes do useful work while the standby still backs up the active. Active/Active Clustering, on high-end platforms like the NSsp, combines multiple HA pairs into one cluster for scale-out throughput plus redundancy.
What does a SonicWall HA pair require of its two appliances?
② Stateful Synchronization — why failover is seamless
Here is the idea that separates 'still online' from 'nobody noticed'. In Stateful HA, the active unit does not just sit beside the standby — it continuously synchronizes its live state across the HA link. Two things matter most: the connection cache (the table of every live session — who is talking to what, on which ports) and the active VPN security associations (SAs) (the keys and state for established tunnels).
Because the standby already holds a current copy of that state, when the active unit fails the standby can resume those exact sessions instead of starting from zero. A file transfer keeps going, a VPN tunnel stays up, an ERP login is not kicked out. That is what 'near-seamless' means.
Without stateful sync
Turn stateful sync off and failover still happens — the standby comes up and the site is online again — but it has no copy of the connection cache or SAs. Every existing session resets, VPNs rebuild, and users get dropped and must reconnect. The link survives; the sessions do not.
Two identical SonicWalls — same model and firmware — cabled together so the standby can take over for the active and remove the single point of failure.
The active unit continuously mirrors its connection cache (live sessions) and VPN SAs to the standby, so existing sessions survive a failover instead of resetting.
A shared MAC the pair presents on its interfaces, so the network sees one gateway and failover needs no ARP or gateway change.
Decides give-back: preempt on means the recovered primary reclaims active duty; preempt off means the current active keeps serving, avoiding flapping.
In an interview, separate two ideas: plain HA failover keeps the site online, but only Stateful Synchronization keeps existing sessions and VPN tunnels alive. Name the connection cache and VPN SAs as the things being synced — that is the detail that shows you actually understand stateful HA.
In Stateful HA, what does the active unit continuously synchronize to the standby?
③ The plumbing — HA link, Virtual MAC, heartbeats, preempt, monitoring
The two units are tied together by a dedicated HA control/data link. This link carries the heartbeats (periodic health messages) and the state synchronization (connection cache, SAs, config). If the link is down, sync stops and failure detection breaks — so it is not optional plumbing.
On the network side the pair shares a Virtual MAC on its interfaces, so upstream switches and downstream hosts always see the same gateway. On failover the new active unit simply answers on that same MAC — no gateway change, no ARP storm for clients.
Detecting failure
Failure is detected three ways. Heartbeats: when the standby misses enough of them, it declares the active unit dead and takes over. Physical interface monitoring: a watched port going down triggers failover. Logical / probe monitoring: the unit pings an upstream target (e.g. the gateway) to catch an upstream path failure even when the local link is up. Preempt mode then decides give-back: with preempt on, the recovered primary reclaims active duty; with it off, the current active keeps serving — which is the safer choice if you are worried about flapping.
The dedicated HA control/data link carries both heartbeats and the state sync. If it is unplugged or undersized, the pair can split-brain or fail to sync state — so the failover that looked configured drops every session. Always confirm the HA link is up and healthy before trusting failover.
▶ Watch a failover where the sessions never drop
How a live session survives a hardware failure with Stateful HA. Press Play for the healthy path, then Break it to see the classic failure.
The local link is up but the upstream gateway is unreachable. Which mechanism is designed to catch this and trigger failover?
④ Licensing & the deployment pitfalls that drop sessions
Licensing is friendlier than people fear. In an HA pair the secondary shares the primary's security-service licensing — you associate the two serial numbers on MySonicWall, so you do not buy a second full set of subscriptions for the standby.
The pitfalls that bite
Most HA pain is configuration, not hardware. The classics: a firmware mismatch between the units (HA refuses to form or behaves oddly); the HA link not connected (no heartbeats, no sync); stateful sync left off (the site stays up but every session drops on failover); monitoring misconfigured so the pair flaps back and forth; and Virtual MAC issues upstream where switch port-security or MAC pinning rejects the shared MAC after failover.
The deployment rule of thumb: match the firmware, plug in the HA link, turn Stateful Synchronization on, tune monitoring (and consider preempt off) so it cannot flap, then test a real failover before you trust it.
Priya at Sundara Textiles, Coimbatore faces this
During a planned failover test the standby SonicWall takes over within seconds, but every active session drops — staff are kicked out of the ERP, VPN tunnels rebuild, and some uploads have to restart.
HA is set to Active/Standby but Stateful Synchronization was never enabled, so the standby has no copy of the connection cache or VPN SAs and comes up clean.
In SonicOS the mode is Active/Standby and the HA data link and heartbeats are healthy — but 'Enable Stateful Synchronization' is unticked, which is why sessions are not preserved.
Device ▸ High Availability ▸ Settings + High Availability ▸ MonitoringTick Enable Stateful Synchronization, confirm both units run the same firmware, verify the HA control/data link, and tune monitoring thresholds so the pair will not flap.
Re-run the failover test: the standby takes over on the same Virtual MAC while a live file transfer and a VPN tunnel keep running, and the connection count on the new active unit matches what was live before.
Never assume HA works because the config looks right. Force a failover (pull power or use the test action) while a file transfer and a VPN tunnel are live. If both keep running on the new active unit's Virtual MAC, stateful HA is genuinely working — that single test answers most HA doubts.
An HA pair stays online through a failover, but every user session drops and VPNs rebuild. What was almost certainly misconfigured?
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from vendor docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Type one line: why is 'we have two SonicWalls' not enough, and what one setting makes failover seamless? Then compare with the expert version.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- High Availability (HA)
- Pairing two identical SonicWall firewalls so the standby takes over if the active fails, removing the firewall as a single point of failure.
- Active/Standby
- HA mode where one unit passes all traffic and the other waits as a hot standby, ready to take over instantly.
- Stateful Synchronization
- Continuous syncing of the active unit's connection cache and VPN SAs to the standby so existing sessions survive a failover.
- Active/Active DPI
- HA mode where the standby offloads Deep Packet Inspection from the active unit so both boxes share the work.
- Active/Active Clustering
- Combining multiple HA pairs into one cluster on high-end platforms (e.g. NSsp) for scale-out throughput and redundancy.
- HA control/data link
- The dedicated link between the two units that carries heartbeats and the state synchronization.
- Virtual MAC
- The shared gateway MAC the pair presents, so failover needs no ARP or gateway change for the network.
- Heartbeat
- A periodic health message between the units; enough missed heartbeats trigger failover to the standby.
- Preempt mode
- Setting that decides whether the recovered primary reclaims active duty or the current active keeps serving, helping avoid flapping.
- Connection cache / VPN SA
- The table of live sessions and the active VPN security associations that stateful sync copies to the standby.
📚 Sources
- SonicWall — High Availability overview: Active/Standby, Active/Active DPI and Stateful HA. sonicwall.com / SonicOS Administration Guide
- SonicWall SonicOS — High Availability: Stateful Synchronization and connection-cache sync. docs.sonicwall.com
- SonicWall SonicOS — HA Monitoring (physical interface and logical/probe) and Preempt mode. docs.sonicwall.com
- SonicWall SonicOS — Virtual MAC and the HA control/data interface. docs.sonicwall.com
- SonicWall — Active/Active Clustering on NSsp and high-end platforms. docs.sonicwall.com
- MySonicWall — Associating units for shared HA security-service licensing. mysonicwall.com
What's next?
Got HA on one pair? Next, manage a whole fleet of SonicWalls from one place: Network Security Manager (NSM) for centralized policy and the Capture Security Center for cloud-wide visibility and threat analytics.