This script industrialises the launch of the renew_mnetkeys.php script (worker) on all the available hosts of a VMoodle network.
It will ONLY process active tenants.
\$sudo -u www-data /usr/bin/php local/vmoodle/cli/bulkrenewmentkeys.php --withmaster
With the withmaster mode active:
Without the withmaster mode active:
The bulkinitmnet.php script, in addition to setting up the network keys, will set up the service exchange strategies defined in the VMoodle configuration.
Moreover, this script will only process sites defined as VMoodle tenants. The bulkrenewmnetkeys.php script will try to renew all the known network peers of the local environment where the command is applied, whether they are defined as VMoodle tenants or not.
Back to the technical guide - Back to the component index - Back to the plugins index - Back to the catalogue