Technical Tip: Failover criteria between multiple servers configured as External Connectors (FSSO)
| Description | This article describes the criteria used by FortiGates to switch the connection from one server to another configured on External connectors (config user fsso). |
| Scope | FortiGate. |
| Solution | When configuring External Connectors on FortiGate (Fortinet Single Sign On agents), it is possible to configure up to 5 servers. Those servers will be active one at a time, and they cannot be active simultaneously.
Furthermore, there is no way to prefer a server over another configured: usually, the 'preferred' server is configured as the first in line, and this will be by default contacted first and, in cases where this is no longer available, FortiGate then tries to contact the next one configured and so on.
Example configuration:
config user fsso edit "TEST" set server "10.10.10.1" <----- Main CA server. set password ENC XXXX set server2 "10.20.20.2" <----- Second CA server. set password2 ENC XXXXX
It is possible to check the current FSSO server with the command 'diagnose debug authd fsso server-status':
diagnose debug authd fsso server-status FGT_1 (vdom1) # 2025-10-31 01:59:26
Use the debug commands below to check that FortiGate polls the active server every 10 seconds to check connectivity:
diagnose debug enable
FGT_1 (vdom1) # 2025-10-31 02:05:14 authd_epoll_work: timeout 29970
As soon as the connection to the active server is lost, FortiGate tries the next configured server in the list and, if the next server is also not available, it tries the next one in the list - and so on.
The failover to the next server configured happens soon after the first 'unreachability' message is received.
2025-10-31 02:05:45 authd_epoll_work: timeout 15790
Then, check the current FSSO server again:
diagnose debug authd fsso server-status FGT_1 (vdom1) #
In the current design, there is no automatic fallback to the main server in case it is online/working again. Possible workarounds are to reboot FortiGate so it can try to contact the first in the list again, or stop the FSSO service process on the second server, or modify the server IP under 'config user fsso' using a dummy IP to force a failover.
Related documents: |