redis(4)Sentinel监控

先讲解一下sentinel配置文件的主要配置: // Sentinel节点的端口 port 26379 dir /usr/local/redis/tmp // 当前Sentinel节点监控 127.0.0.1 这个主节点// 1代表判断主节点失败至少需要2个Sentinel节点节点同意,这个数字应该<=sentinel主机数量// mymaster是主节点的别名 sentinel monitor
相关文章
相关标签/搜索