Before the interactive DMS installer can be used to configure and deploy the DMS platform, a series of pre-requisite system checks and installation steps must be performed:
The sections below describe these tasks in detail.
The table below lists the specific Overture service versions bundled with the current release of the DMS platform, including links to their release pages where you can download the latest versions and view their release notes:
|Service||Release #||Link to Releases & Notes|
|DMS Installer||1.0.0||DMS Installer|
|Ego||Ego API 4.4.0 |
Ego UI 4.2.0
|Ego API |
|DMS UI (Data Portal)||1.0.1||DMS UI|
When viewing the GitHub release pages, multiple releases may be listed. If the list is large, the GitHub site may sometimes collapse the list. To make sure you can see the latest release, click
Show X newer tags. This ensures the list is fully expanded and you can see the latest release.
Before you perform any installation steps, you must first decide whether you want to deploy the DMS in local mode or server mode.
This decision is important because it will affect some of the pre-requisite setup tasks as well as later configuration tasks. Certain tasks will differ based on your choice. These differences will be clearly noted in the documentation as you proceed through the installation guide.
The DMS can be deployed to your cluster in one of two modes:
|Mode||Use Case||Access||Application Layer Security|
|Local||The purpose of local mode is to deploy and host the DMS only on a local machine's resources. For example, deploying to an individual user's laptop, or a private VM in the cloud. Local mode is typically used for solo users or small teams with shared access to a laptop or private VM.||Local host only||HTTP only|
|Server||The purpose of server mode is to deploy and host the DMS system using resources available on separate or external infrastructure from your local machine. For example, deploying to a VM on a cloud infrastructure, or your organization's internal IT infrastructure, etc. The intention of server mode is to make the DMS system available to external users, by exposing them via a configured domain name and securely over HTTPS.||Externally via custom domain name||HTTPS over TLS/SSL|
Your decision will depend on the following factors and you may need to consult with your IT department if you belong to an institution:
NOTE: Once the DMS has been deployed in a specific mode, it cannot be switched dynamically to use a different mode on-the-fly. For example, you cannot switch from local mode to server mode by simply updating your configuration. To re-deploy with a different mode, you must destroy your DMS cluster and restart fresh. For instructions on destroying your cluster, see here.
NOTE: The DMS currently only supports deployment to a single cluster. It is meant for use as a single node system is not currently mean to be highly available.
Once you have decided your deployment mode, check that the environment you will be deploying to meets the recommended system requirements.
The DMS currently supports deployment to platforms running these operating systems:
|# CPU Cores||Memory||Disk Space|
|6||8 GB||20 GB|
If your system does not meet the recommended requirements, you may need to upgrade to deploy the DMS. If you are part of an institution, you may need to consult with your IT department about acquiring the additional resources.
After checking your system requirements, next you must also check that certain additional, ancillary requirements are also met.
Specifically, make sure of the following:
sudoon the environment you are deploying to - Certain operations or programs may need to be run with you assuming the security privileges of another user (e.g. as an administrator).
If you do not have SSH access,
sudo capability, or Bash shell installed, you will need to acquire them. If you are part of an institution, you may need to consult with your IT department for support with these items.
Now that you have verified that your system meets all requirements, the next step is to install Docker to your environment.
All of the Overture services are packaged as docker images to be deployed and run as containers on the Docker platform. Hence, Docker installation is a mandatory requirement to use the DMS platform.
NOTE: For the DMS to function correctly on Docker, the Docker installation must be completed as instructed using the steps from the Docker documentation site itself. The DMS requires at minimum Docker Engine version 19.03.12 or up. See here for Docker versions and release notes.
Log into your environment as an administrator and follow the instructions to install docker from the Docker documentation site here.
If you are running MacOS, follow the Docker Desktop for Mac instructions
If you are running Linux, select the instructions for your specific distribution from the Linux distribution table
After successfully installing Docker, you must initialize the Docker Swarm network. The DMS platform uses Docker Swarm as a container orchestration tool and allows each container in the swarm to be accessed by Docker nodes within the same cluster.
To initialize the docker swarm network, from your command-line, enter:
$ docker swarm init
If successful, a message is displayed indicating the swarm was initialized and your current node is now a swarm manager:
Swarm initialized: current node (dxn1zf6l61qsb1josjja83ngz) is now a manager.
If you are running on MacOS, you need to check your Docker Desktop resource settings to ensure they are enabled for the recommended system requirements specified earlier.
The final installation step is to actually download and install the DMS executable.
$ curl https://raw.githubusercontent.com/overture-stack/dms/<x.y.z>/src/main/bin/dms-docker > dms
$ chmod +x dms
$ sudo mv dms /usr/local/bin/
~/.dmsdirectory which is used to store some default configuration files. Type this command:
$ dms -h
This command simply lists the help menu for the DMS installer. If successful, the commands are listed:
$ dms -h____ __ ___ _____/ __ \ / |/ / / ___// / / / / /|_/ / \__ \/ /_/ / / / / / ___/ //_____/ /_/ /_/ /____/Installation Guide: https://overture.bio/documentation/dms/installation/User Guide: https://overture.bio/documentation/dms/user-guide/Usage: dms [-hV] [COMMAND]DMS command-h, --help Show this help message and exit.-V, --version Print version information and exit.Commands:config, cobuild, bu Interactively build a configurationget, g Get the current configurationcluster, clstart Deploy a configuration to the cluster.stop Stop a running cluster, without deleting data volumes.destroy Destroy the cluster and ALL the data.
~/.dmsdirectory was created by trying to switch to it:
ubuntu@sample-dms:~$ cd ~/.dmsubuntu@sample-dms:~/.dms$
If successful, the directory exists and you are able to switch to it.
Once the DMS executable is installed, you can now proceed to configure and deploy the DMS platform.
Optionally, you can generate a bash completion file, which improves usability of the DMS commands by allowing a user to autocomplete certain commands while typing.
$ dms bash-completion -n dms > ~/dms.bash_completion
$ source ~/dms.bash_completion
NOTE: Currently, the bash completion file must be loaded manually. Hence, whenever you open a new terminal session to use the DMS, you will need to manually source the bash completion file again. However, you are free to automate this by adding the source command to your
$ dms <press tab twice>
This displays a list of available top-level commands and their shortforms, if supported (e.g. "config" and "co"):
bash-completion cl cluster co config