当前位置:网站首页>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....
边栏推荐
- buuctf-pwn write-ups (6)
- 07 | 工作流设计:如何设计合理的多人开发模式?
- LeetCode 142. Circular linked list II
- flutter系列之:flutter中的flow
- Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
- 目前哪个证券公司炒股开户是最好最安全的?
- Database interview questions +sql statement analysis
- [vscade] preview MD file
- TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
- Timing mechanism of LwIP
猜你喜欢

直播回顾 | 子芽&CCF TF:云原生场景下软件供应链风险治理技术浅谈

Lambda expression

What are the skills and methods for slip ring installation

史上最难618,TCL夺得电视行业京东和天猫份额双第一

Central Limit Theorem

Buuctf PWN write UPS (6)

3 - wire SPI Screen Drive

Gaussian and Summary Stats
![统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]](/img/cc/a0be58eddc72c22a9a6ee5c61eb81a.png)
统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]

ESP32实验-自建web服务器配网02
随机推荐
memcached基础3
JS library for number formatting
Kept to implement redis autofailover (redisha) 17
IIS deploy static web site and FTP service
How to measure the thickness of glass substrate by spectral confocal
Central Limit Theorem
解决STC8G1K08程序不能运行的问题和端口配置
Lwip之ARP模块实现
大白话高并发(一)
The [MySQL] time field is set to the current time by default
气液滑环与其他滑环的工作原理有什么区别
Custom class loader encrypts and decrypts classes
Kept to implement redis autofailover (redisha) 11
这10款文案神器帮你速码,做自媒体还担心写不出文案吗?
Keepalived 实现 Redis AutoFailover (RedisHA)15
自定义JSP[if,foreach,数据,select]标签
Law of Large Numbers
Is it safe to open a securities account online? Is it reliable to speculate in stocks by mobile phone
史上最难618,TCL夺得电视行业京东和天猫份额双第一
建模规范:环境设置