-
Notifications
You must be signed in to change notification settings - Fork 7
Usage
Nicola Strappazzon Carotenuto edited this page Mar 24, 2019
·
1 revision
In this step, first build images for each container, next you will remove old images and then start up the stack:
make build
make clear
make up
Next command scale only MySQL Server to trhee instances:
make scale numbers=3
You have two options to start play. Standard replications with one master and 5
slaves. Or two co-master with 4 slaves. To implement multimaster, first run
masterslaves.sh
script and then this multimaster.sh
script.
- Standard replications.
Configure classic replication topology Master and Slaves:
make masterslaves
- Multimaster:
Configure MultiMaster replication topology:
make multimaster
You have the next tools to use:
- orchestrator to see and manage MySQL topology.
- consul
Enter to MySQL Shell to pass by ProxySQL:
make mysql
brew install siege
siege -c 2 127.0.0.1
Stop and remove containers, networks, images, and volumes. Maybe have problem to start new cluster, try down the old cluster and retry.
make down