Skip to main content
GiuseppeB
Visitor III
Aug 12, 2024 11:22 AM UTC
Solved

question about HA

Hello,

 

following this configuration scenario, what I configured is a redundant that looks towards the primary router and the secondary router and put the monitor of this redundant under it, in case a link of this redundant goes out it automatically switches it to the secondary or does the primary remain active?

PRIMARY

config system ha
set group-id 2
set group-name "FGT-HA"
set mode a-p
set hbdev "ha1" 50 "ha2" 60
set session-pickup enable
set override enable
set priority 250
set monitor "Redundant"
end

SECONDARY

config system ha
set group-id 2
set group-name "FGT-HA"
set mode a-p
set hbdev "ha1" 50 "ha2" 60
set session-pickup enable
set override enable
set priority 150
set monitor "Redundant"
end

 

BR,

 

Giuseppe

Toshi_Esumi
SuperUser
Aug 12, 2024 6:20 PM UTC

No. A "redundant" interface goes down only when all member interfaces go down. Therefore, it wouldn't trigger HA primary selection when only one member link goes down while the others are up.

Toshi

5 replies

nradia_FTNT
Staff
Staff
Aug 12, 2024 11:51 AM UTC

Hi Giuseppe,

 

Higher priority unit becomes primary.

 

Here is another useful KB article that explains selection criteria for primary unit:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-FortiGate-HA-Primary-unit-selection-process-when/ta-p/249745

 

Following is for port monitoring:

https://docs.fortinet.com/document/fortigate-7000/6.2.12/fortigate-7000f-handbook/744105/link-failover-port-monitoring-or-interface-monitoring

 

sprashant
Staff
Staff
Aug 12, 2024 1:04 PM UTC

Hello @GiuseppeB 

 

To answer you question, yes, the monitored interface if goes down, the failover should occur, (meaning, the secondary device would become active). However, you have put the HA links itself here, I am not sure if you want them specifically to be monitored or not. In general, monitored interface are usually the ones which are used to traverse the traffic from firewall e.g. LAN to WAN or vice versa.

Resource to review : https://docs.fortinet.com/document/fortigate/6.0.0/handbook/666653/primary-unit-selection-with-override-disabled-default

GiuseppeB
GiuseppeBAuthor
Visitor III
Aug 12, 2024 6:04 PM UTC

Hello,

thanks for reply, the redundant interface is composed by 2 physical interface, so if one these interface goes down, with this configuration and without link monitor, ha will switch to secondary unit?

Toshi_Esumi
SuperUser
SuperUser
Aug 12, 2024 6:20 PM UTC

No. A "redundant" interface goes down only when all member interfaces go down. Therefore, it wouldn't trigger HA primary selection when only one member link goes down while the others are up.

Toshi

Toshi_Esumi
SuperUser
SuperUser
Aug 12, 2024 3:14 PM UTC

I still recommend to refer to the 6.0.0's handbook for the a-p HA operation. This flowchart visualizes it undoubtedly.
https://docs.fortinet.com/document/fortigate/6.0.0/handbook/123439/primary-unit-selection-with-override-enabled
Its newer versions are more descriptive but losing visual clearness.

Toshi

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT