卸载集群 #
使用命令
spex cluster uninstall --name <cluster-name>
卸载集群,会删除掉部署机中部署目录。 示例: 卸载名为 demo 的集群。[root@centos71 demo]# spex cluster uninstall --name demo Are you sure to uninstall demo cluster ? [y/N]: y Operation ShardingSphere-Proxy stop proxy 10.0.1.1 : 3307 => success Stopping the ShardingSphere-Proxy STOPED PID:14014 PORT:3307 remove install directory 10.0.1.1 : 3307 => success 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 remove ZooKeeper data directory 10.0.1.1 : 2181 => success remove ZooKeeper install directory 10.0.1.1 : 2181 => success Completed......