I have an issue to add instance to MySQL InnoDB Cluster using MySQL Shell. Here are the steps that I have done:
- Login to one DB-01 node
- Run command: mysqlsh
- cluster = dba.createCluster('cluster-name');
- Checking the cluster status: cluster.status(). Here is everything ok. I have one instance in the cluster.
- Getting an error.
MySQL log from DB-02 node contains the following errors:
[Repl] Plugin group_replication reported: '[GCS] Error connecting to all peers. Member join failed. Local port: 33061' 2020-12-26T14:40:29.234106Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] The member was unable to join the group. Local port: 33061'
It's same when I try to add DB-03 node into cluster. All servers are in the same VLAN and have been configured using mysql shell (there is same user and pass for all nodes). IP tables service is not enabled and SELinux is disabled.
When I tried telnet from DB-02 to DB-01 on port 33061, it's opened but when I run telnet from DB-01 to DB-02 then connection is refused.
Does anyone have an idea how to fix this issue?