Skip to content
GitLab
Explore
Sign in
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
ff683b7a
Commit
ff683b7a
authored
2 years ago
by
Alberto Colla
Browse files
Options
Downloads
Patches
Plain Diff
Update file percona_manual_sync.rst
parent
bad88d5d
No related branches found
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
+8
-4
8 additions, 4 deletions
web/support/kb/cloud/percona_manual_sync.rst
with
8 additions
and
4 deletions
web/support/kb/cloud/percona_manual_sync.rst
+
8
−
4
View file @
ff683b7a
...
...
@@ -36,6 +36,12 @@ stop ``juju agents`` on all units::
connect to one of the servers, and force ``mysql`` restart as master.
----------------------------------------------------------------------
.. note:: You should perform the following operations on the last-acting master,
otherwise ``mysql`` will fail to start. If you are unable to determine
the last-acting master, edit file ``/var/lib/percona-xtradb-cluster/grastate.dat``
and set ``safe_to_bootstrap: 1``.
- Edit file /etc/mysql/percona-xtradb-cluster.conf.d/mysqld.cnf, you should find the line::
$ wsrep_cluster_address=gcomm://<ip_1>,<ip_2>
...
...
@@ -58,10 +64,6 @@ where <ip_1>, <ip_2> are the IP addresses of the other members of the cluster.
$ sudo service mysql start
.. note:: You should perform the above operation on the last-acting master,
otherwise ``mysql`` will fail to start. If you are unable to determine
the last-acting master, edit file ``/var/lib/percona-xtradb-cluster/grastate.dat``
and set ``safe_to_bootstrap: 1``.
- It may happen that mysql server still does not start because of failed transactions. In case try the following procedure.
...
...
@@ -76,6 +78,8 @@ Looking in the log file ``/var/log/mysql/error.log`` you may find messages like:
This should fix the failed transactions.
start ``mysql`` on the remaining nodes, as usual
------------------------------------------------
...
...
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