当前位置:网站首页>Kept to implement redis autofailover (redisha) 15
Kept to implement redis autofailover (redisha) 15
2022-06-27 01:01:00 【franket】
Primary analog switching
current state
redis-b yes master
[email protected] keepalived# redis-cli info replication
Replication
role:master
connected_slaves:1
slave0:ip=192.168.100.201,port=6379,state=online,offset=8107,lag=0
master_repl_offset:8107
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:2
repl_backlog_histlen:8106
[email protected] keepalived# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:ab:e8:95 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.185/24 brd 192.168.1.255 scope global eth3
inet6 fe80::20c:29ff:feab:e895/64 scope link
valid_lft forever preferred_lft forever
3: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:ab:e8:9f brd ff:ff:ff:ff:ff:ff
inet 192.168.100.202/24 brd 192.168.100.255 scope global eth2
inet 192.168.100.123/32 scope global eth2
inet6 fe80::20c:29ff:feab:e89f/64 scope link
valid_lft forever preferred_lft forever
[email protected] keepalived#
边栏推荐
- 如何把老式键盘转换成USB键盘并且自己编程?
- Reading graph augmentations to learn graph representations (lg2ar)
- leetcode 1143. Longest Commom Subsequence 最长公共子序列(中等)
- 2022年地理信息系统与遥感专业就业前景与升学高校排名选择
- Sword finger offer 10- ii Frog jumping on steps
- Keepalived 实现 Redis AutoFailover (RedisHA)15
- [UVM actual battle== > episode_3] ~ assertion, sequence, property
- 建模规范:环境设置
- About Random Numbers
- Other service registration and discovery
猜你喜欢
Beyond lithium battery -- the concept of battery in the future
寻找旋转排序数组中的最小值 II[经典抽象二分 + 如何破局左中右三者相等]
统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]
buuctf-pwn write-ups (6)
Gaussian and Summary Stats
How to measure the thickness of glass substrate by spectral confocal
一键加速索尼相机SD卡文件的复制操作,文件操作批处理教程
07 | 工作流设计:如何设计合理的多人开发模式?
光谱共焦如何测量玻璃基板厚度
The world is very big. Some people tattoo QR codes on their necks
随机推荐
Central Limit Theorem
Sword finger offer 10- ii Frog jumping on steps
leetcode 1143. Longest Commom Subsequence 最长公共子序列(中等)
The [MySQL] time field is set to the current time by default
Esp32 experiment - self built web server distribution network 02
Reading graph augmentations to learn graph representations (lg2ar)
光谱共焦如何测量玻璃基板厚度
How to write test cases and a brief introduction to go unit test tool testify
这10款文案神器帮你速码,做自媒体还担心写不出文案吗?
【Mysql】时间字段默认设置为当前时间
Implementation of ARP module in LwIP
Keepalived 实现 Redis AutoFailover (RedisHA)12
解决STC8G1K08程序不能运行的问题和端口配置
解决u8glib只显示一行文字或者不显示的问题
Redis detailed tutorial
Record a bug caused by a line break
Processing of slice loss in ArcGIS mosaic dataset
Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions
Lwip之定时机制
Hid device descriptor and keyboard key value corresponding coding table in USB protocol