docs.moodle.org/dev/Multitenant_support MDL-28946 August 2011 “It should be possible to implement this in 2.2dev…” January 2012 “This is obviously much much longer and more complex than originally envisaged” March 2012 “Multi-tenancy has been dropped in 2.3. It turned out to be more trouble than it was worth…”
Central Instance Settings User Management Themes ModulesCourse Management Reports Code Local Instance(s)
User & Course Management How is user information stored? LDAP / MS-AD / database / external system Are user names unique? Will courses be managed centrally, locally or both? Who is allowed to “see” what?
Settings Global vs. local admin settings “Freeze” values in in config.php E.g. $CFG->loginhttps=false; Flavours
Modules & Code Are all instances code-identical? Changes to the central core code? Changes to the local core code? Do all instances require a separate URL?
Centralised code Web server configuration Separate vhost for each Moodle instance DocumentRoot identical for all entries Moodle setup (config.php) <?php // Moodle configuration file $moodle_host = $_SERVER[HTTP_HOST]; require_once(„/etc/moodles/‟.$moodle_host.‟_config.php‟); Individual config.php‟s in /etc/moodles $CFG->dirroot same as DocumentRoot
Other aspects Themes (central / local) Reporting (central/ local) Backups Cohorts? Import of existing instances? Support!Resourceshttp://docs.moodle.org/dev/Multitenant_supporthttp://tracker.moodle.org/browse/MDL-28946http://docs.moodle.org/dev/Web_services_Roadmaphttp://docs.moodle.org/dev/Moodle_flavourshttp://docs.moodle.org/22/en/Git_for_Administratorshttp://docs.moodle.org/22/en/Cohorts
ChecklistCriteria Options ImpactUser Management central / local External Management (LDAP / Web Services)Usernames unique yes / no Separate instances requiredVisibility open / closed Separate instances requiredCourse management central / local Separate system requiredAdmin settings central / local / hybrid ControlModules 1:n / n:n GITCode modifications central / local / no GITURL central / sub-domain / separate Web server configurationThemes For each tenant / one-for-all Separate instances requiredReporting local / across sites Separate report generator… … …
Alex BüchnerTwitter: @mcbuchnerThank youwww.synergy-learning.com