I found a problem with the cluster I built, how to delete the existing cluster and rebuild it:
1. Log in to each machine to view the started redis service, and then stop all redis services
ps -ef| grep redis
kill 12455 12460
2. Log in to each machine and delete related files of the previous cluster
[allen@localhost redis-5.0.3]$ cd 8001
[allen@localhost 8001]$ ls
8001.log appendonly.aof dump.rdb nodes-8001.conf
[allen@localhost 8001]$ rm -f *
[allen@localhost 8001]$
[allen@localhost ~]$ cd packages/redis-5.0.3/
[allen@localhost redis-5.0.3]$ cd 8003
[allen@localhost 8003]$ rm -f *
[allen@localhost 8003]$ cd ../8006/
[allen@localhost 8006]$ rm -f *
[allen@localhost 8006]$
[allen@localhost redis-5.0.3]$ cd 8002
[allen@localhost 8002]$ ls
8002.log appendonly.aof dump.rdb nodes-8002.conf
[allen@localhost 8002]$ rm -f *
[allen@localhost 8002]$ cd ../8004
-bash: cd: ../8004: No such file or directory
[allen@localhost 8002]$ cd ../8005
[allen@localhost 8005]$ rm -f *
[allen@localhost 8005]$
3. Rewrite all services that start redis
src/redis-server redis-cluster/8001/redis.conf
src/redis-server redis-cluster/8004/redis.conf
src/redis-server redis-cluster/8002/redis.conf
src/redis-server redis-cluster/8005/redis.conf
src/redis-server redis-cluster/8003/redis.conf
src/redis-server redis-cluster/8006/redis.conf
4. Recreate the cluster
https://blog.csdn.net/pengweismile/article/details/112728366