redis-sentinel安装、配置与故障与故障转移演示
redis-sentinel安装、配置与故障与故障转移演示
本次搭建,将会搭建一个redis-sentinel,其中包括一主两从三哨兵。架构图如下:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
+-------------+ +-------------+ +-------------+
| Sentinel S1 |------| Sentinel S2 |------| Sentinel S3 |
+-------------+ +-------------+ +-------------+
| | |
| | |
+------+------+------+------+------+------+
|
|
+--------+
| Master |
+--------+
|
|
+------++------+------++------+
| |
| |
+-----------+ +-----------+
| Salve S1 | | Salve S2 |
+-----------+ +-----------+