Select Moodle version:

Other: VMoodle

block_vmoodle
VMoodle packs a Moodle Virtualisation toolset for running many independant or mnet bound moodles as an array.
Maintained by: Picture of Valery Fremaux Valery Fremaux

VMoodle provides an infrastructure to virtualize moodle getting many platforms running on the same codebase. VMoodle can register moodle "templates", as a complete snaphsot of a preset Moodle and create new moodles from this template in a few clicks.

Vmoodle provides :

  • Moodle instance creation, monitoring and management
  • Moodle Mnet "supernetwork" command system, running meta-adminsitration commands over several or all instances.

The Moodle 2.x versions are the result of the French state level project "ENTLibre 2.0" Of the National Funding program "Investissement d'Avenir"

Screenshots

screenshot

Contributors

Picture of Valery Fremaux
Valery Fremaux (Lead maintainer)
Picture of Wafa Adham
Wafa Adham: Migration helper
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Capt. Moodle
    Wed, Sep 12, 2012, 8:49 AM
    The readme file indicates that the main config.php file needs to be changed to include the vmoodle/vconfig.php file. As a result, it is not truly a block. Is there a way of providing a hook to pull in includes from plugins into config.php? Would that be desirable? In any case, until zip file validates and we have some clarity on this I am going to mark this as needing more work. Peace - Anthony
  • Picture of Valery Fremaux
    Wed, Sep 12, 2012, 3:19 PM
    In this particular case there is absolutely NO WAY do resolve the configuration hook when any moodle script starts. Actually, the VMoodle block is more likely a "local" plugin affecting a global behaviour of Moodle, but was setup as a block for convenience of architecture in 1.9. This would be an overheading work to change architecture now, as the hooking in config has been reduced to the minimum footprint possible.
    Remind the config.php is included at very early stage of the page construction (quite the early beginning) and that all what follows in script will depend on the choice of the effective database (including the choice of plugin itself).
    Cheers - Valery
  • MD shot of me from his iphone4
    Thu, Sep 20, 2012, 10:43 AM
    Yes there is a bug for making an event in config.php @ MDL-34632
  • MD shot of me from his iphone4
    Thu, Sep 20, 2012, 2:43 PM
    Hi Valery,
    i've moved this into the 'Other' category as this plugin cannot be installed easily by an automated system.

    Perhaps if we can work on MDL-34632 sometime we won't need patching to config.php but can instead use a callback as a hook (if not events).

    I think a video showing how this is/was used will be really useful in the long description here for anyone looking at this as it can seem complicated.

    In future it would be great if this was transformed into a local plugin using those events/hooks etc.
  • Picture of Valery Fremaux
    Thu, Sep 20, 2012, 3:32 PM
    I tracked the MDL-34632 discussion : i think it would NOT solve this very special case : extra config scripts would probably be considered during the setup phase, as Petr says it would be eventually agreed such a possibility once the system has run at least basic setup (in which database and moodledata attachement). VMoodle needs to work even before, as shifts the complete working environment.

    About the question of making a local plugin : anyway needs VMoodle be monitored and operated from somewhere, thus a block was interesting to give at least an accesspoint to backoffice. Maybe the local plugin could now add adequate Admin links to do it... yeah that seems a good idea indeed, as the position of this bloc in the GUI was not so pretty.... i'll take some time ASAP to consider this architecture shift.
  • Picture of German Valero
    Thu, Feb 21, 2013, 2:57 AM
    Hi Valery,
    I was looking at your VMoodle block and I noticed that the English language strings are not available for translation at AMOS, which most likely means that there is something not quite right in the plugin code. I think you might want to contact David Mudrak about this.

    In the meantime, I downloaded the files and I hope I will have the spanish translation of the English strings in a few days.

    I also checked the documentation page at http://docs.moodle.org/23/en/VMoodle_Block, added a link to the spanish translation for the 2.3 page version (which seems to be newer than the 2.4 version), and corrected a couple of minor English typos, all of which you can see in the history tab of the page.

    Thanks again for a very promising add-on for large Moodle sites (such as my University).
  • Picture of Valery Fremaux
    Thu, Feb 21, 2013, 8:32 PM
    Hi Aparup

    It seems i have a persistant trouble with this package as package info form gets empty (need sto hand fill field) and AMOS warning is raised... Are there any new rules for packaging i need to know ?

    Cheers
    Valery.
  • Picture of Tabea Hirzel
    Thu, Jun 6, 2013, 3:28 PM
    Hello,
    I installed the plugin on Moodle 2.5+. Seems to be fine. But when making the Snapshot Moodle Master Step 1 I get following message: 'Database dump command /usr/bin/mysqldump does not match any executable' - what ca I do?
    Cheers. Tabea
  • Picture of Wafa Adham
    Thu, Jun 6, 2013, 5:02 PM
    Hi Tabea,

    You need to make sure that in the admin settings the MySQLdump path is set properly.
    The message you get indicates the Mysqldump executable is not in its default location, you may refere to your system administrator for the exact path .

    best regards
    Wafa
  • Picture of Jaime Alamo
    Thu, Jun 13, 2013, 4:14 PM
    creating a virtual clone on moodle2.5 I get this error:

    Home

    Coding error detected, it must be fixed by a programmer: required_param() requires $parname and $type to be specified (parameter: vdbtype)
  • Picture of Jaime Alamo
    Thu, Jun 13, 2013, 8:50 PM
    I've installed vmoodle block for 2.4 on a moodle2.5
    and above error is displayed pressing the "database connection test" button
  • Picture of John Chan
    Tue, Jul 2, 2013, 12:14 PM
    I encountered the same error as stated by Jaime.
    To fix it, you need to modify this file: /moodle/blocks/vmoodle/views/management.testcnx.php

    just add the parameter type for each requiring parameters
    $database->vdbtype = required_param('vdbtype', PARAM_RAW);
    $database->vdbhost = required_param('vdbhost', PARAM_RAW);
    $database->vdblogin = required_param('vdblogin', PARAM_RAW);
    $database->vdbpass = required_param('vdbpass', PARAM_RAW);
  • Picture of Jaime Alamo
    Wed, Jul 3, 2013, 5:05 AM
    Certaintly John,
    applying your modification, now it returns "Connection is OK"
  • Picture of shailesh jai
    Thu, Jul 18, 2013, 6:49 PM
    everything is working fine except login section .... our user not able to login in child moodle site ... is this salt issue or lib/setuplib.php file mention in config.php file (in child moodle) ... if possible please provide config.php file example (child moodle site)
  • Picture of Valery Fremaux
    Thu, Jul 18, 2013, 7:06 PM
    there should not be any trouble in child site login as far as accounts are using the same salt for all submoodles. What you just need to check is that the virtualized moodledata root dir has correct access permissions. This assumes that your top Moodledata container is able to give at least group access to all the moodledata. Usually this is what happens when VMoodle creates the moodle data directory using the "test Moodledata" knob. VMoodlized child moodle behave just as any moodle except the master $CFG values have beed shifted BEFORE starting setup.php....
1 2
Please login to post comments