The previous blog compares the various MySQL cluster scenarios, this blog will explain in the synchronous replication function of the excellent Percona xtradb cluster installation stepsFirst, if the server already has the default MySQL (many Linux installation comes with
In the previous blog to compare the various MySQL cluster scenarios, this blog will explain the replication features in the more excellent Percona xtradb cluster installation steps
first, if the server already has a default MySQL (many Linux installed with
INSTALLING-PERCONAXTRADB Cluster 5.6In-ubuntu-13-10-wheezyFirst of all, I would recommend login as root so this you don ' t has tosudo every time you hit the command and give the RO OT password.1. $ SU-$ Su-Now you should is logged in as root. Mine now is1. [Email protected]:~#[Email protected]:~#Step 1:First of all lets remove everything, that's related to MySQL.1. apt-get Remove
Check Port 9200 Inter 12000 RI SE 3 Fall 3 server MYSQL-PXC02 192.168.163.7:3306 Check Port 9200 Inter 12000 rise 3 Fall 3 backend stats-back mode HTTP b
Alance roundrobin stats uri/haproxy/stats stats auth Pxcstats:secret backend pxc-onenode-back mode TCP balance Leastconn Option Httpchk Server mysql-pxc01 192.168.163.6:3306 Check Port 9200 Inter 12000 Rise 3 Fall 3 server
Percona-xtradb-cluster Environment" 3 nodes deployed on a single physical server "First, related software installation#安装前确认源安装mysql已经卸载#rpm-qa |grep mysql*#rpm-E--nodeps mysql-server-5.1.73-5.el6_6 mysql-libs-5.1.73-5.el6_6
Tags: copy First name Live Sync ati Storage sha Cal httpPercona XtraDB Cluster (PXC) cluster is a general multi-master synchronous replication plug-in based on Galera and transactional application, which is mainly used to solve the strong consistency problem, so that the data of each node is kept in real-time synchronization and multi-node simultaneous reading and writing is realized. It is one of the well-
:6600,192.168.1.210:6602 ': -110 (Connection timed out)Tip I can't join PXC this cluster, view my.cnf configuration file Changes wsrep_cluster_address= ' gcomm://192.168.1.210:6630,192.168.1.210:6632 'The address of this cluster to fill the address of the PXC node to communicate with each other, can not fill in the MySQL service address, the default address is th
This was done before Percona XtraDB Cluster (Configuration See linkhttp://hans925.blog.51cto.com/542170/1607157)Now with Haproxy to Percona XtraDB cluster do load balancing, machine or those two machines, (originally do load balancing three machines, but personal notebook run two virtual machine on a bit card, so it us
PXC Installation
1, PXC installation environment:
Cluster Name: Pxc-sky
node1:192.168.246.18
node2:192.168.246.19
node3:192.168.246.20
2, shut down the firewall and SELinux
#chkconfig iptables off
#vi/etc/selinux/config
Selinux=disabled
#reboot
3. Create MySQL users and Groups
All 3 nodes to do
[Root@localhost ~]# Groupadd MySQL
[Root@localhost ~]# useradd–g
Tags:-o xtraback log Max mysqld img Real-time synchronous parallel presenceIntroduced:PXC belongs to a set of nearly perfect MySQL high-availability cluster solution, compared to the traditional master-slave replication mode-based cluster architecture MHA and mm+keepalived, the most prominent feature is to solve the data replication delay problem, basically can a
monitoring of the database cluster is not enough to force, need to be modified on the basis of its monitoring script, so that it can monitor the status of the database cluster information that would be better, of course, I only do a single database monitoring, cluster because there is no actual deployment, There is no demonstration here, children's shoes interes
production library, you can use the Percona company's online backup tool for backup.Replicate a copy of the MY1.CNF to another location for backup, preventing the upgrade from failing to recover ins1 quickly.3. Close Ins1Mysqladmin-uroot-p-S $sockdir 4. Ins1 the original data directory via MySQL 5.5.36 boot instance, named Ins21) Modify the my1.cnf to change some parameters that are incompatible with the
[MySQL tool] use percona-toolkit (1) source code to install bitsCN.com
[MySQL tool] percona-toolkit (1) source code installation
1. percona-toolkit introduction
Percona-toolkit is a set of advanced command line tools used to exe
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.