storm 一键启动shell脚本
2019-06-05 11:20
1301 查看
storm 集群启动shell脚本
[code]#!/bin/sh # storm 集群启动shell脚本命令 # ============================================================================== # master: storm nimbus & # slave1: storm supervisor & # slave2: storm supervisor & # master: storm ui & # master: storm logviewer & # ============================================================================== echo "---------------------------------------------------------------------------" echo "storm start 172.16.1.8/9/10" echo "...master-storm-nimbus..." ssh master "source /etc/profile;storm nimbus &" echo "...slave1-storm-supervisor..." ssh slave1 "source /etc/profile;storm supervisor &" echo "...slave1-storm-supervisor..." ssh slave2 "source /etc/profile;storm supervisor &" echo "...master-storm-ui..." ssh master "source /etc/profile;storm ui &" echo "...master-storm-logviewer..." ssh master "source /etc/profile;storm logviewer &" echo "---------------------------------------------------------------------------"
修改文件权限
[code]chmod 755 ./* chmod 755 storm_nimbus_ui.sh
相关文章推荐
- 在linux下利用shell脚本进行openoffice的一键启动
- shell脚本实现一键启动集群的zookeeper和hadoop
- Shell脚本一键启动/关闭 zookeeper集群(版本1.1)
- Shell脚本监控Storm集群,邮件报警
- 一键启动NameNode和DataNode--shell脚本
- kafka集群设置shell脚本一键启动和关闭
- 【Zanuck 镇】GlusterFS集群一键启动脚本(Centos:shell)
- Zookeeper集群设置shell脚本一键启动和关闭
- Shell脚本一键启动/关闭 zookeeper集群(版本1.0)
- shell脚本启动storm 集群
- 启动和停止storm和zookeeper集群的shell脚本
- 在linux下利用shell脚本进行matlab的一键启动
- 一键启动hadoop集群、zookeeper集群、spark集群shell脚本
- storm集群统一启动和停止shell脚本开发
- Android应用中执行shell脚本的工具类的示例
- LNMP一键安装shell脚本(v1.2)
- shell脚本超时控制
- shell脚本 给代码加上apache lisence2(al2)头
- 在Linux中用source,dot(.)和直接用脚本文件名执行shell脚本的区别
- linux下shell for 循环执行不等待php脚本返回