GithubHelp home page GithubHelp logo

doytsujin / storm-vagrant-distributed-setup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nishad94/storm-vagrant-distributed-setup

0.0 1.0 0.0 4 KB

Storm production cluster setup using Vagrant

storm-vagrant-distributed-setup's Introduction

Procedure to create a distributed Storm cluster(3 nodes) using Vagrant


0. Download Storm(http://www.apache.org/dyn/closer.lua/storm/apache-storm-1.0.2/apache-storm-1.0.2.tar.gz) and Zookeeper(http://ftp.wayne.edu/apache/zookeeper/current/zookeeper-3.4.9.tar.gz)
1. Setup Vagrant to create 3 VMs
2. Setup Zookeeper on the 3 machines
3. Setup Storm on the 3 machines
4. Start ZK + Storm

1. Vagrant


- Vagrantfile describes the setting up of 3 machines with a private network
- Use the command 'vagrant up' in this directory to start the VMs
- Use 'vagrant ssh machine_name' to ssh into the respective VMs described in the file Vagrantfile

2. Steps for setting up a multi-node Zookeeper ensemble [Check zoo.cfg included in this repo]


- Download the Zookeeper release, untar zookeeper on each of the VMs and setup a data directory called ~/zkData and other params in conf/zoo.cfg , setup 'server.1/2/3' with IPs of the Vagrant VMs
- Create new dataDir in the location mentioned in zoo.cfg
- echo 1/2/3 to the file dataDir/myid on respective VMs
- Start zookeeper( sudo zkServer.sh start ) on all VMs and test if it is working

Reference

3. Steps for multi-node Storm setup [Check storm.yaml included in this repo]


- Download Storm release, untar storm folder at ~
- Create data dir ~/stormData
- Update storm.yaml
a. Update ZK servers with the 3 IPs of the VMs
b. Update Nimbus seeds(hosts) with the master server IP
c. Update storm dir with ~/stormData
- Run 'bin/storm nimbus' on master, 'bin/storm supervisor' on workers and 'bin/storm ui' on master
- Access UI through http://192.168.33.10:8080 on Windows/OSX host

Reference

storm-vagrant-distributed-setup's People

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.