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.

Alt text

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

Alt text

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.

Disk Details

Navigate to the Pool screen and below the Manage Pool table, the details of the disks listed on the vME server are present.

Alt text

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.

Alt text

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

Alt text

Field NameDescription
Pool NameName of the pool.
Database MethodChoose container (default), network_iscsi (Network - iSCSI), or network_nfs (NFS).
Database TypeDatabase type, select from dropdown. For iSCSI sources, Database Type is set to Microsoft SQL automatically.
Source Name*Enter your Source Name.

When selecting the iSCSI method for source creation, the below fields will have to be configured.

Alt text

Field NameDescription
iSCSI volume size (GB)Optional. Leave blank for auto-grow (thin provisioned iSCSI LUN). Enter a value only to set a fixed maximum size.
iSCSI Network SettingsConfigure portal bind IP and NFS compatibility fields; use "Edit Settings" to open the dialog.

By default, the database type is set to "Microsoft SQL". After this select the "Edit Settings" option in the iSCSI Network Settings field.

Alt text

iSCSI Network Settings

Field NameDefaultDescription
Client Address*0.0.0.0For iSCSI this is the portal bind IP. Use 0.0.0.0 to listen on all vME interfaces, or set specific IPv4 address(es).
anonuid*65534anonuid/anongid are for NFS anonymous user/group mapping. They are stored for compatibility but not used by iSCSI LUN creation.
anongid*65534anonuid/anongid are for NFS anonymous user/group mapping. They are stored for compatibility but not used by iSCSI LUN creation.

iSCSI Source Form Instructions

When creating an iSCSI source from the Source form, fill the fields as follows:

  1. Set Database Method to network_iscsi.
  2. Select Pool Name, Database Type, and enter Source Name.
  3. In iSCSI volume size (GB), leave blank for auto-grow (thin provisioning), or enter a fixed GB value for a hard cap.
  4. Open iSCSI Network Settings (cog icon) and confirm:
    • Client Address: 0.0.0.0 to listen on all vME interfaces, or specific IPv4 address(es).
    • anonuid / anongid: compatibility values stored with network settings.
  5. Click Save to create the source and apply iSCSI network settings.
Auto-Grow Behavior

When vsize is blank, vME creates thin-provisioned iSCSI storage:

  • Logical capacity is capped by platform policy.
  • Physical usage grows only as data is written.
  • Pool free space must still be monitored.

For network_iscsi sources, continue with the iSCSI connector workflow: iSCSI (SQL Server) Connector. For network_nfs sources, ensure your NFS client access is configured for the vME export before use.

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.

For network_iscsi sources, you still create snapshots in vME, but you will export clones as iSCSI targets and mount them on a SQL Server via the connector workflow. For network_nfs sources, snapshots and clones are consumed via NFS mounts.

Creating a Snapshot

Navigate to the Snapshots screen.

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

Alt text

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

Alt text

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.

For network_iscsi sources, clones are consumed via iSCSI targets rather than container mounts. See the connector workflow: iSCSI (SQL Server) Connector. For network_nfs sources, clones are consumed via NFS mounts rather than container mounts.

Creating a Clone

Navigate to the Clones screen.

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

Alt text

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

Alt text

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.

Alt text

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

Alt text

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.

Alt text

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

Alt text

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.

Access Management

List Users

Navigate to the Access Management screen.

Alt text

Add User

To add a new user, click on the "+Add User" button on the top right.

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

With LDAP Authentication selected: Alt text

With Local Authentication selected: Alt text

Field NameDescription
UsernameLogin name for the new user.
Full NameDisplay name of the user.
EmailEmail address for the user.
Authentication TypeLDAP or Local authentication.

Modify User

To modify an existing user, click on the pen icon next to any existing user

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

With LDAP Authentication selected: Alt text

With Local Authentication selected: Alt text

Field NameDescription
UsernameLogin name of the user to modify.
Full NameUpdated display name of the user.
EmailUpdated email address for the user.
Authentication TypeLDAP or VME Server (Local).
Rotate API KeyIf true, invalidates the user's current API key and issues a new one.

**Note: If modifying the user from LDAP to Local authentication, the current password and new password are needed for update.

Configure LDAP

To set the required field values for the LDAP server, click on the "Configure LDAP" screen for this.

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

Alt text

Field NameDescription
LDAP ServerHostname or IP address of the LDAP server.
PortPort on which the LDAP server listens (e.g. 389 for LDAP, 636 for LDAPS).
Bind DNDistinguished Name (DN) used to bind/authenticate to the LDAP server.
Bind PasswordPassword for the bind DN account.
User Search BaseBase DN under which user entries are searched (e.g. ou=people,dc=example,dc=com).
User FilterLDAP search filter for users; 0 is replaced by the login name (e.g. (uid=0)).
Username AttributeLDAP attribute mapped to VME username (default: uid).
Name AttributeLDAP attribute mapped to VME display name (default: givenName).
Mail AttributeLDAP attribute mapped to VME email (default: mail).