Hi, I'm testing freeradius 2.1 from debian stable. I'd like to set two independent serwer with the same configuration but the problem is with synchronize active sessions radutmp. I use simultaneous-use = 1. So if first server is broken client won't be able to authorise :/ How can I achieve synchronized two servers with active sessions? I don't want to using sql database to avoind problems with other servers, daemons. -- Pozdrawiam Marcin / nicraM
On Wed, Mar 25, 2015 at 08:35:52AM +0100, Marcin wrote:
Hi, I'm testing freeradius 2.1 from debian stable.
That version is ancient. Building new Debian packages is easy. http://wiki.freeradius.org/building/Build#Building-Debian-packages
I'd like to set two independent serwer with the same configuration but the problem is with synchronize active sessions radutmp.
How can I achieve synchronized two servers with active sessions?
Use a database.
I don't want to using sql database to avoind problems with other servers, daemons.
Newer versions can use, e.g. redis. Building a solution that uses a modern master-master replicated database is likely to be much cleaner and easier than any other hack copying wtmp files around. Thanks, Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
2015-03-25 12:52 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
I don't want to using sql database to avoind problems with other servers, daemons.
Newer versions can use, e.g. redis. Building a solution that uses a modern master-master replicated database is likely to be much cleaner and easier than any other hack copying wtmp files around.
I don't want to use any database solution. master-master replication in postgresql is like a nightmare :/ -- Pozdrawiam Marcin / nicraM
On Wed, Mar 25, 2015 at 12:58:50PM +0100, Marcin wrote:
2015-03-25 12:52 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
I don't want to using sql database to avoind problems with other servers, daemons.
Newer versions can use, e.g. redis. Building a solution that uses a modern master-master replicated database is likely to be much cleaner and easier than any other hack copying wtmp files around.
I don't want to use any database solution. master-master replication in postgresql is like a nightmare :/
That's why I suggested redis. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
What about http://freeradius.org/radiusd/man/radrelay.html ? Is this deprecated totally? 2015-03-25 13:37 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
On Wed, Mar 25, 2015 at 12:58:50PM +0100, Marcin wrote:
2015-03-25 12:52 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
I don't want to using sql database to avoind problems with other servers, daemons.
Newer versions can use, e.g. redis. Building a solution that uses a modern master-master replicated database is likely to be much cleaner and easier than any other hack copying wtmp files around.
I don't want to use any database solution. master-master replication in postgresql is like a nightmare :/
That's why I suggested redis.
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Pozdrawiam Marcin / nicraM
On 26 Mar 2015, at 07:14, Marcin <marcin@nicram.net> wrote:
What about http://freeradius.org/radiusd/man/radrelay.html ? Is this deprecated totally?
Yes. Just use the detail reader/writer. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On Mar 26, 2015, at 8:55 AM, Marcin <marcin@nicram.net> wrote:
2015-03-26 13:33 GMT+01:00 Arran Cudbard-Bell <a.cudbardb@freeradius.org>:
Yes. Just use the detail reader/writer.
datail reader/writer? sorry, bu i don't understand what you mean?
Read raddb/sites-available/copy-acct-to-home-server Alan DeKok.
I this that this will be best solution for me. But I'm new with radius and configure that isn't easy for me. I don't understand all the comments in files. Aby example of configure this? 26 mar 2015 15:08 "Alan DeKok" <aland@deployingradius.com> napisał(a):
On Mar 26, 2015, at 8:55 AM, Marcin <marcin@nicram.net> wrote:
2015-03-26 13:33 GMT+01:00 Arran Cudbard-Bell <a.cudbardb@freeradius.org :
Yes. Just use the detail reader/writer.
datail reader/writer? sorry, bu i don't understand what you mean?
Read raddb/sites-available/copy-acct-to-home-server
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 26 Mar 2015, at 09:55, Marcin <marcin@nicram.net> wrote:
2015-03-26 13:33 GMT+01:00 Arran Cudbard-Bell <a.cudbardb@freeradius.org>:
Yes. Just use the detail reader/writer.
datail reader/writer? sorry, bu i don't understand what you mean?
https://github.com/FreeRADIUS/freeradius-server/blob/v3.1.x/raddb/sites-avai... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
2015-03-25 12:52 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
That version is ancient. Building new Debian packages is easy. http://wiki.freeradius.org/building/Build#Building-Debian-packages
ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.7.tar.bz2 is this version stable?? -- Pozdrawiam Marcin / nicraM
On 25 Mar 2015, at 08:16, Marcin <marcin@nicram.net> wrote:
2015-03-25 12:52 GMT+01:00 Matthew Newton <mcn4@leicester.ac.uk>:
That version is ancient. Building new Debian packages is easy. http://wiki.freeradius.org/building/Build#Building-Debian-packages
ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.7.tar.bz2 is this version stable??
Yes. If you don't want to use postgres, use REDIS 3.0 in cluster mode. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Marcin -
Matthew Newton