各节点分配:
Nimbus Supervisor Zookeeper
CentOS15 1 1
CentOS19 1 1
CentOS20 1 1
搭建zookeeper集群:
忘记了去查之前的笔记
解压软件storm:
tar zxvf stormXXX
编辑配置文件:vim conf/storm.yaml
# limitations under the License.
storm.zookeeper.servers:
- “CentOS15”
- “CentOS19”
- “CentOS20”
storm.local.dir: “/tmp/storm”
nimbus.host: “CentOS15”
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
##### These MUST be filled in for a storm configuration
# storm.zookeeper.servers:
# - “CentOS15”
# - “CentOS19”
# - “CentOS20”
在storm目录中创建logs目录
$ mkdir logs
集群当中所有服务器,同步所有配置!
启动ZooKeeper集群