Skip to main content
SurfnProtect
New Member
June 5, 2020
Question

Unable to get HA working on FortiAuthenticator VM

  • June 5, 2020
  • 7 replies
  • 6720 views

Hi there,

For some reason I'm unable to get HA cluster (HIGH/LOW) running, it cannot see it's peer. Just after I installed the license it worked for an hour and then it didn't any more.

 

Here's my config:

 

> show system ha config system ha set mode enable set interface port2 set priority low set hb-interval 10 set hb-lost-threshold 6 set mgmt-ip 10.22.61.2/255.255.255.0 set mgmt-access SSH HTTPS GUI set role cluster_mem

 

And the slony logs from HA

 

020-06-05T10:24:47.710904-04:00 scn00419 slon[3469]: [1-1] 2020-06-05 10:24:47 BOT ERROR cannot get sl_local_node_id - ERROR: relation "_fac_ha.sl_local_node_id" does not exist 2020-06-05T10:24:47.710931-04:00 scn00419 slon[3469]: [1-2] LINE 1: select last_value::int4 from "_fac_ha".sl_local_node_id 2020-06-05T10:24:47.710935-04:00 scn00419 slon[3469]: [1-3] ^ 2020-06-05T10:24:47.710938-04:00 scn00419 slon[3469]: [2-1] 2020-06-05 10:24:47 BOT FATAL main: Node is not initialized properly - sleep 10s

 

Strange thing is in vSphere when I list my IP addresses:

 

[ul]
  • 10.22.57.4
  • 169.254.0.2 (port 2 for HA should be 10. address)
  • xxx.xxx.18.210
  • fe80::250:56ff:fe81:3211
  • fe80::250:56ff:fe81:d342[/ul]

    Anyone troubleshooting? Tried different port for HA and latest update for FortiAuthenticator. vSphere is on Version 6...Any help would be thankful!

    • 7 replies

      gateways
      New Member
      April 21, 2021

      Hello ! I am experiencing the same error.. do you by any change have solved it ?

      Daniel4k4k
      New Member
      May 23, 2022

      Hi i also experience this did any of you find a solution?

      Thank you.

      Debbie_FTNT
      Staff & Editor
      Staff & Editor
      May 23, 2022

      Hey guys,

      FortiAuthenticator active-passive HA can sometimes be a bit tricky.

       

      Regarding the 169.254.x.x IPs suddenly appearing - this is correct; the HA interfaces have the assigned IP but also start up a service with the IP 169.254.x.x on the same IP for HA communication; if you collect a packet capture on the HA link you would see a lot of UDP 720 with the 169.254.x.x IPs :)

       

      Regarding the "ERROR: relation "_fac_ha.sl_local_node_id" does not exist" message:

      This is quite common when a cluster is being established or the nodes are trying to communicate with each other but for some reason not managing to form a cluster. Usually, if the cluster forms properly, these messages should stop after a few minutes.

      If they pop up continuously, this indicates the nodes are probably seeing each other in some manner, but not able to form a cluster for whatever reason.

       

      A few things you can try:
      - if you're on a 6.2 version, upgrade to 6.3 or 6.4; 6.2 has some known issues with clustering

      - disable HA on both units, and then enable again to restart the HA process

      - reboot both units at the same time; sometimes there can be issues with forming a cluster and agreeing on which unit is the cluster primary if one of the units has a high uptime

      Also verify:

      -> there is no firewall/router between the two nodes limiting communication (some of the HA setup involves Ethernet broadcasts)

      -> the same cluster password is set on both units

      Daniel4k4k
      New Member
      May 23, 2022

      Hi Debbie, Thank you for the quick reply.

      My configuration is active-passive with DR site.

      So both FortiAuthenticator are in different locations using IPSEC tunneling.

      I do not use cross cabling.

      Is it still possible to enable the HA knowing the FortiAuthenticator creating 169.254.X.X IPS.?

      If it is possible what is the best way to implement it.?

      Regards,
      Daniel.

      Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
      Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
      Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT