Table des matières

Additional Network Scripts: Mnet Network Initialisation

VMoodle: Technical Guide

Context

When migrating or moving a network of networked platforms, it is often necessary to renew the communication keys between peers. Renewal is essential:

This tool makes it possible to renew the local network communication key and to activate the Mnet network if it is not done yet. It is mainly used as a “worker” of the mass industrialisation script bulkstartmnet.php.

Script action:

The script activates the MNET network and initialises or replaces its local key.

Syntax

  \$sudo -u www-data /usr/bin/php local/vmoodle/cli/start_mnet.php --host=http://my.virtual.moodle.org

Options

Details

BindHost

If BindHost is a vmoodle host definition, then the connection operation connects this host to the main site and to all the hosts belonging to the same vmoodle subnetwork.

If BindHost has the special value “subs”, then the operation connects the main site to the Host host


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