Skip to content

akagisho/mysql-replication-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages