Merge lp:~hrvojem/percona-xtradb-cluster/bug1264394-5.5 into lp:percona-xtradb-cluster/5.5
- bug1264394-5.5
- Merge into trunk-25
Proposed by
Hrvoje Matijakovic
Status: | Merged |
---|---|
Approved by: | Raghavendra D Prabhu |
Approved revision: | no longer in the source branch. |
Merged at revision: | 631 |
Proposed branch: | lp:~hrvojem/percona-xtradb-cluster/bug1264394-5.5 |
Merge into: | lp:percona-xtradb-cluster/5.5 |
Diff against target: |
404 lines (+60/-124) 7 files modified
doc-pxc/source/howtos/3nodesec2.rst (+53/-53) doc-pxc/source/howtos/cenots_howto.rst (+0/-9) doc-pxc/source/howtos/kewpietests.rst (+0/-35) doc-pxc/source/howtos/singlebox.rst (+7/-15) doc-pxc/source/howtos/ubuntu_howto.rst (+0/-9) doc-pxc/source/howtos/virt_sandbox.rst (+0/-1) doc-pxc/source/installation.rst (+0/-2) |
To merge this branch: | bzr merge lp:~hrvojem/percona-xtradb-cluster/bug1264394-5.5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raghavendra D Prabhu (community) | Needs Fixing | ||
Review via email: mp+201778@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote : | # |
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote : | # |
Needs fixing as per previous comment.
review:
Needs Fixing
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'doc-pxc/source/howtos/3nodesec2.rst' |
2 | --- doc-pxc/source/howtos/3nodesec2.rst 2013-12-30 17:01:54 +0000 |
3 | +++ doc-pxc/source/howtos/3nodesec2.rst 2014-02-06 09:58:46 +0000 |
4 | @@ -35,8 +35,6 @@ |
5 | |
6 | On the first node (assume IP 10.93.46.58): :: |
7 | |
8 | - [mysqld_safe] |
9 | - wsrep_urls=gcomm://10.93.46.58:4567,gcomm://10.93.46.59:4567,gcomm://10.93.46.60:4567,gcomm:// |
10 | |
11 | [mysqld] |
12 | datadir=/mnt/data |
13 | @@ -45,24 +43,22 @@ |
14 | binlog_format=ROW |
15 | |
16 | wsrep_provider=/usr/lib64/libgalera_smm.so |
17 | + wsrep_cluster_address=gcomm://10.93.46.58,10.93.46.59,10.93.46.60 |
18 | |
19 | wsrep_slave_threads=2 |
20 | wsrep_cluster_name=trimethylxanthine |
21 | wsrep_sst_method=rsync |
22 | wsrep_node_name=node1 |
23 | |
24 | - innodb_locks_unsafe_for_binlog=1 |
25 | innodb_autoinc_lock_mode=2 |
26 | |
27 | On the second node (assume IP 10.93.46.59): :: |
28 | |
29 | - [mysqld_safe] |
30 | - wsrep_urls=gcomm://10.93.46.58:4567,gcomm://10.93.46.59:4567,gcomm://10.93.46.60:4567,gcomm:// |
31 | - |
32 | [mysqld] |
33 | datadir=/mnt/data |
34 | user=mysql |
35 | |
36 | + wsrep_cluster_address=gcomm://10.93.46.58,10.93.46.59,10.93.46.60 |
37 | binlog_format=ROW |
38 | |
39 | wsrep_provider=/usr/lib64/libgalera_smm.so |
40 | @@ -72,70 +68,74 @@ |
41 | wsrep_sst_method=rsync |
42 | wsrep_node_name=node2 |
43 | |
44 | - innodb_locks_unsafe_for_binlog=1 |
45 | innodb_autoinc_lock_mode=2 |
46 | |
47 | -On the third (and following nodes) config is similar, with the following change: :: |
48 | +On the third (and following nodes) configuration is similar, with the following change: :: |
49 | |
50 | wsrep_node_name=node3 |
51 | |
52 | -In this example variable :variable:`wsrep_urls` is being used instead of :variable:`wsrep_cluster_address`. With this configuration, node will first try to reach a cluster on `10.93.46.58:4567` if there is no cluster node, then it will try on `10.93.46.59:4567` and then `10.93.46.60:4567`. If no nodes are up, it will start a new cluster. Variable :variable:`wsrep_urls` goes into the [mysql_safe] section so it's important that the mysql server instance is started with the `/bin/mysql_safe` and not `bin/mysqld`. |
53 | - |
54 | -6. Start mysqld_safe |
55 | +6. Start the |Percona XtraDB Cluster| |
56 | |
57 | On the first node: :: |
58 | |
59 | - mysqld_safe |
60 | + [root@node1 ~]# /etc/init.d/mysql bootstrap-pxc |
61 | |
62 | You should be able to see in console (or in error-log file): :: |
63 | |
64 | - 111216 0:16:42 [Note] /usr/sbin/mysqld: ready for connections. |
65 | - Version: '5.5.17' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), Release alpha22.1, Revision 3673 wsrep_22.3.r3673 |
66 | - 111216 0:16:42 [Note] WSREP: Assign initial position for certification: 0, protocol version: 1 |
67 | - 111216 0:16:42 [Note] WSREP: Synchronized with group, ready for connections |
68 | + 140113 12:23:43 [Note] /usr/sbin/mysqld: ready for connections. |
69 | + Version: '5.5.34-55' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), wsrep_25.9.r3928 |
70 | |
71 | On the second (and following nodes): :: |
72 | |
73 | - mysqld_safe |
74 | + [root@node2 ~]# /etc/init.d/mysql start |
75 | |
76 | You should be able to see in console (or in error-log file): :: |
77 | |
78 | - 111216 0:21:39 [Note] WSREP: Flow-control interval: [12, 23] |
79 | - 111216 0:21:39 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 0) |
80 | - 111216 0:21:39 [Note] WSREP: New cluster view: global state: f912d2eb-27a2-11e1-0800-f34c520a3d4b:0, view# 2: Primary, number of nodes: 2, my index: 1, protocol version 1 |
81 | - 111216 0:21:39 [Warning] WSREP: Gap in state sequence. Need state transfer. |
82 | - 111216 0:21:41 [Note] WSREP: Running: 'wsrep_sst_rsync 'joiner' '10.93.46.60' '' '/mnt/data/' '/etc/my.cnf' '1694' 2>sst.err' |
83 | - 111216 0:21:41 [Note] WSREP: Prepared SST request: rsync|10.93.46.60:4444/rsync_sst |
84 | - 111216 0:21:41 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. |
85 | - 111216 0:21:41 [Note] WSREP: Assign initial position for certification: 0, protocol version: 1 |
86 | - 111216 0:21:41 [Note] WSREP: prepared IST receiver, listening in: tcp://10.93.46.60:4568 |
87 | - 111216 0:21:41 [Note] WSREP: Node 1 (node2) requested state transfer from '*any*'. Selected 0 (node1)(SYNCED) as donor. |
88 | - 111216 0:21:41 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 0) |
89 | - 111216 0:21:41 [Note] WSREP: Requesting state transfer: success, donor: 0 |
90 | - 111216 0:21:42 [Note] WSREP: 0 (node1): State transfer to 1 (node2) complete. |
91 | - 111216 0:21:42 [Note] WSREP: Member 0 (node1) synced with group. |
92 | - 111216 0:21:42 [Note] WSREP: SST complete, seqno: 0 |
93 | - 111216 0:21:42 [Note] Plugin 'FEDERATED' is disabled. |
94 | - 111216 0:21:42 InnoDB: The InnoDB memory heap is disabled |
95 | - 111216 0:21:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins |
96 | - 111216 0:21:42 InnoDB: Compressed tables use zlib 1.2.3 |
97 | - 111216 0:21:42 InnoDB: Using Linux native AIO |
98 | - 111216 0:21:42 InnoDB: Initializing buffer pool, size = 128.0M |
99 | - 111216 0:21:42 InnoDB: Completed initialization of buffer pool |
100 | - 111216 0:21:42 InnoDB: highest supported file format is Barracuda. |
101 | - 111216 0:21:42 InnoDB: Waiting for the background threads to start |
102 | - 111216 0:21:43 Percona XtraDB (http://www.percona.com) 1.1.8-20.1 started; log sequence number 1597945 |
103 | - 111216 0:21:43 [Note] Event Scheduler: Loaded 0 events |
104 | - 111216 0:21:43 [Note] WSREP: Signalling provider to continue. |
105 | - 111216 0:21:43 [Note] WSREP: Received SST: f912d2eb-27a2-11e1-0800-f34c520a3d4b:0 |
106 | - 111216 0:21:43 [Note] WSREP: SST finished: f912d2eb-27a2-11e1-0800-f34c520a3d4b:0 |
107 | - 111216 0:21:43 [Note] /usr/sbin/mysqld: ready for connections. |
108 | - Version: '5.5.17' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), Release alpha22.1, Revision 3673 wsrep_22.3.r3673 |
109 | - 111216 0:21:43 [Note] WSREP: 1 (node2): State transfer from 0 (node1) complete. |
110 | - 111216 0:21:43 [Note] WSREP: Shifting JOINER -> JOINED (TO: 0) |
111 | - 111216 0:21:43 [Note] WSREP: Member 1 (node2) synced with group. |
112 | - 111216 0:21:43 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0) |
113 | - 111216 0:21:43 [Note] WSREP: Synchronized with group, ready for connections |
114 | + 140113 17:29:34 [Note] WSREP: New cluster view: global state: fb031d6e-7c4c-11e3-bf3a-ae73fcffc079:0, view# 8: Primary, number of nodes: 2, my index: 1, protocol version 2 |
115 | + 140113 17:29:34 [Warning] WSREP: Gap in state sequence. Need state transfer. |
116 | + 140113 17:29:36 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '10.93.46.59' --auth '' --datadir '/mnt/data/' --defaults-file '/etc/my.cnf' --parent '29627'' |
117 | + cat: /var/lib/mysql//rsync_sst.pid: No such file or directory |
118 | + 140113 17:29:36 [Note] WSREP: Prepared SST request: rsync|10.93.46.59:4444/rsync_sst |
119 | + 140113 17:29:36 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. |
120 | + 140113 17:29:36 [Note] WSREP: Assign initial position for certification: 0, protocol version: 2 |
121 | + 140113 17:29:36 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (fb031d6e-7c4c-11e3-bf3a-ae73fcffc079): 1 (Operation not permitted) |
122 | + at galera/src/replicator_str.cpp:prepare_for_IST():445. IST will be unavailable. |
123 | + 140113 17:29:36 [Note] WSREP: Node 1 (node1) requested state transfer from '*any*'. Selected 0 (node1)(SYNCED) as donor. |
124 | + 140113 17:29:36 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 0) |
125 | + 140113 17:29:36 [Note] WSREP: Requesting state transfer: success, donor: 0 |
126 | + 140113 17:29:39 [Note] WSREP: 0 (node1): State transfer to 1 (node1) complete. |
127 | + 140113 17:29:39 [Note] WSREP: Member 0 (node1) synced with group. |
128 | + WSREP_SST: [INFO] Joiner cleanup. (20140113 17:29:39.792) |
129 | + WSREP_SST: [INFO] Joiner cleanup done. (20140113 17:29:40.302) |
130 | + 140113 17:29:40 [Note] WSREP: SST complete, seqno: 0 |
131 | + 140113 17:29:40 [Note] Plugin 'FEDERATED' is disabled. |
132 | + 140113 17:29:40 InnoDB: The InnoDB memory heap is disabled |
133 | + 140113 17:29:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins |
134 | + 140113 17:29:40 InnoDB: Compressed tables use zlib 1.2.3 |
135 | + 140113 17:29:40 InnoDB: Using Linux native AIO |
136 | + 140113 17:29:40 InnoDB: Initializing buffer pool, size = 128.0M |
137 | + 140113 17:29:40 InnoDB: Completed initialization of buffer pool |
138 | + 140113 17:29:40 InnoDB: highest supported file format is Barracuda. |
139 | + InnoDB: Log scan progressed past the checkpoint lsn 1598437 |
140 | + 140113 17:29:40 InnoDB: Database was not shut down normally! |
141 | + InnoDB: Starting crash recovery. |
142 | + InnoDB: Reading tablespace information from the .ibd files... |
143 | + InnoDB: Restoring possible half-written data pages from the doublewrite |
144 | + InnoDB: buffer... |
145 | + InnoDB: Doing recovery: scanned up to log sequence number 1598607 |
146 | + 140113 17:29:40 InnoDB: Waiting for the background threads to start |
147 | + 140113 17:29:41 Percona XtraDB (http://www.percona.com) 5.5.34-rel32.0 started; log sequence number 1598607 |
148 | + 140113 17:29:41 [Note] Event Scheduler: Loaded 0 events |
149 | + 140113 17:29:41 [Note] WSREP: Signalling provider to continue. |
150 | + 140113 17:29:41 [Note] WSREP: SST received: fb031d6e-7c4c-11e3-bf3a-ae73fcffc079:0 |
151 | + 140113 17:29:41 [Note] /usr/sbin/mysqld: ready for connections. |
152 | + Version: '5.5.34-55' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), wsrep_25.9.r3928 |
153 | + 140113 17:29:41 [Note] WSREP: 1 (node1): State transfer from 0 (node1) complete. |
154 | + 140113 17:29:41 [Note] WSREP: Shifting JOINER -> JOINED (TO: 0) |
155 | + 140113 17:29:41 [Note] WSREP: Member 1 (node1) synced with group. |
156 | + 140113 17:29:41 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0) |
157 | + 140113 17:29:41 [Note] WSREP: Synchronized with group, ready for connections |
158 | + 140113 17:29:41 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. |
159 | |
160 | When all nodes are in SYNCED stage your cluster is ready! |
161 | |
162 | |
163 | === modified file 'doc-pxc/source/howtos/cenots_howto.rst' |
164 | --- doc-pxc/source/howtos/cenots_howto.rst 2013-12-30 17:01:54 +0000 |
165 | +++ doc-pxc/source/howtos/cenots_howto.rst 2014-02-06 09:58:46 +0000 |
166 | @@ -65,9 +65,6 @@ |
167 | # MyISAM storage engine has only experimental support |
168 | default_storage_engine=InnoDB |
169 | |
170 | - # This is a recommended tuning variable for performance |
171 | - innodb_locks_unsafe_for_binlog=1 |
172 | - |
173 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
174 | innodb_autoinc_lock_mode=2 |
175 | |
176 | @@ -152,9 +149,6 @@ |
177 | # MyISAM storage engine has only experimental support |
178 | default_storage_engine=InnoDB |
179 | |
180 | - # This is a recommended tuning variable for performance |
181 | - innodb_locks_unsafe_for_binlog=1 |
182 | - |
183 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
184 | innodb_autoinc_lock_mode=2 |
185 | |
186 | @@ -216,9 +210,6 @@ |
187 | # MyISAM storage engine has only experimental support |
188 | default_storage_engine=InnoDB |
189 | |
190 | - # This is a recommended tuning variable for performance |
191 | - innodb_locks_unsafe_for_binlog=1 |
192 | - |
193 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
194 | innodb_autoinc_lock_mode=2 |
195 | |
196 | |
197 | === removed file 'doc-pxc/source/howtos/kewpietests.rst' |
198 | --- doc-pxc/source/howtos/kewpietests.rst 2012-06-27 10:05:05 +0000 |
199 | +++ doc-pxc/source/howtos/kewpietests.rst 1970-01-01 00:00:00 +0000 |
200 | @@ -1,35 +0,0 @@ |
201 | -=========================== |
202 | -How to Execute Kewpie Tests |
203 | -=========================== |
204 | - |
205 | -To use kewpie for testing it's recommended to use `this MP <https://code.launchpad.net/~patrick-crews/percona-xtradb-cluster/qp-integrate/+merge/93648>`_. As it removes dbqp and integrates kewpie (and cuts size down to 25MB from 400+). |
206 | -To execute tests: |
207 | - |
208 | -.. code-block:: bash |
209 | - |
210 | - cd kewpie ; ./kewpie.py [--force ] [--libeatmydata] [--wsrep-provider-path=...] |
211 | - |
212 | -The defaults are to run the cluster_basic and cluster_randgen suites against a 3 node cluster. Cluster_basic is used for small atomic tests like ADD/DROP single/multiple columns on a table and ensuring the change is replicated. cluster_randgen is used for high stress transactional loads. There are single and multi-threaded variants. The load is a mix of INSERT/UPDATE/DELETE/SELECT statements. This includes both regular transactions, single queries, ROLLBACK's and SAVEPOINTs, and a mix of good and bad SQL statements. |
213 | - |
214 | -To view all options, one may look at "./kewpie.py --help". Basic documentation is also available as sphinx docs in kewpie/docs folder. Here are the some of the most used options: |
215 | - |
216 | -.. option:: --force |
217 | - |
218 | - Run all tests despite failures (default is to stop test execution on first failure) |
219 | - |
220 | -.. option:: --libeatmydata |
221 | - |
222 | - Use libeatmydata if installed. This can greatly speed up testing in many cases. Can be used in conjunction with: |
223 | - |
224 | -.. option:: --libeatmydata-path to specify where the library is located. |
225 | - |
226 | -.. option:: --wsrep-provider-path |
227 | - |
228 | - By default, we expect / look for it in /usr/lib/galera/libgalera_smm.so (where it ends up via 'make install'...at least on Ubuntu). If one has an alternate library/location, specify it with this option. |
229 | - |
230 | -Any additional suites may be run this way: |
231 | - |
232 | -.. code-block:: bash |
233 | - |
234 | - ./kewpie.py [options] --suite=any/suitedir/from/kewpie/percona_tests |
235 | - ./kewpie.py --suite=crashme |
236 | |
237 | === modified file 'doc-pxc/source/howtos/singlebox.rst' |
238 | --- doc-pxc/source/howtos/singlebox.rst 2012-07-30 09:26:20 +0000 |
239 | +++ doc-pxc/source/howtos/singlebox.rst 2014-02-06 09:58:46 +0000 |
240 | @@ -1,3 +1,6 @@ |
241 | +.. _single_box: |
242 | + |
243 | +========================================== |
244 | How to setup 3 node cluster on single box |
245 | ========================================== |
246 | |
247 | @@ -23,7 +26,7 @@ |
248 | |
249 | Then we should be able to start initial node as (from directory /usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64): :: |
250 | |
251 | - bin/mysqld_safe --defaults-file=/etc/my.4000.cnf |
252 | + bin/mysqld_safe --defaults-file=/etc/my.4000.cnf --wsrep-new-cluster |
253 | |
254 | Following output will let out know that node was started successfully: :: |
255 | |
256 | @@ -61,15 +64,10 @@ |
257 | |
258 | mysql -h127.0.0.1 -P5000 -e "CREATE DATABASE hello_peter" |
259 | |
260 | -In this example variable :variable:`wsrep_urls` is being used instead of :variable:`wsrep_cluster_address`. With this configuration, node will first try to reach a cluster on port 4030, if there is no cluster node, then it will try on port 5030 and then 6030. If no nodes are up, it will start a new cluster. Variable :variable:`wsrep_urls` goes into the [mysql_safe] section so it's important that the mysql server instance is started with the `/bin/mysql_safe` and not `bin/mysqld`. |
261 | - |
262 | Configuration files (/etc/my.4000.cnf): :: |
263 | |
264 | /etc/my.4000.cnf |
265 | |
266 | - [mysqld_safe] |
267 | - wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm:// |
268 | - |
269 | [mysqld] |
270 | port = 4000 |
271 | socket=/tmp/mysql.4000.sock |
272 | @@ -78,6 +76,7 @@ |
273 | user=mysql |
274 | log_error=error.log |
275 | binlog_format=ROW |
276 | + wsrep_cluster_address='gcomm://192.168.2.21:5030,192.168.2.21:6030' |
277 | wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so |
278 | wsrep_sst_receive_address=192.168.2.21:4020 |
279 | wsrep_node_incoming_address=192.168.2.21 |
280 | @@ -86,7 +85,6 @@ |
281 | wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:4030;" |
282 | wsrep_sst_method=rsync |
283 | wsrep_node_name=node4000 |
284 | - innodb_locks_unsafe_for_binlog=1 |
285 | innodb_autoinc_lock_mode=2 |
286 | |
287 | |
288 | @@ -94,9 +92,6 @@ |
289 | |
290 | /etc/my.5000.cnf |
291 | |
292 | - [mysqld_safe] |
293 | - wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm:// |
294 | - |
295 | [mysqld] |
296 | port = 5000 |
297 | socket=/tmp/mysql.5000.sock |
298 | @@ -105,6 +100,7 @@ |
299 | user=mysql |
300 | log_error=error.log |
301 | binlog_format=ROW |
302 | + wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:6030' |
303 | wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so |
304 | wsrep_sst_receive_address=192.168.2.21:5020 |
305 | wsrep_node_incoming_address=192.168.2.21 |
306 | @@ -113,16 +109,12 @@ |
307 | wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:5030;" |
308 | wsrep_sst_method=rsync |
309 | wsrep_node_name=node5000 |
310 | - innodb_locks_unsafe_for_binlog=1 |
311 | innodb_autoinc_lock_mode=2 |
312 | |
313 | Configuration files (/etc/my.6000.cnf): :: |
314 | |
315 | /etc/my.6000.cnf |
316 | |
317 | - [mysqld_safe] |
318 | - wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm:// |
319 | - |
320 | [mysqld] |
321 | port = 6000 |
322 | socket=/tmp/mysql.6000.sock |
323 | @@ -131,6 +123,7 @@ |
324 | user=mysql |
325 | log_error=error.log |
326 | binlog_format=ROW |
327 | + wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:5030' |
328 | wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so |
329 | wsrep_sst_receive_address=192.168.2.21:6020 |
330 | wsrep_node_incoming_address=192.168.2.21 |
331 | @@ -139,5 +132,4 @@ |
332 | wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:6030;" |
333 | wsrep_sst_method=rsync |
334 | wsrep_node_name=node6000 |
335 | - innodb_locks_unsafe_for_binlog=1 |
336 | innodb_autoinc_lock_mode=2 |
337 | |
338 | === modified file 'doc-pxc/source/howtos/ubuntu_howto.rst' |
339 | --- doc-pxc/source/howtos/ubuntu_howto.rst 2013-12-30 17:01:54 +0000 |
340 | +++ doc-pxc/source/howtos/ubuntu_howto.rst 2014-02-06 09:58:46 +0000 |
341 | @@ -68,9 +68,6 @@ |
342 | # MyISAM storage engine has only experimental support |
343 | default_storage_engine=InnoDB |
344 | |
345 | - # This is a recommended tuning variable for performance |
346 | - innodb_locks_unsafe_for_binlog=1 |
347 | - |
348 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
349 | innodb_autoinc_lock_mode=2 |
350 | |
351 | @@ -149,9 +146,6 @@ |
352 | # MyISAM storage engine has only experimental support |
353 | default_storage_engine=InnoDB |
354 | |
355 | - # This is a recommended tuning variable for performance |
356 | - innodb_locks_unsafe_for_binlog=1 |
357 | - |
358 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
359 | innodb_autoinc_lock_mode=2 |
360 | |
361 | @@ -213,9 +207,6 @@ |
362 | # MyISAM storage engine has only experimental support |
363 | default_storage_engine=InnoDB |
364 | |
365 | - # This is a recommended tuning variable for performance |
366 | - innodb_locks_unsafe_for_binlog=1 |
367 | - |
368 | # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera |
369 | innodb_autoinc_lock_mode=2 |
370 | |
371 | |
372 | === modified file 'doc-pxc/source/howtos/virt_sandbox.rst' |
373 | --- doc-pxc/source/howtos/virt_sandbox.rst 2012-06-27 10:05:05 +0000 |
374 | +++ doc-pxc/source/howtos/virt_sandbox.rst 2014-02-06 09:58:46 +0000 |
375 | @@ -34,7 +34,6 @@ |
376 | |
377 | log_slave_updates |
378 | |
379 | - innodb_locks_unsafe_for_binlog=1 |
380 | innodb_autoinc_lock_mode=2 |
381 | innodb_buffer_pool_size=400M |
382 | innodb_log_file_size=64M |
383 | |
384 | === modified file 'doc-pxc/source/installation.rst' |
385 | --- doc-pxc/source/installation.rst 2013-12-30 17:01:54 +0000 |
386 | +++ doc-pxc/source/installation.rst 2014-02-06 09:58:46 +0000 |
387 | @@ -64,7 +64,6 @@ |
388 | |
389 | binlog_format=ROW - In order for Galera to work correctly binlog format should be ROW |
390 | default_storage_engine=InnoDB - MyISAM storage engine has only experimental support |
391 | - innodb_locks_unsafe_for_binlog=1 - This is a recommended tuning variable for performance |
392 | innodb_autoinc_lock_mode=2 - This changes how InnoDB autoincrement locks are managed |
393 | |
394 | Additional parameters to specify: :: |
395 | @@ -81,7 +80,6 @@ |
396 | wsrep_sst_method=rsync |
397 | binlog_format=ROW |
398 | default_storage_engine=InnoDB |
399 | - innodb_locks_unsafe_for_binlog=1 |
400 | innodb_autoinc_lock_mode=2 |
401 | |
402 | Detailed list of variables can be found in :ref:`wsrep_system_index` and :ref:`wsrep_status_index`. |
403 | |
404 | === removed file 'doc-pxc/source/percona-theme/built' |
All fine except:
wsrep_ cluster_ address= gcomm:/ /192.168. 2.21
parts in singlebox.rst
it should be like:
wsrep_cluster_ address= 'gcomm: //127.0. 0.1:15010, 127.0.0. 1:16010' options = "gmcast. listen_ addr=tcp: //127.0. 0.1:14010"
wsrep_provider_
(ie. cluster address of each should contain listen_addr of other nodes).