zookeeper的启动和状态查看
Using config: /Users/dongfucai/local/zoo1/zookeeper-3.4.12/bin/../conf/zoo.cfgUsage: ./zoo1/zookeeper-3.4.12/bin/zkServer.sh {start|start-foreground|stop|restart|status|upgrade|print-cmd}➜loca...
·
Using config: /Users/dongfucai/local/zoo1/zookeeper-3.4.12/bin/../conf/zoo.cfg
Usage: ./zoo1/zookeeper-3.4.12/bin/zkServer.sh {start|start-foreground|stop|restart|status|upgrade|print-cmd}
➜ local ./zoo1/zookeeper-3.4.12/bin/zkServer.sh start zoo1/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: zoo1/zookeeper-3.4.12/conf/zoo.cfg
Starting zookeeper ... STARTED
➜ local ./zoo2/zookeeper-3.4.12/bin/zkServer.sh start zoo2/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: zoo2/zookeeper-3.4.12/conf/zoo.cfg
Starting zookeeper ... STARTED
➜ local ./zoo3/zookeeper-3.4.12/bin/zkServer.sh start zoo3/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: zoo3/zookeeper-3.4.12/conf/zoo.cfg
Starting zookeeper ... STARTED
➜ local ./zoo1/zookeeper-3.4.12/bin/zkServer.sh status ./zoo1/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: ./zoo1/zookeeper-3.4.12/conf/zoo.cfg
Mode: follower
➜ local ./zoo2/zookeeper-3.4.12/bin/zkServer.sh status ./zoo2/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: ./zoo2/zookeeper-3.4.12/conf/zoo.cfg
Mode: leader
➜ local ./zoo3/zookeeper-3.4.12/bin/zkServer.sh status ./zoo3/zookeeper-3.4.12/conf/zoo.cfg
ZooKeeper JMX enabled by default
Using config: ./zoo3/zookeeper-3.4.12/conf/zoo.cfg
Mode: follower
更多推荐
已为社区贡献4条内容
所有评论(0)