Creating a Storm cluster – provisioning Storm

Once you have a base set of virtual machines that are ready for application provisioning, you need to install and configure the appropriate packages on each node.

How to do it…

  1. Create a new project named storm-puppet with the following folder structure:
    How to do it…
  2. The entry point into the Puppet execution on the provisioned node is site.pp. Create it in the manifests folder:
    node 'storm.nimbus' {
      $cluster = 'storm1'
      include storm::nimbus
      include storm::ui
    }
    
    node /storm.supervisor[1-9]/ {
      $cluster = 'storm1'
      include storm::supervisor
    }
    
    node /storm.zookeeper[1-9]/ {
      include storm::zoo
    }
  3. Next, you need to define the storm ...

Get Storm Real-time Processing Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.