We are planning on running moodle on seven different sites, would it be possible to replicate the same database between all seven servers?
I've never heard of it being done. What about the 'moodledata' files? If you had sufficient bandwidth to make all that work, why not have a single moodle installation?
The content is being replicated by Unison, on a nightly schedule, our sites are separated by roughly T1 lines, which makes it difficult to stream video content and larger files over our WAN links
Check through the Hardware/Performance forums, there has been allot of discussion over the years, recently I have been voiving our setup since there wasn't many out there;
https://moodle.org/mod/forum/discuss.php?d=231797 < Cluster over WAN , you can easily cluster all 7 servers using what I talked about here
One important note is that since you say you have a "slow" WAN connection in using any type of replication your slowest connection will be your weakest link, all mysql servers will then run slow. Just be prepared and do some testing, it is possible though.
My worry is that - unless you shut down all your sites during the synchronisation - that the file areas will eventually become out of step with the the database information that describes them.
I fail to see how you are going to sychronise user data... if a person makes a forum post on one site and another makes a post on a different site, how will you handle that? Or perhaps that isn't what you want to do? It all seems a bit unlikely to me.
Hi Thanks for all the replies. The idea was to use a program like unison http://www.cis.upenn.edu/~bcpierce/unison/ to synchronize the user files across all seven sites and then use clustering to keep all the database between all nodes up to date with MYSQL clustering. So far we have tested, Unison keeps the userdata in sync, but we still need to keep the sql database up to date.
Does it work? Synchronizing moodledata folder with unison and then replicating the database using Master-Master replication. If it does, Is there anything that i have to pay attention to while configuration?
sorry jeh i could not Understand what u r trying to say. could you please make it little more simpler?
thanks in advance
If your database has any references to domain1.com in it they will need to be replaced for domain2,3,4....
That only happens in html like labels, pages so can be avoided as long as your content authors are aware.
You may not be familiar with the moodle.org site policies, so please check the Post your question in one forum only section.
You have already posted in five different threads: