Buy Percona ServicesBuy Now!

Installing Percona XtraDB Cluster on Debian and Ubuntu

Percona provides .deb packages for 64-bit versions of the following distributions:

  • Debian 7 (“wheezy”)
  • Debian 8 (“jessie”)
  • Ubuntu 12.04 LTS (Precise Pangolin)
  • Ubuntu 14.04 LTS (Trusty Tahr)
  • Ubuntu 16.04 LTS (Xenial Xerus)
  • Ubuntu 16.10 (Yakkety Yak)
  • Ubuntu 17.04 (Zesty Zapus)

Note

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.

Installing from Repositories

Make sure to remove existing Percona XtraDB Cluster 5.5 packages and any Percona Server packages before proceeding.

  1. Configure Percona repositories as described in Percona Software Repositories Documentation.

  2. Install the required Percona XtraDB Cluster package using apt-get. For example, to install the base package, run the following:

    sudo apt-get install percona-xtradb-cluster-56
    

    Note

    Alternatively, you can install the percona-xtradb-cluster-full-56 meta package, which contains the following additional packages:

    • percona-xtradb-cluster-5.6-dbg
    • percona-xtradb-cluster-galera-3.x-dbg
    • percona-xtradb-cluster-galera3-dbg
    • percona-xtradb-cluster-garbd-3
    • percona-xtradb-cluster-garbd-3.x
    • percona-xtradb-cluster-garbd-3.x-dbg
    • percona-xtradb-cluster-server-debug-5.6
    • percona-xtradb-cluster-test-5.6

For more information on how to bootstrap the cluster please check Installing Percona XtraDB Cluster on Ubuntu.

Note

Garbd is packaged separately as part of Debian split packaging. The garbd package in Debian 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.

Note

On Debian Jessie (8.0) and Ubuntu Xenial (16.04), to stop or reload the node bootstrapped with service mysql bootstrap-pxc, you’ll need to use service mysql stop-bootstrap or service mysql reload-bootstrap respectively. To check the status of the bootstrapped node, run service mysql status-bootstrap.

Visit Percona Store


General Inquiries

For general inquiries, please send us your question and someone will contact you.