SQL IP Pool Not Accepting Redundant SQL

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Oct 4 12:15:52 CEST 2011


On 4 Oct 2011, at 12:08, Det Det wrote:

> Hi,
> 
> How to make sqlippool accept redundant SQL as below?
> 
> sqlippool {
>  sql-instance-name = "redundant_sql"
>  ippool_table = "radippool"
> ...
> }
> 
> radiusd.conf
> ...
>     redundant redundant_sql {
>             sql1
>             sql2
>         }
> ...
> 
> if I use  sql-instance-name = "sql1" or sql-instance-name = "sql2", it works. But then, I'd like to do redundancy. 
> 
> 
> sql-instance-name = "sql1 sql2" or sql-instance-name = "sql1, sql2" also does not work.
> 
> -

You can't, 'redundant_sql' is not an sql-instance. You need to create two instances of sqlippool, then wrap them in a redundant block...

Arran Cudbard-Bell
a.cudbardb at freeradius.org

Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111004/49b4dd68/attachment.html>


More information about the Freeradius-Users mailing list