GithubHelp home page GithubHelp logo

qijunbo / gpdb-centos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luyaochen1/gpdb-centos

0.0 1.0 0.0 9 KB

Build docker images for launch Greenplum on multi-hosts structure

Dockerfile 31.81% Shell 68.19%

gpdb-centos's Introduction

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]

gpdb-centos's People

Contributors

luyaochen1 avatar

Watchers

齐俊波 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.