Skip to main content
aionescu
Staff
Staff
June 26, 2025

Technical Tip: FortiAnalyzer HA preemption

  • June 26, 2025
  • 0 replies
  • 741 views
Description This article describes how to disable preemption in the HA configuration.
Scope FortiAnalyzer.
Solution

In FortiAnalyzer v7.4.7 and v7.6.2, preemption was introduced.

It is enabled by default when selecting the 'Preferred role' as Primary:

 

Screenshot 2025-06-26 094241.png

 

This setting can also be confirmed using the CLI command below:

 

FAZ1 # diagnose test application clusterd 97 priority get
faz-ha priority 220 preempt

 

And:

 

FAZ2 # diagnose test application clusterd 97 priority get
faz-ha priority 100 nopreempt

 

If, at any time, the role needs to be changed manually, the command below can be used:

 

diagnose ha failover
device-id DeviceID of new primary, or re-elect from backup FortiAnalyzers if not specified.

 

More on HA diagnose commands is available in ha diagnose (CLI reference).

 

This command will force the failover but it will not override the preemption settings. If preemption is left enabled, the FortiAnalyzer with preemption enabled will take the primary role again after few seconds.

 

Even if an HA failover is forced, preemption prevail after few seconds.Even if an HA failover is forced, preemption prevail after few seconds.

 

To disable preemption, both cluster members need to be configured with 'Preferred mode' Secondary.

 

As an exception, preemption is disabled during the upgrade process. After upgrading the secondary to a higher version build, HA preemption is temporarily disabled on the primary to allow manual switching of the primary to the secondary and upgrading the new secondary (old primary).

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.