sentinel monitor <mastername> <ip> <port> <quorum>
主观下线
- 每个 sentinel 节点对 redis 节点失败的“偏见”;
客观下线
- 所有 sentinel 节点对 redis 节点失败“达成共识”(超过 quorum 个同意);
注:
- sentinel 节点要是基数;
- quorum 要配置成 sentinel 节点数的一半 + 1;
sentinel monitor <mastername> <ip> <port> <quorum>
注: