InnoDB cluster in a production environment

In a production environment, there are usually separate instances or virtual machines in a connected IPV4 environment where Group Replication is configured among the servers. Before we jump into using AdminAPI to configure InnoDB cluster ourselves, however, we first need to set up the necessary components of MySQL.

Let's assume that we want the minimum cluster requirements in InnoDB, which is at least three nodes. To configure and manage the cluster, we need to install MySQL Shell on one of the boxes that have access to all three MySQL instances. We also need to configure the MySQL Router component to load-balance data requests. As it is advised that we install Router with the application server, ...

Get Advanced MySQL 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.