sentinel.conf
#sentinel monitor 被监控数据库名字(自己起名字) 127.0.0.1 6379 1
#最后一个数字1,表示主机挂掉之后salve投票看让谁接替称为主机,得票数多少后称为主机
sentinel monitor localhost6379 127.0.0.1 6379 1
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
网友评论