Confirming the Cluster Configuration After Capacity Expansion
- Run the /opt/apache-zookeeper-3.6.3-bin-bcm/bin/zkCli.sh -server localhost:2182 command to log in to the ZooKeeper.
- Run the get /zookeeper/config command to query the node information of the current cluster. The configuration information of five nodes (ceph1 to ceph5) is displayed.
1 2 3 4 5 6 7
[zk: localhost:2182(CONNECTED) 0] get /zookeeper/config server.80=ceph1:2889:3889:participant;0.0.0.0:2182 server.100=ceph3:2889:3889:participant;0.0.0.0:2182 server.4=ceph4:2889:3889:participant;0.0.0.0:2182 server.5=ceph5:2889:3889:participant;0.0.0.0:2182 server.90=ceph2:2889:3889:participant;0.0.0.0:2182 version=0
Parent topic: Capacity Expansion Operations