diff --git a/web/support/kb/cloud/percona_manual_sync.rst b/web/support/kb/cloud/percona_manual_sync.rst index 2faaef17dc5d002515d6ee547c0ce5ec9cf8daed..38aea3bae50b0ba97a985af2383f5ec6182e5ac4 100644 --- a/web/support/kb/cloud/percona_manual_sync.rst +++ b/web/support/kb/cloud/percona_manual_sync.rst @@ -44,13 +44,13 @@ connect to one of the servers, and force ``mysql`` restart as master. - Edit file /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf, you should find the line:: - $ wsrep_cluster_address=gcomm://<ip_1>,<ip_2> + wsrep_cluster_address=gcomm://<ip_1>,<ip_2> where <ip_1>, <ip_2> are the IP addresses of the other members of the cluster. - Comment this line, copy/paste then remove the IP addresses, leaving:: - $ wsrep_cluster_address=gcomm:// + wsrep_cluster_address=gcomm:// .. comment @@ -88,7 +88,13 @@ start ``mysql`` on the remaining nodes, as usual go back to the first node, stop ``mysql``, revert the change to ``wsrep_cluster_address`` and restart ``mysql`` ---------------------------------------------------------------------------------------------------------------- - $ sudo mv /tmp/mysql.cnf /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf +On the first node edit the file ``/etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf`` and uncomment the original line: + + wsrep_cluster_address=gcomm://<ip_1>,<ip_2> + +Then restart mysql:: + + $ sudo service mysql restart start ``juju`` agents on all the units