Giter VIP home page Giter VIP logo

db2warehouse-tools's Introduction

db2warehouse-tools

This code shows how IBM® Db2 Warehouse MPP cluster can be deployed and administrated by using IBM® Db2 Warehouse Orchestrator tool.

Download this code on each node of your MPP cluster.

wget https://github.com/IBM/db2warehouse-tools/archive/master.zip -O db2warehouse-tools-master.zip

unzip db2warehouse-tools-master.zip

cd db2warehouse-tools-master

chmod +x *.sh

Setup docker_remote on all hosts:

Setup docker_remote on all hosts by following the instruction found here. This is an one time task.

Deploy IBM® Db2 Warehouse MPP cluster:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --tag v2.6.0-db2wh-linux --create

Upgrade IBM® Db2 Warehouse to a newer version:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --tag <version>-db2wh-linux --upgrade

Scale out IBM® Db2 Warehouse deployment:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --tag <image_tag> --scaleout [<short_hostname_of_node_to_add> <ip_addr_of_node_to_add>...n]

Scale in IBM® Db2 Warehouse deployment:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --tag <image_tag> --scalein [<short_hostname_of_node_to_add>...n]

Start/Stop IBM® Db2 Warehouse deployment:

To stop the existing deployment:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --stop

To start the deployment:

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --start

db2warehouse-tools's People

Contributors

hrishikesh77 avatar kant avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

db2warehouse-tools's Issues

need to add path external volume for eg. nfs share for backup purpose

./db2wh_orchestrator.sh --file /mnt/clusterfs/nodes --tag v3.0.1-db2wh-linux -cn Db2wh -v /mnt/external:/mnt/external -e TIMEZONE='Europe/Belgrade' -e ENABLE_ORACLE_COMPATIBILITY='YES' --create
ERROR: Invalid additional volume path /mnt/external:/mnt/external. Enter a valid path and try again.

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.