The hardware requirements for Data Control Tower are listed below. In addition to these requirements, inbound port 443 must be open for API clients, and outbound port 443 to engines. Docker and docker-compose must also be installed.
|Data Control Tower||4-Core||2GB||50GB||443|
DCT requires Docker and Docker Compose to run, thus, Linux versions and distributions that have been verified to work with Docker are supported. To see a list of supported distributions, please reference this Docker article.
This example will begin with a Docker installation and is completed on an Ubuntu 20.04 VM.
To begin, uninstall any old versions of Docker.
sudo apt-get remove docker docker-engine docker.io containerd runc
Next, update the package lists and install docker.
sudo apt-get update sudo apt-get install docker.io
Last, install Docker Compose.
Docker Compose version 1.29.1 is the current stable release at the time this documentation was written and can be changed to install a different version if desired. The version of Docker Compose used must support version 3.7 compose files.
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Running Docker as Non-Root (Optional)
To avoid prefacing the docker command with sudo, create a Unix group called docker and add users to it. When the Docker daemon starts, it creates a Unix socket accessible by members of the docker group. See Docker Post Installation documentation for details.
sudo groupadd docker sudo usermod -aG docker $USER
Unpack and Install DCT
Once Docker and Docker Compose are installed, DCT can be installed. Begin by downloading the latest version of the tarball from the Delphix Download site. Next, transfer the file to the Linux machine where Docker is installed. Run the following commands to extract the containers and load them into Docker:
tar -xzf delphix-dct*.tar.gz for image in *.tar; do sudo docker load --input $image; done
To run DCT, navigate to the location of the extracted docker-compose.yaml file from the tarball and run the following command. Using -d in the command will start up the application in the background.
sudo docker-compose up -d
Running docker ps should show 9 containers up and running:
$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7eb2397c334c delphix-dct-proxy:dev "/sbin/tini -- /boot…" 49 minutes ago Up 7 minutes 0.0.0.0:443->8443/tcp dct-proxy-1 5237a1b2301e delphix-dct-app:dev "java -jar /opt/delp…" 49 minutes ago Up 7 minutes dct-gateway-1 325daeaea8e7 delphix-dct-data-bookmarks:dev "/usr/bin/tini -- ./…" 49 minutes ago Up 7 minutes dct-data-bookmarks-1 924551bdbb5e delphix-dct-virtualization:dev "/usr/bin/tini -- ./…" 49 minutes ago Up 7 minutes dct-virtualization-1 bda0f5540486 delphix-dct-data-library:dev "/usr/bin/tini -- ./…" 49 minutes ago Restarting (1) 19 seconds ago dct-data-library-1 445269c7c2ba delphix-dct-jobs:dev "/usr/bin/tini -- ./…" 49 minutes ago Up 7 minutes dct-jobs-1 1cff9d26337b delphix-dct-postgres:dev "docker-entrypoint.s…" 49 minutes ago Up 7 minutes 5432/tcp dct-database-1