Question about multiple sql databases!

Fajar A. Nugraha list at fajar.net
Mon Mar 2 10:32:00 CET 2015


On Mon, Mar 2, 2015 at 4:16 PM, Haviaras Kostas <koshalirod at gmail.com> wrote:
> Hello, I have define three sql databases on the sql.conf and each database
> point to different database but they have the same username and password.
> Each of them I have added on the /sites-enabled/default instead of the sql.
> My problem, when I connect to one through the my NAS its connect
> simultaneously on the 3 databases. Even if the username is doesn't exist on
> the other 2.

So what is it that you want to achive? redundancy?

> default(replace each sql with the following three):
> db1
> db2
> db3
>
>
> I have to create Realms? Or 3 differents virtual servers? Thanks

If you want redundacy, try unlang, e.g.
http://freeradius.org/radiusd/man/unlang.html . In particular, the
"redundant" or "redundant-load-balance"

-- 
Fajar


More information about the Freeradius-Users mailing list