Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Super-administration.

Super-administration

From MoodleDocs

Back to index

General principles for MNet super-administration

MNet super-administration is a feature allowing to massively execute some administration commands on a set of virtualized Moodle platforms. The commands are transmitted to each node using a dedicated MNet function attached to the VMoodle Block scope. The emitting platform should subscribe to the super-administration service, receiving nodes should publish the super-administration service.

The MNet super-administration will provide a unique process for executing any network administration command :

  1. Building the command : Mostly SQL orders, build manually or through some command preset.
  2. Choosing targets.
  3. Command execution and getting results.

Tip !! : command and targets are stored in session, thus it will be easy to execute the same command on another target set, or keeping the target set and making a new command on it.

Super-administration main screen provides several command sets. As super-administration is a fully extensible architecture, developers and integrators may easily add command blocks and define new command templates.

All the following commands can be applied to any subset of VMoodle instances in the network:

  • Generic commands
    • Remote copy a configuration value
    • Remote copy a plugin confuguration value
    • Remote toggle on/off maintenance
    • Remote empty all caches
  • Roles related commands
    • Compare a role definition (capability sheet)
    • Synchonize a full role definition
  • Plugins related commands
    • Compare equipment (activation status) of all plugins in a plugin class
    • Synchronize plugin equipment (activation status) of all plugins in a plugin class
  • Upgrade related commands
    • Process remote logical upgrades

Advanced mode

The advanced mode will allow an administator to write a full SQL query to be played on all target Moodles. Note that the SQL must be independant of local context to have a chance to proceed with success.