O'Reilly logo

Storm Real-time Processing Cookbook by Quinton Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required