Created on
09-25-2023
12:12 AM
Edited on
12-05-2024
04:35 AM
By
Stephen_G
Description | This article describes different options available to trigger an HA failover in the FGCP HA environment to make sure the traffic fails over to the backup FortiGate. |
Scope | FortiGate. |
Solution |
In Fortigate HA, the following options exist to test a fail-over:
Scenario 1: If override is enabled in the HA settings of both units (primary and secondary), set the HA priority of the primary FortiGate to a lower value than the secondary FortiGate's HA priority.
Scenario 2: If override is disabled in the HA settings of both units (primary and secondary), reset the uptime on the primary FortiGate with the following CLI command:
diagnose sys ha reset-uptime
execute reboot This operation will reboot the system ! Do you want to continue? (y/n) y
Scenario 4: Force failover regardless of the configuration and without rebooting the device:
execute ha failover set 1
Scenario 5: Port monitoring is enabled in both FortiGates, and one of the ports monitored in the Primary FortiGate changes to down:
get sys ha status .......
MONDEV stats:
FG180FTK21902222(updated 4 seconds ago):
Related article: Technical Tip: How to use failover flag to change Active unit |