zoo.cfg 配置如下
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/usr/local/zookeeper/dataDir
dataLogDir=/usr/local/zookeeper/dataLogDir
clientPort=2181
server.1= 192.168.135.128:2887:3887
server.2= 192.168.135.128:2888:3888
server.3= 192.168.135.128:2889:3889