Moodle replication

Moodle replication

by Dave van Suilichem -
Number of replies: 2
Hi Moodlers,

Not sure if this is the correct forum. South Africa, bandwidth and caps on bandwidth usage are a problem. I have set up a Moodle site on the Internet for a school and it is working well. Access from 'inside' the school is slow when there are a number of concurrent users, so one idea is to set up a server inside the school that replicates with the server on the Internet.

The server (on the Internet) is a Lamp server.

Is this possible?

Any comment appreciated.

Many thanks,

Dave
Average of ratings: -
In reply to Dave van Suilichem

Re: Moodle replication

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Please do a search and read previous discussions before posting! Check for example http://moodle.org/mod/forum/discuss.php?d=128468
In reply to Visvanath Ratnaweera

Re: Moodle replication

by Greg Baskind -
Also in South Africa and wanting to find a way to "mirror" servers.
Connectivity is intermittent at the office.
One local and one hosted.
User could be switched between the two without ever knowing.

I think one would need:

A reverse proxy, so that clients think they are getting replies from one server, but actually could be either. nginx or perlbal

A load balancer to allow fast redirect when DSL goes down. Even considering putting a simple LB on the client machines.

MySQL sync to allow two remote databases to remain totally in sync - zmanda

The idea is not to create Moodle Network servers which can allow each other access to courses, but rather two cloned bi-directional live/backup servers.

If connectivity is cut to outside world, inside users do not notice a difference.
Outside users do not notice a difference.
Both continue to work.
When connectivity is restored, servers sync.

Hmmm.....Sessions could be an issue, amongst other things.

This need is different from Moodle Networked solution in that one database/user data folder holds all transactions at days end.