As mentioned earlier, we will use Docker containers as read replicas. To ensure that our data gets replicated, we will use local folders for the logs and data folders of each replica. It's not mandatory but will help us ensure that it works.
I will name the replicas a, b, c, d, e, and f. In my home folder, I will create a dedicated folder ReadReplicas and a subtree for each host.
On a Linux box, the shell commands are as follows:
cd ~mkdir ReadReplicas# Repeat lines below for each hostmkdir ReadReplicas/a/mkdir ReadReplicas/a/logsmkdir ReadReplicas/a/data
There are no plugins and no conf folders. So, to ensure that the configuration we want is used, some arguments will be needed. These arguments have to be translated into ...