How to compile Percona XtraDB Cluster 5.6 on Ubuntu 14.04 Trusty Tahr
#percona on freenode is sadly still very very idle and of no help, and after reading different sources such as
I managed to get it all working and wanted to share the success.
Note: There might be more packages that need to be installed that I already had when installing another application, if you get an error along the way, leave a comment and I'll help out and update the blog as we go along.
Next, we'll go on with the compile & install. Note if you are (for some reason) compiling on a 32bit machine use ./BUILD/compile-pentium else use ./BUILD/compile-pentium64 as the paste below does.
The symlinks are added to make the installment as close as possible to the default MySQL for Ubuntu. That way we don't need to update the standard scripts of init.d, xinet.d, clustercheck and others.
Last thing that we are missing is the galera module, you know - the one we point in our config file: wsrep_provider=/usr/lib/libgalera_smm.so
So after compiling it from source as specified by a document I found on MariaDB, I found that it was very time consuming while the result was the same as using the galera-module from Perconas sources which was luckely in the repo.
(remember to add perconas repo before doing the next step http://www.percona.com/doc/percona-server/5.6/installation/apt_repo.html)
That's it! Now you have a fresh MySQL installment ready to be tested with your own my.cnf file.
Remember to restart xined if you will use tools such as HaProxy to monitor the clusterstatus.