local:vmoodle:install
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| local:vmoodle:install [2018/02/21 15:31] – [Update the main configuration file of Moodle] admin | local:vmoodle:install [2025/12/10 16:16] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 113: | Ligne 113: | ||
| This key allows remote users to become site administrators of the local moodle. This is forbidden by standard Mnet rules but VMoodle implementation propose patchs to override. | This key allows remote users to become site administrators of the local moodle. This is forbidden by standard Mnet rules but VMoodle implementation propose patchs to override. | ||
| - | ==== Mise en oeuvre du cron virtualisé | + | ==== Cron setup in virtualized environements |
| - | === Mise en place à partir de cron simples | + | === Using unitary crons for each nodes === |
| - | Un plate-forme | + | A Moodle |
| - | La mise en oeuvre de plates-formes virtualisées nécessite également de mettre en oeuvre ces tâches pour chacune des instances virtuelles qui sont créées dans la virtualisation. | + | A standard way of setting up would setup a cron line for each of the virtual moodle an installation contains. |
| - | En HTTP, vous pouvez enregistrer vos tâches cron sur les domaines d' | + | If you use the HTTP method to run crons, f.e. |
| - | Pour obtenir un basculement effectif de l'instance de service, utilisez à la place le script : | + | */10 * * * * wget -O /dev/null -q http:// |
| + | |||
| + | then you can register as many '' | ||
| / | / | ||
| - | en précisant explicitement la racine | + | You will provide the " |
| - | === Utilisation de l' | + | === Using the VCron hyper rotator |
| - | VMoodle | + | The VMoodle |
| wget http:// | wget http:// | ||
| - | ou | + | or in command line |
| sudo -uwww-data php / | sudo -uwww-data php / | ||
| - | La fréquence de rotation de l' | + | You may internally configure the vcron settings to raise the number of virtual moodle processed per cron run. |
| + | the basic calculation for vcron rotation is : | ||
| - | ---- | + | With a "run per turn" of 1 and 20 virtual moodles and a cron period of 1 minute per turn, each vmoodle will be processed once per 20 minutes. Raising the "run per turn" to 2 will divided the effective cron period to 10 minutes per vmoodle instance. |
| + | For very large moodle arrays, it may be worth having a separated machine to process the crons for all the moodle instances. Cron processes may ovelap one on each other, but will not pull down theusual user's page distribution too much. | ||
| + | |||
| + | A very advanced feature (undocumented here) allow to distribute the vcron scheduling on several clusters. | ||
| + | |||
| + | ---- | ||
| < | < | ||
local/vmoodle/install.1519227063.txt.gz · Dernière modification : (modification externe)
