Troubleshooting Tip: High Availability checksum mismatch with System Event logs indicating 'external-files' are out-of-sync
Description
This article explains how to solve a checksum mismatch that leads to 'external-files' being labelled as 'out-of-sync'.
Scope
FortiGate.
Solution
This issue has several possible causes:
- The Primary FortiGate has updated its FDS databases through FortiGuard updates, but the Backup unit has not yet synchronized its database and/or engine versions through the heartbeat connection.
- The periodic refresh of external threats databases (when configured).
- Heartbeat interface connection reliability: in this case, the best practice is to use a direct (isolated) connection between the clusters or a dedicated switch for clusters with more than two units.
- Whether session-pickup is enabled on highly active HA clusters: When session-pickup is enabled, more traffic is transferred through the heartbeat interface. This may delay the synchronization of the new FortiGuard information depending on the heartbeat connection interface reliability and how many sessions are being synchronized. Use the following options to reduce the impact of this feature:
Use session-pickup-delay to synchronize sessions only if they remain active for more than 30 seconds.
CLI configuration:
config system ha
set session-pickup-delay enable
end
Use the session-sync-dev option to dedicate interface(s) for session synchronization.
CLI configuration for enabling port9 and port11 for session synchronization:
config system ha
set session-sync-dev port9 port11
end
For more details on improving and troubleshooting HA synchronization, review the FortiOS Handbook - High Availability documentation.