Skip to content

emusickid/vagrant-mysql-57-cluster

Repository files navigation

vagrant-mysql-57-cluster

A vagrant environment to test Percona Server 5.7 (MySQL) GTID replication.

###The replication toplogy created in this environment is as follows: Master1 <====> Master2 ----> Slave1.

Prepare the environmet and build cluster

$ git clone https://github.com/emusickid/vagrant-mysql-57-cluster.git
$ cd vagrant-mysql-57-cluster
$ /bin/bash bootstrap.sh

Connecting to the servers

  • vagrant ssh master-1
  • vagrant ssh master-2
  • vagrant ssh slave-1

To remove the cluster

$ vagrant destroy
    slave-1: Are you sure you want to destroy the 'slave-1' VM? [y/N] y
    master-2: Are you sure you want to destroy the 'slave-1' VM? [y/N] y
    master-1: Are you sure you want to destroy the 'slave-1' VM? [y/N] y

About

A vagrant environment to test MySQL replication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published