On 17/09/2026 12:43, David Lake via Freeradius-Users wrote:
I have two FR 3.0.3 servers and a 3-node Galera cluster for HA. ... 1. Should I run the ’Skip Locked’ on FreeRadius or not? Some documentation says that I shouldn’t as MariaDB doesn’t support it, but other say newer versions do support it
Unsure on the database side, but it sounds like your whole system needs an upgrade. Then new features will become available to you.
1. What is the optimal way of configuring HAProxy?
For what? In front of FreeRADIUS? In front of the database? Maybe ask the HAproxy people.
1. How do I separate out writes from reads - I have two sites, each with one FR server and one Galera node. There is a high-speed network between the two, but ideally, I want to keep cross-site traffic to a minimum.
For this sort of thing you'd normally use a "redundant" type section (see instantiate in radiusd.conf) with two sql module instances, one that you point to the database server you use for RW, and the other pointing to the DB server for RO. e.g. from the example in radiusd.conf, maybe something like redundant redundant_sql { sql_local sql_remote } then call 'redundant_sql' instead of 'sql'. sql_local/remote would of course be the other way around at the other site. If 'sql_local' is unavailable, FR will fall back to using 'sql_remote'. Or, alternatively, define them as 'sql_ro' and 'sql_rw' and call each one as appropriate if you want to just read, or write. I seem to remember there may have been some bugs fixed with this in the last couple of versions or so; another reason to upgrade before trying it. -- Matthew