zookeeper集群搭建
来源:互联网 发布:数据与营销 编辑:程序博客网 时间:2024/06/05 14:27
1.建立集群环境
先在虚拟机搭建了3台服务器,用于集群。因为zookeeper使用过半原则。最好奇数个服务器。
关闭防火墙: service iptables stop
永久关闭:chkconfig iptables off
查看状态 service iptables status
2.和单机一样只不过配置文件需要做处理
最后添加
server.1=192.168.222.110:2999:3999
server.2=192.168.222.111:2999:3999
server.3=192.168.222.113:2999:3999
3.启动本台服务器 bin目录下 sh zkServer.sh start
4.zookeeper安装目录 scp -r 目录 ip:目录 即可
阅读全文
0 0
- Zookeeper 介绍 Zookeeper 搭建 Zookeeper 集群搭建
- zookeeper(3) zookeeper集群搭建
- zookeeper集群搭建
- zookeeper集群搭建
- hbase+zookeeper集群搭建
- ZooKeeper集群搭建
- zookeeper集群搭建
- Zookeeper 集群搭建
- zookeeper集群搭建
- zookeeper 集群搭建
- Zookeeper 集群搭建
- Zookeeper集群搭建
- zookeeper集群环境搭建
- Zookeeper集群搭建
- ZooKeeper集群搭建
- Zookeeper分布式集群搭建
- ZooKeeper集群搭建
- ZooKeeper集群搭建
- Android Gradle(2)— SigningConfigs,简单使用更换debug的keystore
- 用户 \'IIS APPPOOL\\X\' 登录失败解决方法
- c语言风格的字符串和字符串操作
- 剑指offer---字符串的排列
- MySQL数据库基础 -- 安装
- zookeeper集群搭建
- Mybatis初窥:使用resultMap自定义高级映射规则
- Mac安装nvm后:--nvm command not found
- Python常用函数总结
- C#之DataSet和DataTable
- C语言 java 整数逆序,回文数判断
- 深入理解C语言数据类型及符号
- yum 源制作
- C语言回文数判断,结果写入文件中