2012-09-06 - Re: [GRASE-Hotspot] replicate database
Header Data
From: Tim White <ti***8@gmail.com>
Message Hash: 380cbb4f3acd68b8b2433eeab4bb6353912c8ddd337d7a8c8f2a1daa543b7c63
Message ID: <50491566.7000605@gmail.com>
Reply To: <34487A6DF906D542B7EB9816D6F880FD1387E480@SERVERMAIL.Monterosaspa.local>
UTC Datetime: 2012-09-06 14:28:06 UTC
Raw Date: Fri, 07 Sep 2012 07:28:06 +1000
Raw message
On 05/09/12 19:42, Tommaso Prinetti wrote:
>
> My question is: how can I replicate the database? For now, each system is independent and I have to manually create the accounts on each hotspot. Is it possible to set a cron job that replicates the account database from one hotspot to the other?
You don't really want to replicate a database, due to the fact that
there is a lot in there that decides if the user is allowed access or
not. (i.e. usage logs). What you'll want to do, is pick on database as
the "master", then change the other hotspot to run off that database.
Currently it's not as easy as it should be, you'll need to edit files in
/etc/grase/ and there is also one in /etc/freeradius that has database
settings.
In the future I'll be making it possible to have master and slave nodes.
Tim
Thread
-
Return to September 2012
- Return to “Drazen <dr***a@radez.hr>”
- Return to “Tim White <ti***8@gmail.com>”
- Return to “Timothy White <ti***8@gmail.com>”
- Return to “Tommaso Prinetti <to***i@monterosa-ski.com>”
-
Return to “GRASE Trac <tr***c@grasehotspot.org>”
- Unknown thread root
- 2012-09-02 (Mon, 03 Sep 2012 06:00:55 -0000) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - GRASE Trac <tr***c@grasehotspot.org>
- 2012-09-03 (Mon, 03 Sep 2012 10:42:45 +0200) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - Drazen <dr***a@radez.hr>
- 2012-09-05 (Wed, 05 Sep 2012 19:03:22 +1000) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - Timothy White <ti***8@gmail.com>
- 2012-09-05 (Wed, 05 Sep 2012 09:42:13 +0000) - [GRASE-Hotspot] replicate database - Tommaso Prinetti <to***i@monterosa-ski.com>
- 2012-09-06 (Fri, 07 Sep 2012 07:28:06 +1000) - Re: [GRASE-Hotspot] replicate database - Tim White <ti***8@gmail.com>
- 2012-09-05 (Wed, 05 Sep 2012 09:42:13 +0000) - [GRASE-Hotspot] replicate database - Tommaso Prinetti <to***i@monterosa-ski.com>
- 2012-09-05 (Wed, 05 Sep 2012 19:03:22 +1000) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - Timothy White <ti***8@gmail.com>
- 2012-09-03 (Mon, 03 Sep 2012 10:42:45 +0200) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - Drazen <dr***a@radez.hr>
- 2012-09-02 (Mon, 03 Sep 2012 06:00:55 -0000) - Re: [GRASE-Hotspot] #40: Export usernames and passwords to excel or other file format - GRASE Trac <tr***c@grasehotspot.org>