Book Image

Storm Blueprints: Patterns for Distributed Real-time Computation

Book Image

Storm Blueprints: Patterns for Distributed Real-time Computation

Overview of this book

Table of Contents (17 chapters)
Storm Blueprints: Patterns for Distributed Real-time Computation
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating Storm-provisioning scripts


In Chapter 2, Configuring Storm Clusters, we covered the manual installation of Storm and its dependencies on Ubuntu Linux. We can leverage the commands we used in Chapter 2, Configuring Storm Clusters, by using them to create Vagrant provisioning scripts to automate what would otherwise be a manual process. If you don't understand some of the commands used in the provisioning scripts, refer to Chapter 2, Configuring Storm Clusters, for a more in-depth explanation.

ZooKeeper

ZooKeeper is available pre-packaged for most Linux platforms, which makes our installation script simple, letting the package manager do most of the work. The following is the command line to install ZooKeeper:

install-zookeeper.sh

And the commands to install ZooKeeper are as follows:

apt-get update
apt-get --yes install zookeeper=3.3.5* zookeeperd=3.3.5*

Storm

The Storm installation script is a little more complicated since it is not pre-packaged and must be installed manually. We'll take...