1、安装好jdk以及python。
2、下载storm包,解压到chan-takchi,修改storm.yaml配置文件。
storm.zookeeper.servers:
- "chan-takchi"
- "chan-takchi-01"
- "chan-takchi-02"
storm.local.dir: "/srv/storm"
nimbus.seeds: ["chan-takchi"]
ui.port: 8888
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
3、scp storm包到chan-takchi-01、chan-takchi-02
4、chan-takchi节点启动nimbus,chan-takchi-01节点启动supervisor,chan-takchi-02节点启动supervisor以及ui。
bin/storm、bin/supervisor、bin/ui
5、访问ui界面,chan-takchi-02:8888/index.html。