{{ :blocks:logo-apl.png?nolink |}} ===== 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: * If the machine IP changes * If the domain names used change. 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 ==== * -H, --host Runs the command on this vmoodle tenant * -h, --help Displays help * -d, --debug Enables debug mode ==== 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 ------- [[:local:vmoodle:technique|Back to the technical guide]] - [[:local:vmoodle|Back to the component index]] - [[:plugins|Back to the plugins index]] - [[:start|Back to the catalogue]]