max_requests and db connection and oracle issues?

Alan DeKok aland at deployingradius.com
Mon Jan 31 13:24:41 CET 2011


Omer Faruk SEN wrote:
> How can I see the online radius sessions on a certain time?

  Use a database.

> Btw I am
> having db connection issues but there is no log at radius.log about db
> connection reset or connection problems. How can i see active db
> sessions used by radiusd?

  See the log file, or if that isn't enough, edit the source code.

> I want to correlate radiusd connections and
> db connections
> 
> Also my db connection string is :
> 
> RADIUSDB=(DESCRIPTION=(LOAD_BALANCE=yes)(FAILOVER=on)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.YYY.ZZZ.TTT)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=AAA.BBB.CCC.DDD)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=QQQ.WWW.RRR.TTT)(PORT=1521)))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=RADIUSDB)(failover_mode=
> (type = session) (method = basic)(RETRIES=180)(DELAY=5))))
> 
> Is this a supported method for FreeRadius Daemon?

  The connection string is handled by the Oracle client libraries, and
has nothing to do with FreeRADIUS.

> I have 3 servers
> with failover. Does radiusd support failover method used here?

  If the Oracle client libraries handle it, yes.

  Alan DeKok.



More information about the Freeradius-Users mailing list