Chapter 9 High Availability for FortiOS 5.0 : HA and failover protection : Subsecond failover
  
Subsecond failover
HA link failover supports subsecond failover (that is a failover time of less than one second). Subsecond failover is available for interfaces that can issue a link failure system call when the interface goes down. When an interface experiences a link failure and sends the link failure system call, the FGCP receives the system call and initiates a link failover.
For interfaces that do not support subsecond failover, port monitoring regularly polls the connection status of monitored interfaces. When a check finds that an interface has gone down, port monitoring causes a link failover. Subsecond failover results in a link failure being detected sooner because the system doesn’t have to wait for the next poll to find out about the failure.
Subsecond failover requires interfaces that support sending the link failure system call. This functionality is available for:
Interfaces with network processors (NPx)
Interfaces with content processors (CP4, CP5, CP6, etc.)
Interfaces in Fortinet Mezzanine Cards that include network and content processors (FMC-XD2, FMC-XG2, etc.)
Accelerated interface modules (FortiGate-ASM-FB4, ADM-FB8, ADM-XB2, ADM-XD4, RTM-XD2 etc).
Interfaces in security processor modules (FortiGate-ASM-CE4, ASM-XE2, etc)
Subsecond failover can accelerate HA failover to reduce the link failover time to less than one second under ideal conditions. Actual failover performance may be vary depending on traffic patterns and network configuration. For example, some network devices may respond slowly to an HA failover.
No configuration changes are required to support subsecond failover. However, for best subsecond failover results, the recommended heartbeat interval is 100ms and the recommended lost heartbeat threshold is 5. (See “Changing the heartbeat interval”)
config system ha
set hb-lost-threshold 5
set hb-interval 1
end
For information about how to reduce failover times, see “Failover performance”.