Home  >  Article  >  Database  >  10 recommended content for failover

10 recommended content for failover

巴扎黑
巴扎黑Original
2017-06-12 14:48:341171browse

1. Server planning Master: 192.168.0.152 Slave: 192.168.0.153 192.168.0.154 Monitoring server: 192.168.0.154 Note: In the real production environment, it is best to have a separate server to monitor database Replication. Here I will use a Salve directly. The server is used as a monitoring server. 2. Install MySQL Utilities and MySQL Connectors. Download MySQL Utilities and MySQL Connectors and install them on the 192.168.0.154 (monitoring server) server. Execute the following commands to install the downloaded MySQL Utilities and MySQL Connectors. Syum install&

1. MySQL-Detailed analysis of Replication monitoring and automatic failover

10 recommended content for failover

##Introduction: 1. Server Planning Master: 192.168.0.152 Slave: 192.168.0.153 192.168.0.154 Monitoring server: 192.168.0.154 Note: It is best to have a separate server to monitor the database Replication in the real production environment. Here I will directly use a Salve server as the monitoring server. 2. Install MySQL Utilities and MySQL

2. MySQL automatic failover tool--mysqlfailover

10 recommended content for failover

Introduction: mysqlfailover is an important high-availability command included in the MySQL utilities toolkit, which is used to perform health testing on the master-slave replication architecture and implement automatic failover. It will regularly detect the health status of each node at specified intervals. Once it captures that the master node is unavailable, it will trigger failover-related actions and automatically perform failover to the best slave server at the moment. At the same time, other slave nodes in the entire master-slave architecture will point to the new master node, automatically completing the master-slave topology update.

3. Code analysis of MHA failover and online switching_PHP tutorial

Introduction: MHA failover and online switching Code analysis for online switching. Code analysis of MHA failover and online switching. Some time ago, my colleague Shen Longxing sorted out the code process of MHA failover and online switching, and forwarded it here with his consent. Take

4. Code analysis of MHA failover and online switching

Introduction: MHA failover and online switching code analysis. Code analysis of MHA failover and online switching. Some time ago, my colleague Shen Longxing sorted out the code process of MHA failover and online switching, and forwarded it here with his consent. Take

5. MySQL failover event scheduler (event) considerations

Introduction: In the master-slave In the architecture, create an event in the master, as follows: mysqlshowcreateevent`insert`\G;******************************1.row** *************************..

6. MySQL automatic failover of keepalive Script

Introduction: MySQL architecture is master-slave (master-slave), and master failure automatically switches to slave. Of course, it can also be set up as a dual master, but there is a drawback: when the master is under great pressure, the delay from above is very large, such as falling behind by 20

7. MongoDB Automatic failover of replica sets

Introduction: Elections play a very important role in the operation of replica sets. It takes time. During the election process, the replica set does not have a primary node and cannot accept reads from the client.

8. Data Guard logical standby database failure Switch (logical standby failover)

Introduction: In Oracle 10g logical standby mode, if the main database fails, the standby database can quickly Switch to the main library for use. Refer to 7.3.2 Fa in Oracle official documentation

9. Mysql MHA High Availability

Introduction: MHA is a Mysql failover solution written in Perl by Japanese Mysql experts to ensure High availability of the database, its function is to achieve primary MySQL failover within 0-30s. MHA failover can help us solve the consistency problem of slave database data while maximizing the recovery of data after a failure. This article is configured based on the Mysql master-slave architecture

10. Use keepalived to implement redis failover

Introduction: The online redis environment has always been a single point, which is indeed quite dangerous. At first I wanted to use Sentinel of redis to do it, but after looking at it for a long time, I found that this thing was unreliable and quite troublesome. I could only abandon it temporarily and use keepalived that I was familiar with. After having the plan, the only thing left is to search for relevant information. I googled a lot of information and found that everyone’s approach is generally


The above is the detailed content of 10 recommended content for failover. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn