一主两从+三哨兵+KeepAlived
Redis (M/1 S/2)+ Sentinel/3 + KA/3 (VIP/1)
KA配置示例(其一节点):
1 | ! Configuration File for keepalived |
一主一从+KeepAlived
Redis (M/1 S/1) + KA/2 (VIP/1)
KA配置示例(其一节点):
1 | ! Configuration File for keepalived |
redis_master.sh:
1 |
|
redis_backup.sh:
1 |
|
redis_check.sh:
1 |
|