Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
/ MySQLSandbox Public archive

MySQLSandbox with orchestrator in docker

Notifications You must be signed in to change notification settings

debeando/MySQLSandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Sandbox in docker

The idea for this project is playing to change replication topology, make a failover, recover a master, scale slaves, everything with traffic simulated.

Orcehstrator screenshot

MySQL Sandbox run in docker and has inside:

We use a multi-container Docker to defining and running any services for MySQL, one service for Orchestrator and one for ProxySQL. With any container of MySQL you have a possibility to play with slaves, co-master, and intermediate master.

Limitation:

  • Only run MySQL 5.7.
  • Only scale MySQL containers.
  • Only have high availability for MySQL.
  • Only run one container for ProxySQL, Orchestrator and Consul.

Usage

To simplify the usage, is implemented Makefile, and you have the all commands necessary to playing with this sandbox. For example, you can; up, down and scale containers or enter in the bash. Change topology replication or enter in MySQL or ProxySQL and more...