Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Docker Images for Percona Server for MySQL Group Replication

DZone's Guide to

Docker Images for Percona Server for MySQL Group Replication

Since the new Percona Server for MySQL is very new, it requires some fairly complicated steps to set up and get running.

· Performance Zone ·
Free Resource

xMatters delivers integration-driven collaboration that relays data between systems, while engaging the right people to proactively resolve issues. Read the Monitoring in a Connected Enterprise whitepaper and learn about 3 tools for resolving incidents quickly.

Group ReplicationIn this short blog post, we’ll point to a new Docker image for Percona Server for MySQL Group Replication.

Our most recent release of Percona Server for MySQL (Percona Server for MySQL 5.7.17) comes with Group Replication plugins. Unfortunately, since this technology is very new, it requires some fairly complicated steps to set up and get running. To help with that process, I’ve prepared Docker images that simplify its setup procedures.

You can find the images here.

To start the first node (bootstrap the group):

docker run -d -p 3306 --net=clusternet -e MYSQL_ROOT_PASSWORD=passw0rd -e CLUSTER_NAME=cluster1 perconalab/pgr-57

To add nodes into the group after:

docker run -d -p 3306 --net=clusternet -e MYSQL_ROOT_PASSWORD=passw0rd -e CLUSTER_NAME=cluster1 -e CLUSTER_JOIN=CONTAINER_ID_FROM_THE_FIRST_STEP perconalab/pgr-57

You can also get a full script that starts N number of nodes.

3 Steps to Monitoring in a Connected Enterprise. Check out xMatters.

Topics:
percona server ,mysql ,docker ,performance ,group replication

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}