Retro Eye care Haitian Deep Dark Default
Logo
Scale in Cluster

Scale in Cluster #

  1. Run the command spex cluster stop --name <cluster-name> --host <host-ip> to stop the specified node. Example: in demo cluster, scale in the ShardingSphere-Proxy whose IP address is 10.0.1.2.
$ spex cluster stop --name demo --type proxy --host 10.0.1.2
[root@centos71 ~]# spex cluster stop --name demo --type proxy --host 10.0.1.2
Operation ShardingSphere-Proxy
stop proxy      
10.0.1.2 : 3388 => success
Stopping the ShardingSphere-Proxy
STOPED PID:29550 PORT:3388
Completed......