Skip to content

Ansible playbook for deploying a Storm cluster

Notifications You must be signed in to change notification settings

DigitalPebble/ansible-storm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-storm

Ansible playbook for deploying an Apache Storm cluster

Requires Ansible 2.8 or above.

Use ssh-add to load the SSH key needed to connect to the server, e.g. ssh-add ~/.ssh/mykey.pem

Edit the hosts file to specify the IP addresses of the servers then run

ansible-playbook -i hosts storm-playbook.yml -u username

where username is the name of the user on the remote server. If the servers use different user names, specify them individually in the hosts file.

This installs Zookeeper and Storm running as services. After the command above, you should be able to see the Storm UI on the master node's port 8080.

There is also a crawler-playbook which creates a stormcrawler user on the master node and installs curl, git and maven on the master node. This is useful for checking out the stormcrawler code and run the topologies under it.

Video tutorial

Video tutorial