当前位置:网站首页>Kept to implement redis autofailover (redisha) 13
Kept to implement redis autofailover (redisha) 13
2022-06-27 01:01:00 【franket】
keepalived.conf
keepalived To configure
[email protected] keepalived# cat /etc/keepalived/keepalived.conf
! Configuration File for keepalived
global_defs {
router_id LVS_redis-a
}
vrrp_script chk_redis {
script "/etc/keepalived/scripts/redis_check.sh" weight -10 interval 2 }
vrrp_instance VI_123 {
state BACKUPinterface eth2virtual_router_id 123priority 138advert_int 3authentication { auth_type PASS auth_pass 1111}track_script { chk_redis }virtual_ipaddress {192.168.100.123} notify_master /etc/keepalived/scripts/redis_master.sh notify_backup /etc/keepalived/scripts/redis_backup.sh notify_fault /etc/keepalived/scripts/redis_fault.sh notify_stop /etc/keepalived/scripts/redis_stop.sh}
[email protected] keepalived#
[email protected] keepalived# cat /etc/keepalived/keepalived.conf
! Configuration File for keepalived
global_defs {
router_id LVS_redis-b
}
vrrp_script chk_redis {
script "/etc/keepalived/scripts/redis_check.sh" weight -10 interval 2 }
vrrp_instance VI_123 {
state BACKUPinterface eth2virtual_router_id 123priority 139advert_int 3authentication { auth_type PASS auth_pass 1111}track_script { chk_redis}virtual_ipaddress {192.168.100.123} notify_master /etc/keepalived/scripts/redis_master.sh notify_backup /etc/keepalived/scripts/redis_backup.sh notify_fault /etc/keepalived/scripts/redis_fault.sh notify_stop /etc/keepalived/scripts/redis_stop.sh}
[email protected] keepalived#
边栏推荐
- 超越锂电池——未来电池的概念
- Lwip之ARP模块实现
- 温故知新--常温常新
- Keepalived 实现 Redis AutoFailover (RedisHA)17
- xml学习笔记
- Interface test framework practice (I) | requests and interface request construction
- How to measure the thickness of glass substrate by spectral confocal
- Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
- 直播回顾 | 子芽&CCF TF:云原生场景下软件供应链风险治理技术浅谈
- ESP32实验-自建web服务器配网02
猜你喜欢

C#程序结构预览最基础入门

Employment prospect of GIS and remote sensing specialty and ranking selection of universities in 2022
![[vscade] preview MD file](/img/b8/0413eaade0a7da9ddb5494b093665c.png)
[vscade] preview MD file

Employment prospect of GIS and remote sensing specialty and ranking selection of universities in 2022

高清滑环生产过程当中的质量如何把控

Moher College - SQL injection vulnerability test (error reporting and blind note)

What are the skills and methods for slip ring installation

How to convert an old keyboard into a USB keyboard and program it yourself?

Flink 实战问题(七):No Watermark(Watermarks are only available EventTime is used)

建模规范:环境设置
随机推荐
2022 Health Expo, Shandong health care exhibition, postpartum health and sleep health exhibition
Play OLED, u8g2 animation, increasing numbers, random triangles, etc
Encapsulation of unified result set
At present, which securities company is the best and safest to open an account for stock speculation?
Lwip之定时机制
IIS deploy static web site and FTP service
buuctf-pwn write-ups (6)
Flink 实战问题(七):No Watermark(Watermarks are only available EventTime is used)
2022年地理信息系统与遥感专业就业前景与升学高校排名选择
Is it safe for CITIC Securities Commission to open an online account and speculate in stocks
buuctf-pwn write-ups (6)
memcached基础7
网络中的网络(套娃)
leetcode 1143. Longest common subsequence (medium)
一键加速索尼相机SD卡文件的复制操作,文件操作批处理教程
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
Database interview questions +sql statement analysis
How to use ch423? Cheap domestic IO expansion chip
CEC-I 中华学习机使用说明与问答
Esp32 experiment - self built web server distribution network 02