redis-cluster - Redis sentinel 高可用性 - 运行 sentinel.conf 时出错
问题描述
我在 3 个节点上配置 Redis 哨兵。我能够使用所有主从配置执行 redis.conf。有问题找出导致 sentinel.conf 出错的原因。这是我正在执行的错误cd src/ && redis-server ../sentinel.conf — sentinel &
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 84
>>> 'sentinel monitor mymaster 3.122.x.x 6379 2'
sentinel directive while not in sentinel mode
谢谢您的帮助。
解决方案
推荐阅读
- odoo - odoo13 归档此规则“res.partner.rule.private.employee”时创建客户的问题
- javascript - 为什么 127.0.0.1/routeToFile/index.html 不起作用?
- database - 一系列短交易造成的饥饿
- rust - 在 toml 中导入带有别名的 rust 包
- swagger - Swagger/OpenAPI $ref 包含在描述标签中
- node.js - 错误代码 429 请求过多,但我仍有积分
- c# - 如何使用实体框架从今天开始选择最接近的日期?
- php - Html 表单有 1000 多个字段。所以表单在 1000 个字段后中断。如何增加 php gobal 变量 max_input_vars
- c++ - 如何在tensorflow c ++中填充张量?
- tomcat - 添加 jmx_prometheus_javaagent.jar 导致错误