CENTOS6.3 using Keepalived to build dual-master MySQL + dual-host Hot Backup
Previous blog posts introduced how to configure dual-master and dual-slave MYSQL.
See http://www.centoscn.com/mysql/2015/1030/6351.html
This section describes how to implement Keepalived dual-machine hot backup with the former.
System Environment: CentOS 6.3x64
MySQL version: mysql-5.6.
will be the IP address of the bond03, configure the Eno1 and ENO2 network card configuration file, the file is located in the/etc/sysconfig/network-scripts/directory, respectively, Ifcfg-eno1,ifcfg-eno2. Here, first modify the Ifcfg-eno1Type=Ethernetbootproto=None #默认为dhcp, modified here to none, can also be modified into Staticdefroute=Yespeerdns=yespeerroutes=Yesipv4_failure_fatal=Noipv6init=yesipv6_autoconf=Yesipv6_defroute=Yesipv6_peerdns=yesipv6_peerroutes=Yesipv6_failure_fatal=NoNAME=Eno1
Demand:The host has hundreds of backup files to Rsync to the remote host, we will cut the large file for dozens of small files for multi-threaded transmission.Here is a demo using 14 1G files:[[Emailprotected]test]#pwd/root/test[[emailprotected]test]#ll Total dosage 13631540-rw-r--r--. 1rootroot10737418246 Month 1118:29 Test10.data-rw-r--r--. 1rootroot1073741824
For more information, see dual-host Hot Backup in red-flag Linux (kernel 2.4.21i386)-General Linux technology-Linux technology and application information. I would like to ask you if you have a data center with dual-host hot backup. The configuration list is as follows:
Database Server 2 IBM XSereies 236
Hardware con
Whether we choose to pay 10 dollars a month, or a year to pay 10 U.S. dollars VPS, servers, whether we choose to set up a 3-month host, or choose to set up a 30-year host, as long as we choose to use and used to store useful data, such as Web sites. We all need to be prepared to keep and back up data, to understand the importance of data. We can choose to manually replicate backups locally, or we can choose
MYSQL + heartbeat + mon dual-host mutual backup directory document description 3 network topology 3 IP address description: 3. server system installation 4. master server mysql installation 4. master server mysql configuration 5. slave server mysql installation 5. slave server mysql configuration 6. Modify the hosts7 master server of the two servers to create a replication database and export it below the s
will be the IP address of the BOND03, configure the Eno1 and ENO2 network card configuration file, the file is located in the/etc/sysconfig/network-scripts/directory, respectively, Ifcfg-eno1,ifcfg-eno2. Here, first modify the Ifcfg-eno1Type=ethernetBootproto=none #默认为dhcp, Modified here to none, can also be modified to staticDefroute=yesPeerdns=yesPeerroutes=yesIpv4_failure_fatal=noIpv6init=yesIpv6_autoconf=yesIpv6_defroute=yesIpv6_peerdns=yesIpv6_peerroutes=yesIpv6_failure_fatal=noName=eno1uu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.