Percona XtraDB Cluster test
Puppet Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead, 19 commits behind lefred:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
manifests
modules
.gitignore
Readme
Vagrantfile

Readme

This Vagrant setup can be used to test Percona XtraDB Cluster (Percona Server with Galera)

This is used with Centos 6 x86_64.

If you don't have a Centos 6 base box, you can download mine at http://dl.dropbox.com/u/11697684/centos6.box.bz2
This box includes puppet, firewall is disabled and has a nice motd ;)

How to use ?

vagrant up percona1
vagrant up percona2
vagrant up percona3

And this is all, you have now 3 servers running Percona XtraDB Cluster !


These recipes also install HAProxy on percona1.  One for writes (single cluster node) and one for reads (rr of all cluster nodes).

See cluster status: http://192.168.70.2:9999/

Writes: 192.168.70.2:4306
Reads: 192.168.70.2:5306


Note: SElinux is disabled, there is a selinux policy file included that allows the server to start but the other nodes aren't yet able to sync, I need to investigate...