Description
New feature is included in FortiOS 7.0.0 to allow HA failover due to memory utilization.
In the scenario where the existing master’s memory utilization exceed the threshold configured by the administrator for a specific amount of time.
This article describes how to configure and validate HA failover due to memory utilization.
Note.
The value used is a demonstration purpose, a higher threshold shall be configured in production environment to prevent frequent failover of HA master.
Solution
Initial Configuration.
In existing environment, a HA pair with A-P setup is configured with FortiOS 7.0.0. As visible from the following print screen, FortiGate with hostname Kancil-kvm39 is selected as the master as it was configured with higher priority:
# config system haOnce the above is configured, HA failover due to memory utilization is appropriately configured.
set memory-based-failover enable
set memory-failover-threshold 62
set memory-failover-monitor-period 300
set memory-failover-sample-rate 1
set memory-failover-flip-timeout 6
end
# diagnose debug application hatalk -1A message indicating that mem-failover-flag changed will be shown in the debug messages:
# diagnose debug enable