Skip to content

jayjanssen/percona-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...



Releases

No releases published

Packages

 
 
 

Languages

  • Puppet 61.9%
  • Ruby 38.1%