Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
web
Commits
f9b3c09b
Commit
f9b3c09b
authored
1 year ago
by
Alberto Colla
Browse files
Options
Downloads
Patches
Plain Diff
Update file percona_manual_sync.rst
parent
9e2e7ba8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/support/kb/cloud/percona_manual_sync.rst
+9
-3
9 additions, 3 deletions
web/support/kb/cloud/percona_manual_sync.rst
with
9 additions
and
3 deletions
web/support/kb/cloud/percona_manual_sync.rst
+
9
−
3
View file @
f9b3c09b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment