Percona provides .deb packages for 64-bit versions of the following distributions:
Percona XtraDB Cluster should work on other DEB-based distributions, but it is tested only on platforms listed above.
The packages are available in the official Percona software repositories and on the download page. It is recommended to install Percona XtraDB Cluster from repositories using apt.
wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb
sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb
Once you install this package, the Percona repositories should be added. You can check the repository configuration in the /etc/apt/sources.list.d/percona-release.list file.
sudo apt-get update
Make sure to remove existing Percona XtraDB Cluster 5.5 and Percona Server 5.5/5.6 packages before proceeding.
sudo apt-get install percona-xtradb-cluster-56
Alternatively, you can install the percona-xtradb-cluster-full-56 meta package, which contains the following additional packages:
For more information on how to bootstrap the cluster please check Installing Percona XtraDB Cluster on Ubuntu.
Garbd is packaged separately as part of debian split packaging. The garbd Debian package is percona-xtradb-cluster-garbd-3.x. The package contains, garbd, daemon init script and related config files. This package will be installed if you install the percona-xtradb-cluster-full-56 meta package.
On Debian Jessie (8.0) and Ubuntu Xenial (16.04) in order to stop or reload the node bootstrapped with service mysql bootstrap-pxc command, you’ll need to use service mysql stop-bootstrap or service mysql reload-bootstrap respectively. Also, status of the bootstrapped node should be checked with service mysql status-bootstrap.
Percona offers pre-release builds from the testing repo, and early-stage development builds from the experimental repo. To enable them, add either testing or experimental at the end of the Percona repository definition in your repository file (by default, /etc/apt/sources.list.d/percona-release.list).
For example, if you are running Debian 8 (“jessie”) and want to install the latest testing builds, the definitions should look like this:
deb http://repo.percona.com/apt jessie main testing deb-src http://repo.percona.com/apt jessie main testing
If you are running Ubuntu 14.04 LTS (Trusty Tahr) and want to install the latest experimental builds, the definitions should look like this:
deb http://repo.percona.com/apt trusty main experimental deb-src http://repo.percona.com/apt trusty main experimental
If you want to pin your packages to avoid upgrades, create a new file /etc/apt/preferences.d/00percona.pref and add the following lines to it:
Package: * Pin: release o=Percona Development Team Pin-Priority: 1001
For more information about pinning, refer to the official Debian Wiki.
For general inquiries, please send us your question and someone will contact you.