首页 > 解决方案 > 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

谢谢您的帮助。

标签: redis-clusterredis-sentinel

解决方案


推荐阅读