Adding an external replica node to a cluster, but it keeps failing.
Hello,
I am using ClusterControl v2 to manage a Galera Cluster (MariaDB) deployed in a data center where each node has both external (public) and internal (private) IP addresses.
I am attempting to add a new external asynchronous replication node, with the database hosted in a separate data center. However, after completing the setup, the replication interface intermittently switches between the "Primary" (operational) state
and Replica (Failed) every few seconds...
Upon reviewing the settings on the slave node, I discovered that during the creation process (via the GUI), ClusterControl mistakenly selected the master's internal IP (10.118.0.2
) instead of the external IP. As a result, the replication is failing, as the slave node cannot establish a connection to the master.
I attempted to stop the slave in order to update the MASTER_HOST but
was unsuccessful.
Do you have any suggestions on how to resolve this issue?
Thank you!
George
-
Official comment
Hi,
When you deploy a Galera Cluster in ClusterControl, you have to specify the IP address or hostname for each node:
If you want to change the IP address after deploying it, you must modify the my.cnf configuration file to use the new IP address.
Can you please open a ticket with us here? https://support.severalnines.com
We can send you the instructions to change this there. Thank you.
Sebastian.
Comment actions
Please sign in to leave a comment.
Comments
1 comment