美文网首页
Redis哨兵配置

Redis哨兵配置

作者: JiangCheng97 | 来源:发表于2020-02-05 19:58 被阅读0次

    sentinel.conf

    #sentinel monitor 被监控数据库名字(自己起名字) 127.0.0.1 6379 1
    #最后一个数字1,表示主机挂掉之后salve投票看让谁接替称为主机,得票数多少后称为主机
    sentinel monitor localhost6379 127.0.0.1 6379 1
    

    相关文章

      网友评论

          本文标题:Redis哨兵配置

          本文链接:https://www.haomeiwen.com/subject/vghexhtx.html