MySQL InnoDB Cluster consists of 3 components:
- MySQL Group Replication (a group of database server which replicates to each other with fault tolerance).
- MySQL Router (query router to the healthy database nodes)
- MySQL Shell (helper, client, configuration tool)
In the first part of this walkthrough, we are going to deploy a MySQL InnoDB Cluster. There are a number of hands-on tutorial available online but this walkthrough covers all the necessary steps/commands to install and run the cluster in one place. We will be covering monitoring, management and scaling operations as well as some gotchas when dealing with MySQL InnoDB Cluster in the second part of this blog post.
The following diagram illustrates our post-deployment architecture:
We are going to deploy a total of 4 nodes; A three-node MySQL Group Replication and one MySQL router node co-located within the application …
[Read more]