提示:这次配置实在虚拟机中实现redisCluster集群
1.先修改第一台主机的名称
此处将红色的也是改为no
集群常见的错误解决方法
- RedisCluster(集群常见错误)
- 【错误 MISCONF Redis is configured to save RDB snapshots】
192.168.179.134:6379> set java spring
(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
192.168.179.134:6379> config set stop-writes-on-bgsave-error no