[isf-wifidog] WiFi Dog auth server mirroring

Benoit Grégoire bock at step.polymtl.ca
Lun 22 Aou 10:11:11 EDT 2005

On August 19, 2005 09:39 pm, Rein Petersen wrote:
> Sloony looks very interesting:
> http://gborg.postgresql.org/project/slony1/projdisplay.php
> I believe Master-slave replication is our solution and the path of least
> resistance towards the ideal of greatest availability for authentication.
> It's unfortunate that there will be data loss but maybe we can make a few
> key changes initially (like rewriting the new user registration page to
> show a "Please try again later" message when it finds a global setting
> somewhere we set that indicates the auth server is in "secondary" mode).
> Other changes could be phased in over time and thus WifiDog auth server
> would be streamlined to handle master-slave situations, effectively
> decentralizing the authentication process that is so important to avoid the
> needless irritation to users and venues when network or servers become
> unavailable - **it happens.
> Again, giving WifiDog auth server the ability to detect it's configuration
> as a secondary (via global setting somewhere yet to be determined) will
> allow it to disable certain functionality (generally involved in writes to
> the db). Later, we can build in monitoring to automate the promotion of the
> database from slave to master (along with changing the secondary setting to
> primary in our global configuration) but a node in slave mode is still
> usuable, it just doesn't replicate it's changes back to the mother ship.
> With consensus, I will make sure we have Slony-I on the
> devauth.wirelesstoronto.ca <http://devauth.wirelesstoronto.ca> box and and
> I have second machine available to test replication. It's another doorstop
> but it has 256MB RAM and is PIII.
> Please voice up and let me know if this a good path.

It's workable, with reasonnable modular changes to the code.  But the devil 
will most definitely be in the details.

Benoit Grégoire, http://benoitg.coeus.ca/
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: non disponible
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20050822/8b3a2624/attachment.pgp

More information about the WiFiDog mailing list