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 mysql-5.1.73-5.el6_6 mysql-devel-5.1.73-5.el6 _6Yum-y Install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-
For data security, sometimes the database needs to delay backup, here are two ways to delay backup.First, the use of tools.Implementing the Environment:192.168.189.143 (MySQL Main library)192.168.189.144 (MySQL standby, 3 minutes delay)Steps:1: Install MySQL on the server and configure master-slave replication. Omitted2: View 144 copy status from the library, confirm that synchronization is OK, or write data tests on the main library.3: Download the Percona
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 mysql–s/sbin/nologin MySQL
4, the main software installation
All 3 nodes to do
The storage location of the software under/opt/mysql/
Firs
What is ole db? Introduction to ole db, oledb
Ole db (OLEDB) is a strategic low-level application interface for Microsoft to access different data sources. Ole db not only supports the Structured Query Language (SQL) of Open Database Connectivity (ODBC), but also supports other non-SQL data types.Introduction
OLE stan
MySQL has been changing and continues to grow. Therefore, we updated our standard MySQL version, from 5.1 to 5.5, and migrated from the primary MySQL version to percona version. This world-leading database has made another huge step forward in terms of its product features, functions, stability, and especially manageability.
If you are not familiar with percona, log on to www.percona.com. They are world-c
To build the Innodb-tools tool, you need to rely on the C compiler, make tool, and so on.
1, download decompression innodb-tools tool Source:
wget https://launchpad.net/percona-data-recovery-tool-for-innodb/trunk/release-0.5/+download/ percona-data-recovery-tool-for-innodb-0.5.tar.gz
TAR-ZXVF percona-data-recovery-tool-for-innodb-0.5.tar.gz
2, into the decompr
PXC (Percona xtradb Cluster) Single machine multi-instance and multi-cluster installation configuration
PXC principle:
After the node receives the SQL request, the WSREPAPI calls the Galera library for cluster broadcast before the commit, and all other nodes commit the transaction after the success, and vice versa rollback. PXC ensures strong consistency across all data in the cluster to meet the CAP theory: consistency and availability
In the process
1. Foreword
Reference Http://www.oschina.net/p/haproxyHAProxy,HAProxy provides high availability, load balancing. and proxies based on TCP and HTTP applications to support virtual hosts, which is a free, fast, and reliable solution. Haproxy is especially useful for Web sites that are heavily loaded, which typically require session maintenance or seven-tier processing. Haproxy is running on the current hardware and can support tens of thousands of concurrent connections altogether. and its opera
: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 the listening address is 4567
Error Two:
How to resolve can ' t connect to local MySQL server through socket '/var/lib/mysql/mys
Check if MySQL Server is installed:Rpm-qa | grep MySQLRpm-qa | grep mariadbDelete method:RPM-E MySQL #普通删除模式Rpm-e--nodeps MySQL #强行删除模式, if you use the above command to delete, prompted to have other dependent files, then use this command can be forcibly deleted.Yum Remove mariadb-libs-5.5.41-2.el7_0.x86_64Note that mariadb also cannot exist, some words to delete the tune, delete when there are dependencies, direct yum uninstall before installing MySQL need to install Perl, and need to data:dump
that has changed since the last full backup 1.2 Creating a backup User
1 2
mysql>grantreload,locktables,replicationclienton*.*to‘bak‘@‘localhost‘ identifiedby‘bak2015‘; mysql>flushprivileges;
1.3 Mounting method CentOS: # RPM-IVH http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm # yum Install
Tags: mysql optimizer 5.5 5.6First, briefis a free open source database server developed by a company founded by the original MySQL author Michael Widenius. MARIADB, the transaction-based Maria Storage engine, replaces the MySQL MyISAM storage engine, which uses the variant of the Percona Xtradb,innodb. This version also includes the PrimeBase XT (PBXT) and Federatedx storage engines. (Excerpt from: http://baike.baidu.com/view/2521908.htm)Simply put:
Tags: des http io ar sp for on Div 2014Percona Toolkit 2.2.12 Released, Percona Toolkit is a set of advanced command-line tools for managing MySQL and system tasks.Improved content includes:New Features:
Pt-stalk now gathers output from up to dmesg seconds before the triggering event.
Bugs Fixed:
Fixed bug 1376561:pt-archiver was wasn't able to archive all the rows when a table had a hash partition. Fixed by implementing support for
If you encounter mysql-libs-5.1.73-3.el6_5.x86_64 conflicts with a file from the package Percona-server-server error, there are two situations that cause this problem:1) Uninstall the Mysql-libs package preinstalled by the operating systemRpm-qa | Grep-i Libs | Grep-i MySQLRpm-e Mysql-libs2) Install PERCONA-SERVER-SHARED-COMPAT-5.5.33-REL31.1.566.RHEL6.X86_64.RPM package (version number to see the situation
In CentOS 6.4 installation deployment Percona Xtrabackup, perform full backup script, backup unsuccessful, view log, error is as follows:11:15:51 innobackupex:connecting to MySQL server with DSN ' Dbi:mysql:;mysql_read_default_file=/etc/my.cnf;mysql_read_ Default_group=xtrabackup;mysql_socket=/data/lib/mysql/mysql.sock ' as ' dump ' (using Password:yes).Innobackupex:got a fatal error with the following Stacktrace:at/usr/bin/innobackupex line 2999Main:
Turn from old leaves, original: http://imysql.com/2012/10/08/mysql-vs-mariadb-vs-percona-tpcc-testing.html
I. Brief IntroductionIt is a free open-source database server developed by a company founded by Michael widenius, a MySQL author. Mariadb is a transaction-based Maria storage engine that replaces MySQL's MyISAM storage engine. It uses the xtradb and InnoDB variants of percona. This version also includ
Percona XtraDB Cluster (hereinafter referred to as PXC) is an open source MySQL high-availability solution. It integrates Percona server and Percona xtrabackup with the Galera library to enable synchronous multi-master replication. The topology of each node is as follows: , PXC each node's status is equal, each node in the cluster can be used for reading and w
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.