停止集群 #
使用
spex cluster stop --name <cluster-name>
停止集群。 示例: 停止名为 demo 的集群。[root@centos71 demo]# spex cluster stop --name demo Operation ShardingSphere-Proxy stop proxy 10.0.1.1 : 3307 => success Stopping the ShardingSphere-Proxy STOPED PID:9157 PORT:3307 Completed...... Operation ZooKeeper stop ZooKeeper 10.0.1.1 : 2181 => success /usr/bin/java Stopping zookeeper ... STOPPED ZooKeeper JMX enabled by default Using config: /demo/zookeeper/apache-zookeeper-3.6.3-bin/bin/../conf/zoo.cfg Completed......