Stop Cluster
#
- Run the command
spex cluster stop --name <cluster-name>
to stop a cluster.
Example: stop the cluster named 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......