Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to deploy jstorm clusters

Shulou Source: shulou.com Published: 2022-06-01 15:19:54 11月10日 Update

This article focuses on "how to deploy jstorm clusters". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to deploy jstorm clusters.

Download Install JStorm for jstorm cluster deployment

Take jstorm-0.9.6.zip as an example

Unzip jstorm-0.9.6.1.zipvi / .bashrcexport JSTORM_HOME=/XXXXX/XXXXexport PATH=$PATH:$JSTORM_HOME/bin

Vi $JSTORM_HOME/conf/storm.yaml

Storm.zookeeper.servers:

-"192.168.144.79"

-"192.168.145.138"

-"192.168.145.129"

Nimbus.host: "192.168.144.79"

Storm.local.dir: "% JSTORM_HOME%/data"

Supervisor.slots.ports.base: 6800

Supervisor.slots.port.cpu.weight: 1.2

Supervisor.slots.port.mem.weight: 0.7

Supervisor.slots.ports: null

# mkdir ~ / .jstorm

# cp-f $JSTORM_HOME/conf/storm.yaml ~ / .jstorm

Install JStorm Web UI

Note: Web UI can run on the node different from the Nimbus node.

Download tomcat 7.x (take apache-tomcat-7.0.37 as an example)

Mkdir ~ / .jstorm cp-f $JSTORM_HOME/conf/storm.yaml ~ / .jstormtar-xzf apache-tomcat-7.0.37.tar.gzcd apache-tomcat-7.0.37cd webappscp $JSTORM_HOME/jstorm-ui-0.9.6.1.war. / mv ROOT ROOT.oldln-s jstorm-ui-0.6.1 ROOTcd.. / bin./startup.shStart JStorm$JSTORM_HOME/bin/start.sh so far, I believe you have a better understanding of "how to deploy jstorm clusters". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Clusters methods content learning practical deeper interest practicality practicality simple operation methods more friends websites channels inquiries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Huawei Shulou Information Apple Shulou Tech Info