Table des matières

Additional Network Scripts: Mnet Network Initialisation (Industrialisation)

VMoodle: Technical Guide

Context

This script industrialises the launch of the init_mnet_node.php script (worker) on all the available hosts of a VMoodle network.

It will ONLY process active tenants.

Syntax

  \$sudo -u www-data /usr/bin/php local/vmoodle/cli/bulkinitmnet.php --withmaster

Options

Action

With the withmaster mode active:

Without the withmaster mode active:

Additional notes

In the current state of the script, only a “star” configuration of the network is supported: The star configuration puts the main site (network head) in relation with each tenant, and each tenant knows ONLY the network head, positioning itself in a “star” around the main site.

Other configurations are possible:

This script does not handle these configurations.


Back to the technical guide - Back to the component index - Back to the plugins index - Back to the catalogue