Sign inSign up

fblgit/db-slave

By fblgit

Updated over 10 years ago

Some way to build and maintain automatically an extendable Percona / MariaDB cluster :)

Image
0

1.7K

fblgit/db-slave repository overview

db-slave

Percona Cluster Master-Master (Slave Node) Dynamic Config Generation

It is based on Percona Docker Image

Differences:

  • Copy from a defined TAR (url) the template my.cnf and cluster.cnf that you wish to run on the node
  • Through a folder, sync/replicated to each node (nfs/gluster/ocfs/etc) keeps a heartbeat of nodes that are UP and running with the heartbeat.

Benefits:

Its able to keep up-to-date the cluster ips of a galera cluster.

It runs supervisor for both heartbeat and mysql daemon

Scenario:

Big cluster, docker, many containers, many slaves/donors that come up & down on-demand.

How you keep the cluster.cnf updated ? Could come with thousand of ideas, but i think this keeps up by itself and its quite simple to extend.

Contributions / Forks are welcome :)

Tag summary

Content type

Image

Digest

Size

176.3 MB

Last updated

over 10 years ago

docker pull fblgit/db-slave