Description |
This article describes how to restore the HA functionality in such a scenario without impacting traffic flow through the primary unit. When upgrading a FortiGate HA (High Availability) cluster, the secondary unit can fail during the upgrade process, resulting in a broken HA cluster. |
Scope | FortiGate. |
Solution |
To restore HA functionality without impacting live traffic flowing through the primary unit, follow the step-by-step procedure outlined below.
Step 1: Isolate the Secondary Member from the Cluster.
To prevent any unintended failover or split-brain scenarios, isolate the secondary FortiGate device:
Step 2: Upgrade the Secondary Unit.
Once the secondary unit is isolated, proceed with upgrading its FortiOS version to match that of the primary unit.
Step 3: Check HA Override Settings.
To ensure seamless reintegration into the cluster, verify the HA override settings on both the primary and secondary units:
Run the following command:
show system ha
If the override setting is disabled, enable it on both members using:
config system ha
If it is already enabled, no further action is required.
For additional details, refer to Fortinet's HA Primary Unit Selection Process.
Step 4: Set the Secondary Device Priority Lower than the Primary
To ensure the primary device retains its role, configure the secondary unit with a lower HA priority.
For example, if the primary unit has a priority of 128, set the secondary to a lower value (e.g., 50):
config system ha
Step 5: Validate Changes
Before reconnecting the secondary unit, double-check that:
Step 6: Reconnect the HA Heartbeat (HB) Ports.
Reconnect only the HB ports and allow time for the cluster to synchronize. Monitor the HA status to ensure proper communication between the units.
Step 7: Reconnect All Interface Ports.
Once synchronization is confirmed and the secondary unit assumes the correct role, reconnect all physical interface ports removed in Step 1.
Related articles: Technical Tip: Basic HA Setup |