Outils pour utilisateurs

Outils du site


local:vmoodle:userguide

VMoodle (local): User guide

Introduction

The VMoodle user guide is mainly oriented towards the use of the super-administration interfaces.

The implementation of virtualisation is documented in the installation documentation.

Accessing VMoodle management

Access to VMoodle management is located in the main administration menu, under the “Server” section. The menu entry is named “Administer virtual platforms”.

Instance management

The first screen is the management of virtual instances.

On this screen you can manage and administer the various virtual instances that your installation operates.

Each declared instance (apart from the main physical instance) is displayed with indicators and commands.

Indicators

  • Name: Name in the vmoodle registry
  • Host name: Name in the Mnet record
  • State The state indicator is green for an “open” platform, therefore resolved on arrival, and red if it is disabled. Disabling a virtual platform is a simple and quick way to prevent any use of a particular domain name.
  • MNET subnetwork Indicates the MNET subnetwork number the platform belongs to.
  • Crons The number of times the virtual cron has been run
  • Last cron date The virtual cron runs the crons of each virtual platform in rotation (ROUND ROBIN), or by respecting an interval constraint. This indicator gives the last run date for this virtual platform.
  • Interval between runs Indicates the last interval between cron runs, in seconds.

In pictures:

Bulk commands (first column)

You can also perform some commands in groups by selecting rows in the platform management table and choosing an action to apply in the lower list.

Commands (last column)

  • Edit This command lets you modify the definition parameters of the virtual instance.

:!: This modification applies ONLY to the platform definition registry. It can in no way renegotiate the content obtained at creation by applying a “template”.

  • Disable/Destroy This command works in two stages:
  • If the platform is active, the action will first disable this platform without touching its content.
  • If the platform is already disabled, this command totally destroys the platform, its registry and its content.
  • Snapshot This command captures an image (snapshot) of the platform. This image is made available to serve as a new initialisation “template” for other platforms to create.

Special instance management commands

Capture the main platform: At the start of a VMoodle installation, you only have the main platform installed according to the standard configuration definition. You therefore have no reference virtual platform and no template available. This button lets you launch the snapshot of the main platform. It will be the first model you have to build your following instances.

Define a new platform: Click this button to call the form for creating a new platform. You can create an “empty” platform or one pre-filled with the data of a “template”.

Generate configurations: This command generates the physical configuration files of the virtual platforms as if they had been installed normally. This makes it possible, for example, to rematerialise a platform on another server as a “classic” running Moodle.

Generate copy scripts: During a major Moodle migration, it is always advisable to work on copies of the sites, keeping the production site intact until the migration is validated. Carrying out a global migration on a large number of platforms can prove tedious and costly in administration time.

This tool automates the production of operation scripts (Unix shell) covering the main steps of this process replicated over a large number of platforms. It produces:

  • Database-related scripts
    • Archiving scripts for the batch of SQL databases (under MySQL or MariaDB)
    • Creation scripts for the N+1 databases
    • Data copy scripts from the N databases to N+1, and readjustment of the N databases
  • Working files related scripts
    • Creation/copy scripts for the data directories
  • Configuration adjustment scripts
    • Copy scripts for the configuration files (config.php and local/vmoodle/vconfig.php) and configuration adjustment
  • Scripts driving the migration operation
    • Some pre-processing scripts (for example, launching mysql_compressed_rows.php)
    • Update execution scripts (non-interactive)
    • Post-migration scripts (adjustment operations needed after data transformation).

:!: Note: These scripts are currently experimental and may be tied to a given deployment method and configuration.

Renew all pairs (MNET): In a large constellation, the network topology between the different instances may be rich and very dense in service crossings. The VMoodle implementation offers an exclusive solution to stabilise the multiple relations through MNET for a large number of platforms. This mechanism allows a continuous renewal of keys over time. Certain extrinsic events such as a network outage, or a maintenance action causing some unavailability can break the overall consistency of the trust network by preventing the correct renewal of keys. This button lets you attempt a repair of the trust network.

Synchronise Vmoodle registries: :!: to complete

Run Vcron manually: This menu launches the virtualised cron.

Learn more about the virtual cron

Super-administration: command sets

The super-administration screen lets you broadcast commands across the whole network of virtualised platforms. Super-administration relies on an extensible command infrastructure that works according to the following process:

  • Choose a command and configure it
  • Choose a set of target platforms
  • Run the command
  • Recycle the command or build a new command.

The command recycling principle covers the following three situations:

  • Reuse the same command on a new set of platforms
  • Reuse another command while keeping the same set of platforms
  • Change the command and the set of target platforms

These commands allow some bulk manipulations on course categories and courses

See the details of the course-related functions

Generic functions

Generic commands cover “basic” actions such as the bulk modification of a configuration value or the global clearing of caches.

See the details of the generic commands

These commands cover the enabling/disabling of plugins across the network, and the global synchronisation of the equipment of several instances.

See the details of the plugin-related commands

These commands allow the comparison of role sheets between several instances, and the resynchronisation of capability values between several platforms.

See the details of the role and permission commands

This set currently contains only one command, which launches the remote update of all or part of the network.

This distributed update remains dependent on:

  • a good state of the SSH keys of the mnet network
  • the proper operation of the plugin or platform core update functions

See the details of the update command

VMoodle network administration unit tests

An experimental test command set shows the various building primitives of the command infrastructure.


Back to the VMoodle component index - Back to plugins index - Back to catalogue index

local/vmoodle/userguide.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki