Created on
‎01-29-2025
04:54 AM
Edited on
‎05-15-2025
06:06 AM
By
Jean-Philippe_P
| Description | This article explains that HA failover does not go as expected when one of the monitoring interfaces on the primary FortiGate goes down. |
| Scope | FortiGate. |
| Solution |
In HA cluster (A-P) scenarios when one of the monitoring interfaces present in the HA config goes down, the cluster normally fails over to the secondary member.
config system ha
Check if the particular monitored ports are UP and connected on the secondary device. If these ports are UP and connected on primary and secondary device, when we disconnect port1 from the primary, or port1 goes down for whatever reason then the cluster should failover to the secondary device.
If the monitored ports are not connected on the secondary device, then the cluster will not failover because the ports were down to begin with on the secondary. Refer to the below article for more information regarding primary selection in HA clusters: FortiGate HA primary selection process: Technical Tip: FortiGate HA Primary unit selection process when override is disabled vs enabled. Another scenario where this situation might happen is when a failover has been previously triggered by setting the failover FLAG. Refer to this article on how forced failover is executed for testing and troubleshooting. Force HA failover for testing and demonstrations
Run a command to see the HA failover details or able to see in HA event logs :
get sys ha status
Output:
# get system ha status
HA Health Status: OK
Model: FortiGate-20xE
Group Name: IT
Group ID: 12
Debug: 0
Cluster Uptime: 0 days 5:15:32
Cluster state change time: 2025-04-14 17:45:10
Primary selected using:
<2025-04-14 17:45:10> FGXXXXXXXXXX is selected as the primary because EXE_FAIL_OVER flag is set on peer member FGXXXXXXXXXX.
execute ha failover status
After the command is run see if the flag is set or not set. Below is a similar output when the flag is set:
When the status is set on the secondary, failover will not happen as the unit is in a forced failover state and has given up the primary role. This unit will not become the primary again until a reboot is performed or until the failover status is unset.
If that is the case, the flag would need to be 'unset' on the secondary FortiGate with the following command: execute ha failover unset 1 After the FLAG is unset, the failover will happen provided that the monitored ports are up on the secondary device. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.