Description
- Remove/clean all interface IP address configurations. Existing interfaces will be retained, but all IP addresses and administrative access options assigned to the interface will be removed to prevent conflicts with the remaining HA cluster.
- Configure a new IP address on a specified port. This is done so that the removed unit is accessible over the network for further management/reconfiguration.
- Change the removed FortiGate's HA mode to standalone.
The removed FortiGate will retain the vast majority of its current configuration when removed from the cluster, including but not limited to:
- Firewall Policies.
- Interfaces/names (but as noted above, not IP address assignments).
- Admin users/passwords (including REST API admins/API keys, SSO Admins, etc.).
- Security Inspection profiles.
- HA configurations (e.g. group names, passwords, etc., but notably not HA management interfaces or the mode).
This means that it is relatively straightforward to put a removed FortiGate back into the HA cluster (though see the notes further below for additional considerations).
Note:
It is still recommended to plan the removal process around a scheduled maintenance window, and it is also not recommended to use this option in cloud environments as devices often have different IP addresses set to each node.
Scope
FortiGate High Availability, FortiOS 5.2/5.4 and FortiOS 5.6 through 6.x/7.x and later.
Solution
Disconnecting a FortiGate from the HA cluster - GUI Method (v5.6 through v6.x/v7.x and later):
1. Log in to the Primary FortiGate via the Web GUI.
2. Navigate to System -> HA (in the Global VDOM, if VDOMs are enabled). A list of FortiGate cluster members will be present.
3. Select the unit to disconnect, then select the Remove device from HA cluster button:
Note:
If the disconnected FortiGate is going to be reconnected to the cluster, consider the following:
- Reboot the disconnected unit before proceeding with cluster re-establishment, or run diagnose sys ha reset-uptime. This will ensure that the cluster uptime value will be lower than the current HA Primary FortiGate, which helps to ensure that the disconnected unit does not attempt to assume the Primary HA role.
- Assign a Device Priority that is lower than than the existing Primary FortiGate's priority for the same reason mentioned above (highest priority can lead to a unit assuming the HA Primary role, default value is 128).
- For example: If the active Primary unit has a priority of 100 then it is recommended to set the disconnected FortiGate priority to a value lower than that.
- Re-configure any other custom HA configuration that was present before the disconnect, such as dedicated HA management interfaces.
- Once the cluster is reconnected, it will take several minutes to fully synchronize the configuration and bring all interface configurations with it.
Disconnecting a FortiGate from the HA cluster - CLI Method (all FortiOS versions):
As mentioned above, the existing HA cluster members will continue to provide service to the network without disruption, and the disconnected FortiGate will be accessible via the above interface and IP address (assuming routes exist as well to reach remote destinations).
Disconnecting a FortiGate from the HA cluster - GUI Method (Legacy FortiOS 5.2/5.4)
1. Login the to Web GUI of the Primary FortiGate.
2. Navigate to System -> Config -> HA. A list of FortiGate cluster members will be present.
3. Select the unit to disconnect, then select the disconnect button/icon:
4. In the Disconnect Cluster Member window, specify the Interface to be used for management access to the disconnected unit.
5. Configure an IP/Netmask for the specified interface. This IP address should be reachable over the network so that the removed FortiGate can be managed, as all other interfaces on the removed FortiGate will have the IP addressing removed/cleared to avoid conflicts with the existing HA cluster.
6. Select OK to commit the change. Once the change is committed, the cluster will no longer show the unit as being connected to the cluster, and the disconnected unit's HA mode will be changed to standalone.
Related articles:
Troubleshooting Tip: FortiGate Cluster upgrade gets stuck when not all members have upgraded.
Technical Tip: How to confirm that Load Balancing is occurring (HA cluster).
Technical Tip: How to view the routing table on Slave/Secondary/Subordinate units in HA cluster.
Technical Tip: HA Reserved Management Interface's hidden VDOM (vsys_hamgmt VDOM).
Technical Tip: How to break a HA cluster and use one of the members as standalone