当前位置:网站首页>MySQL high availability practical solution MHA
MySQL high availability practical solution MHA
2022-07-27 13:41:00 【Rocky000000】
One 、 About MHA I have to understand
Use MHA It can liberate our hands to a greater extent , Accomplish more with fewer instructions ,MHA Mainly able to do the following things :
Automatic in MASTER Elect a new one after the outage SLAVE As MASTER, Ensure that the service is not interrupted .
Automatic in MASTER After the outage, all those who have not been elected as new MASTER Of SLAVE Point back to the new MASTER And start replication .
Automatic in MASTER Send an alarm email to the database administrator after the outage Automatically VIP Drift service , Ensure that the service operation will not be suspended .
MHA The minimum construction conditions are 1 Lord 2 from , And it must be an independent server , You cannot build multiple instances on a single machine .
Two 、 Architecture demonstration
MHA It's actually a collection of software , Its software is divided into 2 part :
- Manager Software
- Node Software
Node The software must be installed in all MHA Node , and Manager The software only needs to be installed on the management node .
Different software consists of different toolkits , As shown below :
-- Master
masterha_manager - Used to start MHA
masterha_check_ssh - Used for inspection MHA Of SSH Configuration situation
masterha_check_repl - Used for inspection MHA Master-slave replication of
masterha_master_monitor - Used for inspection Master Whether the node is down
masterha_check_status - Used to check the current MHA Operating state
masterha_master_switch - For automatic fault recovery
masterha_conf_host - Used to add or delete Manager Configured in ser边栏推荐
- W3school navigation bar exercise
- 责任链模式在转转精准估价中的应用
- 附加:【URLEncoder.encode(待编码字符串, “编码方式“);】(是什么?;我们向cookie中设置值的时候,为什么要使用这个去编码?)(待完善……)
- 滑环的分类以及用途
- Li Kou 1480. Dynamic sum of one-dimensional array 383. Ransom letter 412. Fizz buzz
- 【LeetCode】592. 分数加减运算
- Seata's landing practice in ant International Banking
- 电滑环的常用类型
- Product manager experience 100 (XI) - Strategic Product Manager: model and methodology
- uniapp防止连续点击出错
猜你喜欢

剑指Offer 07 重建二叉树 -- 从中序与后序遍历序列构造二叉树

js将数组根据指定属性值分组成二维数组

SCI论文写作

Go语言系列:如何搭建Go语言开发环境?

常见分布式理论(CAP、BASE)和一致性协议(Gosssip、Raft)

W3school navigation bar exercise

Can you tell me the difference between lateinit and lazy in kotlin?

如何调试JNI程序

MFC FTP creates multi-level folders and uploads files to the specified directory of FTP

PAT乙级 1109 擅长C(详解)
随机推荐
Common types of electric slip rings
2022ACM夏季集训周报(四)
常见分布式理论(CAP、BASE)和一致性协议(Gosssip、Raft)
图像特征及提取
附加:【URLEncoder.encode(待编码字符串, “编码方式“);】(是什么?;我们向cookie中设置值的时候,为什么要使用这个去编码?)(待完善……)
赋能金融风控加分项的这30个问题,您都搞懂了吗
libevent 之 evconnlistener_new_bind
滑环使用如何固定
Deliver temperature with science and technology, vivo appears at the digital China Construction Summit
数据库内核开发人员,值一个马克杯!!!
网络异常流量分析系统设计
JS 模块、闭包应用
LeetCode报错及其解决方案
Interviewers often ask: how to set up a "message queue" and "delayed message queue"?
期货公司开户后续会有哪些服务?
Interface testing practical tutorial 01: interface testing environment construction
uniapp防止连续点击出错
2、Citrix Virtual Apps and Desktops 2203剪贴板重定向策略
52: Chapter 5: developing admin management services: 5: developing [paging query admin account list, interface]; (swagger's @apiparam(), annotate the method parameters; PageHelper paging plug-in; Inte
QT clipboard qclipboard copy paste custom data