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 :
- Building the command : Mostly SQL orders, build manually or through some command preset.
- Choosing targets.
- 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
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.