Skip to main content

How to use the vME Microweb

Overview

For casual use that doesn't require automation, vME has a web frontend.

Pools

A pool is a combination of one or many disk drives. A pool can have one or more sources. Sources created within the pool see all the pool's capacity and can grow up to the available space for the whole pool.

Creating a Pool

Navigate to the Pool screen.

To create a new pool, click on the “+ Pool” button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
Pool NameName of the pool.
Pool SizeSize of the pool drive to be allocated (In MBs).
Device PathThe volume path of the disk(s) to be utilised by the pool.

Sources

A source is created in the boundaries of a pool. A source file can only belong to one pool, but pool can contain more than one source.

Creating a Source

Navigate to the Source screen.

To create a new source, click on the “+ Source” button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
Pool NamePool to create the source within.
Database TypeDatabase type, select from dropdown.
Source NameName of source to be created.

Snapshots

Snapshots are point-in-time snaps of the source's state. Creating a snapshot means recording source vnodes and keeping track of them. Once the data on that inode is updated, the old block of data is retained. You can access the old data view by using said snapshot, and only use as much space as has been changed between the snapshot time and the current time.

Creating a Snapshot

Navigate to the Snapshots screen.

To create a new source, click on the “+ Snapshot" button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
SourceSource to create snapshot from.
Snapshot NameName of snapshot to be created.

Clones

Snapshots are read-only. If you want to mount a snapshot and make changes to it, you'll need to create a clone.

Each clone works just like a normal database, but takes only a few seconds to create.

Creating a Clone

Navigate to the Clones screen.

To create a new clone, click on the “+ Clone" button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
SourceSource to create clone from.
SnapshotSnapshot to create clone from.
Clone NameName of clone to be created.

Container Images

Container Images are the docker database images for serving the source or clone databases.

Pull Image

Navigate to the Containers screen.

To pull a new container image, click on the “+ Pull Image" button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
Database TypeType of database, image is for.
Repository URLRepository URL to pull image from. Note: URL must be accessible from the VME Server.
TagImage Tag. Default is latest.
Repository UsernameUsername for repository to authenticate if required.
Repository PasswordPassword for repository to authenticate if required.

Container

Run a container

Navigate to the Containers screen.

To run a new container, click on the “+ Container" button.

On click a new popup form will be shown which has the following inputs.

Field NameDescription
Database TypeType of database container to create.
Container NameName of the container to create.
HostPort:ContainerPortPorts to bind inside the container. It is a string in the format "host_port:container_port" where the container port is an exposed port. For example: "12345:3306" for MySQL. Several host and container port pairs can be assigned by seperateing with a comma.
ImageContainer Image to use.
Source DirectorySource or Clone volume which will be mounted on the container.
Environment VariablesEnvironment variables to be used for the database inside the container.
Data DirectoryPath of the data directory.