+ Post New Thread
Results 1 to 11 of 11
Virtual Learning Platforms Thread, Moodle Mirror in Technical; Is anyone out there mirroring there online moodle website with an intranet server? I am just embarking on the process ...
  1. #1
    pod
    pod is offline

    Join Date
    Feb 2009
    Location
    Belfast
    Posts
    40
    Thank Post
    21
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Moodle Mirror

    Is anyone out there mirroring there online moodle website with an intranet server?

    I am just embarking on the process and wondered if anyone had a similar experience. I have a lamp server running on Vmware ESXi and I'm ready to go. My school is part of a managed service so all I am waiting for is an ip address for my 'unmanaged server' to make it accessible to the lan.

    My plan is to do a nightly sync of the moodle data directory and database. We find our VLE nearly unworkable when trying to run over the net at busy time so hopefully this will provide a sort of offline version. It occurred to me that most vle courses don't change and the 5Mb/s downloads I am getting on the lan may make the pleasant a whole lot easier.

    Anyway let me know if anyone else is doing the same.

  2. #2

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    intresting idea, ahould keep the bandwidth requirements down but i suspect it might be a bit tricky.

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    If the main problem is the downloads then it could be an idea to put in a proxy cache at your site.

  4. Thanks to CyberNerd from:

    pod (10th February 2009)

  5. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,690
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    rsync would do it but I'm not sure how it'd take to working out both ways.

    I suppose I'd go with a push pull type scenario.

    Hours of 8am-4pm Using the local LAN
    at 4pm, push to the internet site for evening use.
    7am, pull it back down.

    Alternatively ofc is to host it internally accessed from the outside if "less" demand comes from there.

    A bit of a brain storm maybe.

  6. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    also with rsync on the files, it might be worth just having the database on one server, I doubt the database traffic would be too heavy

  7. #6
    gaz350's Avatar
    Join Date
    Jul 2007
    Location
    Rutland, east.leicestershire :P
    Posts
    579
    Thank Post
    47
    Thanked 49 Times in 41 Posts
    Rep Power
    28
    Schools hit VLE's hardest during lesson time. Using todays teaching methods you generally get 30-60 kids all doing the same thing at the same time as you are experiencing.

    I would say just host moodle on the side that hits it the most. students wont cause too much of a problem if they have to wait for a pages to download at home. but an entire class would kick up a big stink if they have to wait during lesson time (they get bored and chat to their mates).

  8. #7
    pod
    pod is offline

    Join Date
    Feb 2009
    Location
    Belfast
    Posts
    40
    Thank Post
    21
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I think you guys have a better system than I had in mind :-)

    My version comes with a disclaimer, at least 24hrs behind the online version with lessons requiring user data e.g. online tests...being done online and not on the offline server. The main aim would be for students to be able to download files available on the vle.

    I appreciate the comment about the proxy cache...it would help with the download times but even getting at the site is a problem.

    Rsync is probably the best way forward to minimise the downloads.

    I'll let you know how it develops.

  9. #8

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,812
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168
    Its a good basic idea- as other have said - most hits/load is during day during lessons.

    But problem would be getting sync down quickly enough so that keen students (the ones that are doing their assingments on the bus going home via their netbooks ) don't notice,

    I'm thinking it would be better to just have a moodle server in the school with 2 net cards - one for school LAN - another one for external access

    Maybe even a 3G dongle would be enough to satisfy external evening/weekend access and so obviate any need to deal with LEA/RBC for external IP

    regards

    Simon

  10. #9
    tsky's Avatar
    Join Date
    Jan 2009
    Location
    Billingham
    Posts
    200
    Thank Post
    10
    Thanked 27 Times in 16 Posts
    Rep Power
    20
    Why not mirror your MySQL server - then you can have instant updates between the two sites and if either one went down you can recreate from the other one (for DR policy).

    fair few sites out there with info about mirroring...
    How to setup mysql mirroring | UK Web Hosting | Linux Windows Server Tutorials | PHP MySQL Service

    You can set up RSync to work both ways putting new content between themselves - I've used RSync to keep two boxes up to date when changes are happening on both.

  11. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,659
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Getting ready to do the same thing here - mirroring the data to an other linux box
    This box wont be used unless the "live" box went down - its only going to be on an old P4 PC but should be enough to rsync the data from the main web server to this one so that in case of a DR - we can rsync it back across..

    Will read up on mirroring mysql though...

  12. #11
    gaz350's Avatar
    Join Date
    Jul 2007
    Location
    Rutland, east.leicestershire :P
    Posts
    579
    Thank Post
    47
    Thanked 49 Times in 41 Posts
    Rep Power
    28
    Im pretty sure you can mirror 2 mysql servers and keep them constantly upto date by having each server setup as a mirror of the other?

SHARE:
+ Post New Thread

Similar Threads

  1. RAID 5 Mirror
    By ozydave in forum Hardware
    Replies: 19
    Last Post: 23rd January 2008, 06:46 PM
  2. McAfee Mirror fails
    By bizzel in forum Windows
    Replies: 5
    Last Post: 12th January 2008, 09:45 PM
  3. best way of creating a mirror on server 2003???
    By johnkay21 in forum Windows
    Replies: 20
    Last Post: 16th July 2007, 07:58 PM
  4. Mirror, Mirror, on the wall...
    By AshF in forum Other Stuff
    Replies: 16
    Last Post: 22nd January 2007, 06:54 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •