Delete Cluster Topology
#
- Run
spex config delete <cluster-name> to remove the specified cluster topology from SphereEx-Boot which will not affect ShardingSphere-Proxy and ZooKeeper on the worker node.
Example: remove a cluster named demo.
[root@centos71 demo]# spex config delete demo
Operation ShardingSphere-Proxy
check proxy install dir exist!
10.0.1.1 : 3307 /demo/shardingsphere-proxy is existence!
Completed......
Operation ZooKeeper
check ZooKeeper install dir exist!
10.0.1.1 : 2181 /demo/zookeeper/ is existence!
Completed......
Are you sure to delete configuration of demo? [y/N]: y
Completed.......