No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
develop
group_vars
roles
tmp
.gitignore
README.md
Vagrantfile
site.yml

README.md

mysql-replication-ansible

Requirements

  • Vagrant 1.5+
  • Ansible

Usage

Setup

Clone this repository.

$ git clone https://github.com/akagisho/mysql-replication-ansible.git
$ cd mysql-replication-ansible

Execute

Start vagrant VMs and provision by using ansible.

$ vagrant up

(After the first time) Execute ansible playbook.

$ vagrant provosion

Check replication status.

$ vagrant ssh node2 --command "sudo -H mysql -e 'SHOW SLAVE STATUS\G'"

References