You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configure-cluster-rhel.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ to ports 3306, 4444, 4567 and 4568.
32
32
33
33
* SELinux on all nodes is disabled.
34
34
35
-
!!! admonition "Different from previous versions"
35
+
Percona XtraDB Cluster {{vers}} creates the internal MySQL account [`mysql.pxc.internal.session`](glossary.md#mysqlpxcinternalsession), which the SST process uses to run the SQL needed for node synchronization.
36
36
37
-
The variable `wsrep_sst_auth` has been removed. Percona XtraDB Cluster {{vers}} automatically creates the system user [`mysql.pxc.internal.session`](glossary.md#mysqlpxcinternalsession). During [SST](glossary.md#sst), the user `mysql.pxc.sst.user` and the role [`mysql.pxc.sst.role`](glossary.md#mysqlpxcsstrole) are created on the donor node.
37
+
During [SST](glossary.md#sst), that account creates the user `mysql.pxc.sst.user`on the donor node and assigns it the role [`mysql.pxc.sst.role`](glossary.md#mysqlpxcsstrole).
Copy file name to clipboardExpand all lines: docs/faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,7 @@ To be precise, the commits are “virtually” synchronous, which means that the
159
159
160
160
## Does Percona XtraDB Cluster work with regular MySQL replication?
161
161
162
-
Yes. On the node you are going to use as source, enable binary logging and replica updates: set `log_bin` and `log_replica_updates` (or the deprecated `log_slave_updates`) in your configuration.
162
+
Yes. On the node you are going to use as source, set a unique non-zero `server_id`, enable binary logging (`log_bin`), and enable `log_replica_updates` (or the deprecated `log_slave_updates`) so cluster-applied writes are recorded in the binary log for downstream replicas.
To avoid entering the options each time you start `garbd`, edit the options in the configuration file. To configure *Galera Arbitrator* on *Ubuntu/Debian*, edit the `/etc/default/garb` file. On RedHat or derivative distributions, the configuration can be found in `/etc/sysconfig/garb` file.
57
57
58
-
The configuration file should look like this after the installation and before you have added your parameters:
58
+
After installation, before you add your cluster settings, **`/etc/default/garb`** (Debian/Ubuntu) from **Percona XtraDB Cluster** {{vers}} packages matches the following template:
59
59
60
60
```{.text .no-copy}
61
-
Copyright (C) 2013-2015 Codership Oy
62
-
This config file is to be sourced by garb service script.
63
-
REMOVE THIS AFTER CONFIGURATION
64
-
A comma-separated list of node addresses (address[:port]) in the cluster
65
-
GALERA_NODES=""
66
-
Galera cluster name, should be the same as on the rest of the nodes.
# see http://galeracluster.com/documentation-webpages/galeraparameters.html
74
+
# GALERA_OPTIONS=""
75
+
76
+
# Log file for garbd. Optional, by default logs to syslog
77
+
# LOG_FILE=""
74
78
```
75
79
76
80
Add the parameter information about the cluster. For this document, we use the cluster information from [Configuring Percona XtraDB Cluster on Ubuntu](configure-cluster-ubuntu.md#configure-a-cluster-on-debian-or-ubuntu).
Log file for garbd. Optional, by default logs to syslog
93
-
Deprecated for CentOS7, use journalctl to query the log for garbd
94
97
LOG_FILE="/var/log/garbd.log"
95
98
```
96
99
@@ -99,57 +102,49 @@ You can now start the *Galera Arbitrator* daemon (`garbd`). Run the following co
99
102
=== "On Debian or Ubuntu"
100
103
101
104
```shell
102
-
service garbd start
105
+
systemctl start garb
103
106
```
104
107
105
108
??? example "Expected output"
106
109
107
110
```{.text .no-copy}
108
-
[ ok ] Starting /usr/bin/garbd: :.
109
-
```
110
-
111
-
!!! note
112
-
113
-
On systems that run `systemd` as the default system and service manager, use `systemctl` instead of `service` to invoke the command. Currently, both are supported.
114
-
115
-
```shell
116
-
systemctl start garb
111
+
# No output on success
117
112
```
118
113
119
-
=== "On Red Hat Enterprise Linux or CentOS"
114
+
=== "On Red Hat Enterprise Linux"
120
115
121
116
```shell
122
-
service garb start
117
+
systemctl start garb
123
118
```
124
119
125
120
??? example "Expected output"
126
121
127
122
```{.text .no-copy}
128
-
[ ok ] Starting /usr/bin/garbd: :.
123
+
# No output on success
129
124
```
130
125
131
126
Additionally, you can check the `arbitrator` status by running:
0 commit comments