On Saturday 08 May 2004 19:34, Kostas Kalevras wrote: > On Sat, 8 May 2004, jesk wrote: > > hi, > > > > is there a need to run radrelay for identification of simultanous logins > > if iam running mysql backend with accounting in it? > > the mysql is storing the sessions and the radius server can query it for > > identification of the amount of logins a user have, why then the need of > > radrelay for announcing every session to every radius server? > > To identify double logins on a multi server environment you have to keep > the accounting information synchronized. I strongly recommend radrelay, it > works great, it can cope with server delays/downtimes and since it sends > radius accounting packets, the synchronization is not limited to mysql but > to the whole accounting system (rad_counter, rad_utmp etc). And it's very > easy to setup, just run radrelay on both your radius servers (if you have > two). Read doc/radrelay for more information. Use the latest CVS version, > it has many fixes and works very nice (we are using it on a multiserver > environment with 100000 sessions/day). > > > the next question i have is that i dont know how to cluster the mysql > > backend, cause mysql replication works only oneway, and the radius cant > > announce new sessions to both of the mysqlservers. iam right in thinking > > that i can only backup my system with the replication or only use mysql > > for authentication on both mysqlserver but session handling have to be > > stored in one mysqlserver? maybe someone can tell me something about good > > clustering of freeradius with mysql? > > > > > > thanks in advance, > > christian > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > -- > Kostas Kalevras Network Operations Center > [EMAIL PROTECTED] National Technical University of Athens, Greece > Work Phone: +30 210 7721861 > 'Go back to the shadow' Gandalf > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html
hi, thanks for your fast answer. the advantage with simultanous-use and session handling in mysql is, that i have the control in one central database. what would be if a session is already dead but would exist in the detail file for radrelay, how would i clean this if i wouldnt use radcheck for checking the nas for the dead/active session? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

