Install Storm - scottlove/MessageProducer GitHub Wiki
- Install Storm pre-req's (see separate Wiki Page)
-
mkdir storm
-
cd storm
-
wget https://dl.dropboxusercontent.com/s/tqdpoif32gufapo/storm-0.9.0.1.tar.gz
-
tar xvf storm-0.9.0.1.tar.gz
-
Update storm.yaml
-
storm.zookeeper.servers:
-
- "ZooKeeper"
-
- "Zookeeper1"
-
- "zookeeper3"
-
nimbus.host: "Nimbus"
-
supervisor.slots.ports
-
-6700
-
-6701
-
-6702
-
-6703
Upstart configs
On Nimbus Server, put following in /etc/init/storm-nimbus.conf (comments removed). This was copied and modified from Storm wiki site
author "Nicholas Verbeck [email protected]:q"
description "Starts up an instance of Storm's Nimbus Server"
env INSTALL_DIR=homedirectory/storm/storm-0.9.0.1
env LOCAL_CACHE=$INSTALL_DIR/storm-local
start on net-device-up
respawn
respawn limit 2 5
pre-start script
rm -Rf $LOCAL_CACHE/nimbus/*
end script
script
python $INSTALL_DIR/bin/storm nimbus
end script
upstart for Storm UI
- remove pre-start script
- change to:python $INSTALL_DIR/bin/storm nimbus
upstart for supervisors
- remove pre-start script
- change to:python $INSTALL_DIR/bin/storm nimbus