Skip to content

Build docker images for launch Greenplum on multi-hosts structure

Notifications You must be signed in to change notification settings

Luyaochen1/gpdb-centos

Repository files navigation

Reference

This is a combination of below works

Running Greenplum on center OS docker https://github.com/pavels1983/test

Running multi-host Greenplum on Ubuntu https://github.com/DataRoadTech/greenplum-docker

Prerequisite

Download the Greenplum binary to this folder. (eg: greenplum-db-5.11.3-rhel7-x86_64.zip) (https://network.pivotal.io/products/pivotal-gpdb#/releases/204067/file_groups/1160)

greenplum-docker-centos

Docker for greenplum (5.11.3) database.

Build

docker build -t ubuntu-gpdb .

Single Node Docker

From the command line execute the following command: docker run -it -p 5432:5432 --hostname=db_master_1 --name reflect-gpdb ubuntu-gpdb bash

Connect to your host on port 5432 user/pass is gpadmin/dataroad

Multi Node Docker-Compose

From the command line execute the following command: docker-compose up

You can connect to your host using PGADMIN on port 15432 user/pass is gpadmin/dataroad

singlehost

This file contains the name of the hosts to connect to. By default there is one host 'db_master_1'.

multihost

This file contains the name of the segments that the master connects to. This is used when running a multi-node cluster and has 3 segments in it.

gpinitsys

Configuration file for setting up the greenplum cluster.

##Questions?

[email protected]

About

Build docker images for launch Greenplum on multi-hosts structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published