This article explains how to configure High Availability on two SonicWall Appliances.
CAUTION: HA does not support PortShield interfaces
NOTE: If you are connecting the Primary and Backup appliances to an Ethernet switch that uses the spanning tree protocol, please be aware that it may be necessary to adjust the link activation time on the switch port that the SonicWall interfaces connect to. For example, on a Cisco Catalyst-series switch, it is necessary to activate the spanning-tree port fast for each port connecting to the SonicWall security appliance's interfaces.
A Closed Area Network is a network with No External Connectivity. That means no Internet and only Intranet traffic controlled by SonicWall
If your SonicWall security appliance is deployed in an environment that does not allow direct Internet connectivity from the SonicWall security appliance, then please refer to:
Once this is done, please check the License/Expiration on the Gateway Anti-Virus, Intrusion Prevention or Anti-Spyware Status to verify.
CAUTION: In environments using High Availability, the manual licensing and signature import need to be applied independently on Primary and Secondary units.
Since this is an offline scenario "Synchronize" or "Update" is not going to do anything. Navigate to the Backend Server Communication in diag page (or Internal Settings page) and disable the Prevent communication with Backend servers option. How can I access the internal settings of the firewall?
This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.
TIP: Before following this guide, please disable the PortShield and Native Bridge mode on both primary and secondary appliances: How to disable PortShield
CAUTION: If the Secondary contains any configuration, please do a factory reset: Reset the firewall to factory default settings when the firewall is accessible and after the reset, disable the PortShield.
The first task in setting up High Availability after the initial setup is configuring the High Availability | Base Setup page on the Primary SonicWall security appliance. Once you configure High Availability on the Primary SonicWall security appliance, you push out the settings to the Backup SonicWall security appliance. To configure High Availability on the Primary SonicWall, perform the following steps:
Now, the Primary appliance should find the secondary and start to synchronize firmware (if different) and settings with the secondary. If not, please make sure that
NOTE: If not using Stateful HA Failover, select Enable Preempt Mode. This feature controls the behavior in which the Primary unit will seize the Active role from the Backup after it recovers from an error condition, reboot or firmware upgrade after it successfully communicates to the backup unit that it is in a verified operational state. Preempt mode is not recommended when enabling Stateful High Availability, because preempt mode forces additional synchronizations of traffic, which is not recommended on high load networks.
If Preept Mode is enabled on Stateful HA, the active firewall transitioning to Stand-By will be automatically rebooted to clear all the caches.
Configuring Advanced High Availability Settings
NOTE: When Stateful High Availability is not enabled, the session state is not synchronized between the Primary and Backup SonicWall security appliances. If a Failover occurs, any session that had been active at the time of Failover needs to be renegotiated.
Heartbeat Interval (seconds) This timer is the length of time between status checks. By default this timer is set to 5 seconds; using a longer interval will result in the SonicWall taking more time to detect when/if failures have occurred.
Failover Trigger Level (missed heartbeats) This timer is the number of heartbeats the SonicWall will miss before failing over. By default, this time is set to 5 missed heartbeats. This timer is linked to the Heartbeat Interval timer for example, if you set the Heartbeat Interval to 10 seconds, and the Failover Trigger Level timer to 5, it will be 50 seconds before the SonicWall fails over.
Probe Interval This timer controls the path monitoring speed. Path monitoring sends pings to specified IP addresses to monitor that the network critical path is still reachable. The default is 20 seconds, and the allowed range is from 5 to 255 seconds.
Election Delay Time This timer can be used to specify the amount of time the SonicWall will wait to consider an interface up and stable, and is useful when dealing with switch ports that have a spanning-tree delay set.
Further information about the Advanced Page:
Configuring High Availability | Monitoring settings
On the High Availability | Monitoring page, you can configure unique management IP addresses for both units in the HA Pair which allows you to log in to each unit independently for management purposes: Configuring High Availability | Monitoring settings
You can configure Logical/Probe IP address for SonicWall to monitor a reliable device on one or more of the connected networks. Failure to periodically communicate with the device by the Active unit in the HA Pair will trigger a Failover to the Idle unit.
NOTE: The Primary IP Address and Backup IP Address fields must be configured with independent IP addresses on a LAN interface, such as X0, (or a WAN interface, such as X1, for probing on the WAN) to allow logical probing to function correctly.
TIP: The Monitoring IP is the one used by the Standby appliance to download licensing information.
Testing the configuration
NOTE: Successful High Availability synchronization is not logged, only failures are logged.
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
TIP: Before following this guide, please disable the PortShield and Native Bridge mode on both primary and secondary appliances: How to disable PortShield
CAUTION: If the secondary contains any configuration, please do a factory reset: Reset the firewall to factory default settings when the firewall is accessible and after the reset, disable the PortShield.
The first task in setting up High Availability after initial setup is configuring the High Availability | Base Setup page on the Primary SonicWall security appliance. Once you configure High Availability on the Primary SonicWall security appliance, you push out the settings to the Backup SonicWall security appliance. To configure High Availability on the Primary SonicWall, perform the following steps:
Click Accept/Apply to retain these settings.
Now, the Primary appliance should find the secondary and start to synchronize firmware (if different) and settings with the secondary. If not, please make sure that
NOTE: If not using Stateful HA Failover, select Enable Preempt Mode. This feature controls the behavior in which the Primary unit will seize the Active role from the Backup after it recovers from an error condition, reboot or firmware upgrade, after it successfully communicates to the backup unit that it is in a verified operational state. Preempt mode is not recommended when enabling Stateful High Availability, because preempt mode forces additional synchronizations of traffic, which is not recommended on high load networks.
If Preept Mode is enabled on Stateful HA, the active firewall transitioning to Stand-By will be automatically rebooted to clear all the caches.
Configuring Advanced High Availability Settings
NOTE: When Stateful High Availability is not enabled, session state is not synchronized between the Primary and Backup SonicWall security appliances. If a Failover occurs, any session that had been active at the time of Failover needs to be renegotiated.
Heartbeat Interval (seconds) This timer is the length of time between status checks. By default this timer is set to 5 seconds; using a longer interval will result in the SonicWall taking more time to detect when/if failures have occurred.
Failover Trigger Level (missed heart beats) This timer is the number of heartbeats the SonicWall will miss before failing over. By default, this time is set to 5 missed heart beats.This timer is linked to the Heartbeat Interval timer for example, if you set the Heartbeat Interval to 10 seconds, and the Failover Trigger Level timer to 5, it will be 50 seconds before the SonicWall fails over.
Probe Interval This timer controls the path monitoring speed. Path monitoring sends pings to specified IP addresses to monitor that the network critical path is still reachable. The default is 20 seconds, and the allowed range is from 5 to 255 seconds.
Election Delay Time This timer can be used to specify an amount of time the SonicWall will wait to consider an interface up and stable, and is useful when dealing with switch ports that have a spanning-tree delay set.
Further information about the Advanced Page:
Configuring High Availability | Monitoring settings
On the High Availability | Monitoring page, you can configure unique management IP addresses for both units in the HA Pair which allows you to log in to each unit independently for management purposes: Configuring High Availability | Monitoring settings
You can configure Logical/Probe IP address for SonicWall to monitor a reliable device on one or more of the connected networks. Failure to periodically communicate with the device by the Active unit in the HA Pair will trigger a Failover to the Idle unit.
NOTE: The Primary IP Address and Backup IP Address fields must be configured with independent IP addresses on a LAN interface, such as X0, (or a WAN interface, such as X1, for probing on the WAN) to allow logical probing to function correctly.
TIP: The Monitoring IP is the one used by the Standby appliance to download licensing information.
Testing the configuration
NOTE: Successful High Availability synchronization is not logged, only failures are logged.
High Availability Test / wrench LED status:
Troubleshooting: