Git Product home page Git Product logo

zootopia's Introduction

Zootopia

This Project aims to deploy CDH cluster fully automated using ansible tools.

in this project we have two way for deploying our CDH:

  • FullStack - deploying CDH with HA and wide range of machines.
  • Minimal - deploying CDH with core machines and without HA .this deployment is used for testing.

let's take a look on the deployment process:

  • A we should bring up the machines. We are deploying the machines using vagrant tool, so you should install the latest relase of virtualbox and vagrant.Then ,install vagrant-hostmanager plugin using the commands:

$ vagrant plugin install vagrant-hostmanagaer $ vagrant plugin install vagrant-hostsupdater

  • B clone the repository to your local machine in path /home/vagrant/(minimal/fullstack)/ using the command git clone.

    $ git clone https://github.com/lolbunny385/Zootopia/ /home/vagrant/

  • C , go to path /home/vagrant/(minimal/fullstack) and press the command $ vagrant up ,this processs will provision for you the needed machines.
  • D, after the machines are up ,ssh to gw1 using the command $ vagrant ssh gw1.Then,move to /home/vagrant/(minimal/fullstack)/playbook directory and press the command $ansible-playbook site.yaml - this command will deploy for you the CDH cluster.

For fullstack deploying the machines will be :

  • manager1 - this machine running cloudera manager server
  • manager2 - this machine running CMS
  • gw1 - used as haproxy
  • gw2 - used as a haproxy.
  • master1 -this machine running Hadoop Application ,for example : HDFS,Hbase.
  • master2 - this machine ruunning Yarn and HDFS Secondary.
  • edge - this machine used as a gateway to hadoop ecosystem ,inclued hadoop gw applications.for example: Hue.
  • worker[1-3] - this machines responsible like its name to working .ruuning Datanode and impalad and nodemanager.

For minimal deploying the machines will be :

  • manager1 - this machine running cloudera manager server and CMS.
  • gw1 - used as haproxy.
  • master1 -This machine running hadoop application ,for example : HDFS,Hbase,Yarn.
  • edge - this machine used as a gateway to hadoop ecosystem ,inclued hadoop gw applications.for example: Hue.
  • worker[1-2] - this machines responsible like it's name to be a worker .ruuning Datanode and impalad and nodemanager.

About the using playbooks:

  • site.yaml - This is the main playbook,it is responsible for running all the other playbooks.
  • preinstall.yaml - This playbook is responsible for configure optimization to CDH cluster and install cloudera-scm-agent and JDK on the cluster machines.
  • mariadb.yaml - this playbook is responsible for configure maria galera db cluster.
  • ntp.yaml - this playbook is responsible for configure ntp to machines.
  • CM.yaml - this playbook is responsible for installing cloudera-scms-server and provosiong Clouder manager wizard.
  • cluster_conf - this playbook is deploying the hadoop cluster ecosystem using cloudera rest api.

zootopia's People

Contributors

mrspidergit avatar the-cooon avatar lolbunny385 avatar

Watchers

James Cloos avatar  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.