Skip to content

Instantly share code, notes, and snippets.

@prassee
Last active December 28, 2015 18:19
Show Gist options
  • Save prassee/7541863 to your computer and use it in GitHub Desktop.
Save prassee/7541863 to your computer and use it in GitHub Desktop.
Storm installation automation with Salt stack
establish ssh cxn between master node and slave nodes (pwd less login)
On master node
download & install zookeeper on master (http://mirror.symnds.com/software/Apache/zookeeper/stable/zookeeper-3.4.5.tar.gz)
after installing zookeeper update the zoo.cfg file
contents of zoo.cfg file
========================
tickTime=2000
dataDir=/var/lib/zookeeper
clientPort=2181
# Enable regular purging of old data and transaction logs every 24 hours
autopurge.purgeInterval=24
autopurge.snapRetainCount=5
start zookeeperserver wtih zkserver.sh start-foreground
On all other machines
install zero mq sudo apt-get install libzmq3-dev
(Courtesy : http://www.michael-noll.com/tutorials/running-multi-node-storm-cluster/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment