In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
MHA is a set of excellent high availability software for failover and master-slave upgrade in MySQL high availability environment, which is developed by youshimaton (now works for Facebook company) of Japanese MySQL company.
Advantages:
Open source tools developed by the perl language
Can support GTID-based replication mode
MHA provides master-slave handover and failover functions, so it is not easy to cause data loss during failover.
When the master DB is not available, a new master DB server is elected from multiple slave servers
Multiple clusters can be monitored by the same monitoring node
Disadvantages:
Need to write scripts or use third-party tools (such as keepalived) to implement the configuration of VIP
MHA startup will only monitor the primary database
Need to be based on SSH authentication-free configuration, there are security risks
There is no read load balancing function from the server.
Can only monitor the availability of the master server, not the slave server
Brief introduction of MHA master-slave switching process:
The application saves binary logs from the original master DBA server
Promote the alternate primary DB server to the new primary DB server
Migrate the other slave DB in the cluster as the slave server of the new master DB
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.