Zookeeper3.8.0集群部署
1、环境准备
集群部署zookeeper的节点数只能是奇数,在此部署3节点zookeeper集群,节点环境如下:
主机名 | IP | 架构 | 操作系统 |
---|---|---|---|
hadoop01 | 192.168.194.133 | x86_64 | CentOS Linux 7 (Core) |
hadoop02 | 192.168.194.134 | x86_64 | CentOS Linux 7 (Core) |
hadoop03 | 192.168.194.135 | x86_64 | CentOS Linux 7 (Core) |
zookeeper是基于java开发的,所以部署zookeeper前要有Java的环境,在些部署OpenJDK8,下载地址为:
1 | https://www.openlogic.com/openjdk-downloads |