Description |
This article describes what a split-brain scenario is in an HA setup and the common causes. |
Scope | FortiGate, High Availability. |
Solution |
'split-brain' is the term for when the FortiGates in an HA cluster cannot communicate with each other on the heartbeat interface, causing each FortiGate to assume that they are the Primary. When in a split-brain scenario each unit will have the same MAC addresses, which will cause an outage in the network.
Common symptoms of split-brain:
To avoid a split-brain scenario:
Common causes of split-brain:
Congestion on the heartbeat link can be caused when using the same link for session sync. For better latency, it is recommended to use another link/interface for session sync. See this article for more info: Technical Tip: HA session-sync-dev configuration - Fortinet Community Below are the troubleshooting steps:
show system ha
diagnose hardware deviceinfo nic xxx <----- Where xxx is the port name.
To stop the sniffer use CTRL+C. Verify HA configurations are matching between the HA members, settings such as HA mode, group-name, group-id, and passwords should be the same.
Assuming that packets are seen going both ways on the previous step, the following debug run on each unit may have more information on why they are not able to communicate: di de res di de en
To stop debugs:
dia de disable dia de reset
Primary:
dia sys ha history read
version=1.1
HA state change time: 2022-06-16 12:55:36
message_count=8/512
<2022-06-16 12:55:36> FGVMEVIJGWSKGW55 is elected as the cluster primary of 1 member
<2022-06-16 12:55:36> member FGVMEV_FDLRD6Y15 lost heartbeat on hbdev port2
<2022-06-16 12:55:36> heartbeats from FGVMEV_FDLRD6Y15 are lost on all hbdev
<2022-06-16 12:55:32> hbdev port2 link status changed: 1->0
Secondary:
dia sys ha history read
version=1.1
HA state change time: 2022-06-16 12:55:36
message_count=6/512
<2022-06-16 12:55:36> member FGVMEVIJGWSKGW55 lost heartbeat on hbdev port2
<2022-06-16 12:55:36> FGVMEV_FDLRD6Y15 is elected as the cluster primary of 1 member
<2022-06-16 12:55:36> heartbeats from FGVMEVIJGWSKGW55 are lost on all hbdev
Related document:
|