-
Notifications
You must be signed in to change notification settings - Fork 1
Using docker compose to launch a S64 DA or PostgreSQL Instance
jukoson edited this page Oct 28, 2019
·
5 revisions
Use this guide to spin up a S64 DA or PostgreSQL docker container instance.
- You have installed Swarm64 DA and run the smoke test of the Docker image. For more information, see
Installation and configuration
in the Swarm64 DA user guide. For more information and access to the user guide please send an Email to [email protected] - You have Python 3.6 or higher and corresponding pip installed. It may be required to install corresponding Python 3.6 development packages (eg. python3-devel on CentOS).
-
Install Docker Compose with
pip3 install docker-compose
. -
Download and unpack or clone the Swarm64 Docker Compose toolkit.
-
Go to the unpacked or cloned directory.
-
Edit the
.env
(visible throughls -al
) file to set the following parameters:-
S64_DA_VERSION
is the version of S64 DA that you want to evaluate, such as3.0.0
. -
DATA_S64DA
is the data directory that you want to use.
-
-
(Optional) Edit the
files/postgresql.conf
file to adjust the memory requirements and other PostgreSQL parameters as needed. The provided configuration is suited to benchmarks up to 1TB worth of data and 384GB of system RAM. -
Start the Database:
- S64 DA on Intel PAC:
docker-compose -f docker-compose-s64da-pac up
- S64 DA on Xilinx Alveo:
docker-compose -f docker-compose-s64da-xilinx up
- Native PostgreSQL:
docker-compose -f docker-compose-psql up
- S64 DA on Intel PAC:
You may want to proceed with a Benchmark S64 DA against PostgreSQL