After replacing the computer, copy the virtual machine on the original computer to the new computer, start the CentOS system on the virtual machine, and then start the redis cluster (redis5 version). It is found that the cluster can be started and the redis process can also be started, but an error is reported when connecting any node in the cluster, as shown below
To view the cluster configuration information of a single node:
It is found that the error is caused by the original cluster configuration information. You need to delete the dump.rdb and nodes.conf files under each redis instance, and then re create the cluster
Recreate the cluster:
Start 6 redis instances first
2. Enter any redis instance and execute the cluster creation command:
./redis-cli –cluster create 192.168.5.108:8001 192.168.5.108:8002 192.168.5.108:8003 192.168.5.108:8004 192.168.5.108:8005 192.168.5.108:8006 –cluster-replicas 1
Enter yes to continue. You can see that the cluster node is created successfully
Test cluster:
Similar Posts:
- [Solved] Execute the redis command redis-trib.rb to view the cluster information error: cannot load such file — redis (LoadError)
- Redis service failed to start, prompt: redis server: command not found
- Error reported in the celery log of the project: redis.exceptions.connectionerror failed to connect with redis
- CentOS8 Install redis-6.0.6 make test:“ You need tcl 8.5 or newer in order to run the Redis test“
- [Solved] #Creating Server TCP listening socket *:6379: bind: Address already in use
- Gitlab 403 Forbidden error [How to Solve]
- [Solved] Redis MISCONF ERROR: Redis is configured to save RDB snapshots
- [Solved] Redis Connect Error: ERR Client sent AUTH, but no password is set
- This account is currently not available [How to Solve]
- How to Solve Rac ORA-01102 error: cannot mount database in EXCLUSIVE mode