当前位置:网站首页>Kept to implement redis autofailover (redisha) 16
Kept to implement redis autofailover (redisha) 16
2022-06-27 01:01:00 【franket】
redis-a yes slave
[email protected] keepalived# redis-cli info replication
Replication
role:slave
master_host:redis-b
master_port:6379
master_link_status:up
master_last_io_seconds_ago:4
master_sync_in_progress:0
slave_repl_offset:8093
slave_priority:100
slave_read_only:1
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0
[email protected] keepalived#
Simulated fault occurrence
[email protected] keepalived# redis-cli shutdown
[email protected] keepalived# redis-cli info replication
Could not connect to Redis at 127.0.0.1:6379: Connection refused
[email protected] keepalived#
Automatic switching occurs
redis-a Data is generated in the log of
2015-09-25:00:53:36|25366|state:master read change to master
2015-09-25:00:53:36|25366|state:master wait 10 sec for data sync from old master
2015-09-25:00:53:46|25366|state:master data rsync from old mater ok...
2015-09-25:00:53:46|25366|state:master Run slaveof no one,close master/slave
OK
2015-09-25:00:53:46|25366|state:master wait other slave connect....
边栏推荐
- Basic introduction to C program structure Preview
- Kept to implement redis autofailover (redisha) 17
- Gaussian and Summary Stats
- 3-wire SPI screen driving mode
- Encapsulation of unified result set
- 玩转OLED,U8g2动画,增长数字和随机三角形等
- Moher College - SQL injection vulnerability test (error reporting and blind note)
- Xiaobai looks at MySQL -- installing MySQL in Windows Environment
- leetcode 1143. Longest Commom Subsequence 最长公共子序列(中等)
- Implementation of ARP module in LwIP
猜你喜欢

TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘

世界很大,有人把二维码纹在脖子上

超越锂电池——未来电池的概念

Statistical Hypothesis Testing

Operating instructions and Q & A of cec-i China learning machine

3-wire SPI screen driving mode

IIS 部署静态网站和 FTP 服务

Live review | Ziya &ccf TF: Discussion on software supply chain risk management technology under cloud native scenario

Basic introduction to C program structure Preview

ESP32实验-自建web服务器配网02
随机推荐
Play OLED, u8g2 animation, increasing numbers, random triangles, etc
Implementation of ARP module in LwIP
USB协议中HID设备描述符以及键盘按键值对应编码表
Great health industry annual must attend event, 2022 Shandong International Great Health Industry Expo
07 | 工作流设计:如何设计合理的多人开发模式?
可视化介绍 Matplotlib 和 Plotnine
CEC-I 中华学习机使用说明与问答
清华&智源 | CogView2:更快更好的文本图像生成模型
[vscade] preview MD file
Database interview questions +sql statement analysis
Memcached foundation 3
其他服务注册与发现
XSS攻击笔记(上)
Pet hospital management system based on SSMP
Object access mechanism and others
JS library for number formatting
Basic introduction to C program structure Preview
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]
05 | standard design (Part 2): how to standardize the different styles of commit information, which are difficult to read?