n3s0 || journal

Fortinet: Set HA Active-Passive FortiGate Cluster Back to Primary

Posted on 2 mins

Netadmin

Summary


Sometimes you need to bring your FortiGate Active-Passive HA cluster back to the original primary firewall. For either testing or because you really like that devices.

This article shows a way that we can do that with a diagnostic command. It will also discuss a method that we probably shouldn’t use and why.

Preferred Proceedure


The prefered method here depends on the priority of the HA pair being set appropriately on the firewalls. This is only needed if overide is disabled. Otherwise it will use the priority and not the uptime to determine the primary firewall.

The difference between override enable and disable are the following.

This can be configured in the system ha config on the firewall(s).

config system ha
  set override {enable|disable}
end

But, in the event that overide is disabled. We can reset the HA uptime on the firewall to set it back to the primary firewall; if that matters to you.

diagnose sys ha reset-uptime

Troubleshooting Tidbits


Another troubleshooting tidbit is you can learn more about your HA configuration by looking at it with the following command.

get system ha