Skip to content
Snippets Groups Projects
Commit f9b3c09b authored by Alberto Colla's avatar Alberto Colla
Browse files

Update file percona_manual_sync.rst

parent 9e2e7ba8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment