2022-04-11 redis哨兵官方说明文档

Redis Sentinel提供非集群Redis的高可用性,监控并确保在主节点故障时自动故障转移。Sentinel是一个分布式系统,至少需要三个实例进行部署,且需要配置文件。Sentinel通过监测、通知和配置提供服务,客户端需要支持Sentinel来获取当前主节点地址。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

目录

摘要:

High availability with Redis Sentinel

Sentinel as a distributed system

Sentinel quick start

Obtaining Sentinel

Running Sentinel

Fundamental things to know about Sentinel before deploying

Configuring Sentinel

Other Sentinel options

Example Sentinel deployments

Sentinel, Docker, NAT, and possible issues

IP Addresses and DNS names

A quick tutorial

Asking Sentinel about the state of a master

Obtaining the address of the current master

Testing the failover

Sentinel API

Sentinel commands

Reconfiguring Sentinel at Runtime

Adding or removing Sentinels

Removing the old master or unreachable replicas

Pub/Sub messages

Handling of -BUSY state

Replicas priority

Sentinel and Redis authentication

Redis Access Control List authentication

Redis password-only authentication

Configuring Sentinel instances with authentication

Sentinel Access Control List authentication

Sentinel password-only authentication

Sentinel clients implementation

More advanced concepts

SDOWN and ODOWN failure state

Sentinels and replicas auto discovery

Sentinel reconfiguration of instances outside the failover procedure

Replica selection and priority

Algorithms and internals

Quorum

Configuration epochs

Configuration propagation

Consistency under partitions

Sentinel persistent state

TILT mode


摘要:

记录redis哨兵的官方文档

High availability with Redis Sentinel


High availability for non-clustered Redis

Redis Sentinel provides high availability for Redis when not using Redis Cluster.

Redis Sentinel also provides other collateral tasks such as monitoring, notifications and acts as a configuration provider for clients.

This is the full list of Sentinel capabilities at a macroscopic level (i.e. the big picture):

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

悟世者

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值