This is a Percona test lab. You can use test-kitchen, vagrant or even any virtual or hardware box to install Percona MySQL server and setup Master <-> Slave replication.
- Directly on node
curl -L -O https://github.com/raw/dmitrievav/percona-test-lab/master/setup.rb
ruby ./setup.rb
- Test-kitchen
kitchen converge master-ubuntu-trusty64
kitchen converge slave-ubuntu-trusty64
or
kitchen converge master-bento-centos-71
kitchen converge slave-bento-centos-71
Deployment automation based on Chef configuration managment, as one of the most dynamic and widely used DevOps tool.
Includes forked comunity cookbooks:
percona
percona-multi
As well as not modifed comunity cookbooks:
apt
build-essential
chef-sugar
openssl
yum
- CentOS 7.1
- Ubuntu 14.04
- Download virtualbox
- create host-only network vboxnet0 10.0.0.0/24
- set the route:
sudo route add 10.0.0.0/24 -interface vboxnet0
- Download Vagrant
- Install vagrant-berkshelf plugin
- Install vagrant-omnibus plugin
setup.rb
- for fetching and all setup related taskstest.rb
- for running the test suit on Slave nodeCHANGELOG.md
- Percona test lab CHANGELOG.kitchen.yml
- Test-kitchen settingsVagrantfile.erb
- Vagrant custom settingscookbooks/*
- Chef community and forked cookbooksdist & dist.tgz
- chef-zero repo, that is used by setup.rb