Home >Database >Mysql Tutorial >Summary of definition and usage of dual-machine HA function
1. Environment description: OS: CentOS6.5_X64 MASTER: 192.168.0.202 BACKUP: 192.168.0.203 VIP: 192.168.0.2042. Configure two Mysql master-master synchronization. For the installation of MySQL, you can also refer to "MySQL - CentOS6" .5 Compile and install MySQL5.6.16》, the master-master synchronization configures the slave server as the Master of the previous master server based on the master-slave synchronization, which is equivalent to setting the original Slave to the original Master based on the original master-slave synchronization. Master, you can also refer to "MySQL - MS Master-Slave Replication (Read-Write Separation) Implementation" , after setting A as B's Master and B as A's Slave, then set B as A's Master and A as B's Slave. [r
1. MySQL-Detailed explanation of dual-machine HA based on Keepalived (picture and text)
Introduction: 1. Environment description: OS: CentOS6.5_X64 MASTER: 192.168.0.202 BACKUP: 192.168.0.203 VIP: 192.168.0.2042. Configure two Mysql master master synchronization. Everyone about the installation of MySQL. You can also refer to "MySQL - CentOS6.5 Compile and Install MySQL5.6.16". The master-master synchronization is based on the master-slave synchronization and the slave server is configured as
2. MySQL - Dual-machine HA based on Keepalived
##Introduction: You can also learn about the installation of MySQL Referring to "MySQL - CentOS6.5 Compile and Install MySQL5.6.16", master-master synchronization configures the slave server as the Master of the previous master server based on master-slave synchronization, which is equivalent to changing the original master-slave synchronization based on the original master-slave synchronization. The Slave is set to the Master of the original Master. You can also refer to "MySQL - MS Master-Slave Replication (Read-Write Separation) Implementation", set A as B's Master, B as A's Slave, and then set B as A's Master, A is set as B's Slave.
【Related Q&A recommendations】:
The above is the detailed content of Summary of definition and usage of dual-machine HA function. For more information, please follow other related articles on the PHP Chinese website!