//进入节点客户端
/usr/local/redis/redis-5.0.10/src/redis-cli -a 123456 -c -h 192.168.25.128 -p 8006
//服务端启动
/usr/local/redis/redis-5.0.10/src/redis-server /usr/local/redis/redis-cluster/800*/redis.conf
//resdis集群创建
/usr/local/redis/redis-5.0.10/src/redis-cli -a 123456 --cluster create --cluster-replicas 1 192.168.25.128:8001 192.168.25.128:8002 192.168.25.128:8003 192.168.25.128:8004 192.168.25.128:8005 192.168.25.128:8006
//移除节点
/usr/local/redis/redis-5.0.10/src/redis-cli -a 123456 --cluster del-node 192.168.25.128:8007 2728a594a0498e98e4b83a537e19f9a0a3790f38
//添加节点
/usr/local/redis/redis-5.0.10/src/redis-cli -a 123456 --cluster add-node 192.168.25.128:8007 192.168.25.128:8001
//数据分片
/usr/local/redis/redis-5.0.10/src/redis-cli -a 123456 --cluster reshard 192.168.25.128:8007