Merge lp:~hrvojem/percona-xtradb-cluster/bug1264394-5.5 into lp:percona-xtradb-cluster/5.5

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
Reviewer Review Type Date Requested Status
Raghavendra D Prabhu (community) Needs Fixing
Review via email: mp+201778@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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'
wsrep_provider_options = "gmcast.listen_addr=tcp://127.0.0.1:14010"

(ie. cluster address of each should contain listen_addr of other nodes).

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
=== modified file 'doc-pxc/source/howtos/3nodesec2.rst'
--- doc-pxc/source/howtos/3nodesec2.rst 2013-12-30 17:01:54 +0000
+++ doc-pxc/source/howtos/3nodesec2.rst 2014-02-06 09:58:46 +0000
@@ -35,8 +35,6 @@
3535
36 On the first node (assume IP 10.93.46.58): ::36 On the first node (assume IP 10.93.46.58): ::
3737
38 [mysqld_safe]
39 wsrep_urls=gcomm://10.93.46.58:4567,gcomm://10.93.46.59:4567,gcomm://10.93.46.60:4567,gcomm://
4038
41 [mysqld]39 [mysqld]
42 datadir=/mnt/data40 datadir=/mnt/data
@@ -45,24 +43,22 @@
45 binlog_format=ROW43 binlog_format=ROW
4644
47 wsrep_provider=/usr/lib64/libgalera_smm.so45 wsrep_provider=/usr/lib64/libgalera_smm.so
46 wsrep_cluster_address=gcomm://10.93.46.58,10.93.46.59,10.93.46.60
4847
49 wsrep_slave_threads=248 wsrep_slave_threads=2
50 wsrep_cluster_name=trimethylxanthine49 wsrep_cluster_name=trimethylxanthine
51 wsrep_sst_method=rsync50 wsrep_sst_method=rsync
52 wsrep_node_name=node151 wsrep_node_name=node1
5352
54 innodb_locks_unsafe_for_binlog=1
55 innodb_autoinc_lock_mode=253 innodb_autoinc_lock_mode=2
5654
57 On the second node (assume IP 10.93.46.59): ::55 On the second node (assume IP 10.93.46.59): ::
5856
59 [mysqld_safe]
60 wsrep_urls=gcomm://10.93.46.58:4567,gcomm://10.93.46.59:4567,gcomm://10.93.46.60:4567,gcomm://
61
62 [mysqld]57 [mysqld]
63 datadir=/mnt/data58 datadir=/mnt/data
64 user=mysql59 user=mysql
6560
61 wsrep_cluster_address=gcomm://10.93.46.58,10.93.46.59,10.93.46.60
66 binlog_format=ROW62 binlog_format=ROW
6763
68 wsrep_provider=/usr/lib64/libgalera_smm.so64 wsrep_provider=/usr/lib64/libgalera_smm.so
@@ -72,70 +68,74 @@
72 wsrep_sst_method=rsync68 wsrep_sst_method=rsync
73 wsrep_node_name=node269 wsrep_node_name=node2
7470
75 innodb_locks_unsafe_for_binlog=1
76 innodb_autoinc_lock_mode=271 innodb_autoinc_lock_mode=2
7772
78On the third (and following nodes) config is similar, with the following change: ::73On the third (and following nodes) configuration is similar, with the following change: ::
7974
80 wsrep_node_name=node375 wsrep_node_name=node3
8176
82In 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`.776. Start the |Percona XtraDB Cluster|
83
846. Start mysqld_safe
8578
86On the first node: ::79On the first node: ::
8780
88 mysqld_safe81 [root@node1 ~]# /etc/init.d/mysql bootstrap-pxc
8982
90You should be able to see in console (or in error-log file): ::83You should be able to see in console (or in error-log file): ::
9184
92 111216 0:16:42 [Note] /usr/sbin/mysqld: ready for connections.85 140113 12:23:43 [Note] /usr/sbin/mysqld: ready for connections.
93 Version: '5.5.17' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), Release alpha22.1, Revision 3673 wsrep_22.3.r367386 Version: '5.5.34-55' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), wsrep_25.9.r3928
94 111216 0:16:42 [Note] WSREP: Assign initial position for certification: 0, protocol version: 1
95 111216 0:16:42 [Note] WSREP: Synchronized with group, ready for connections
9687
97On the second (and following nodes): ::88On the second (and following nodes): ::
9889
99 mysqld_safe90 [root@node2 ~]# /etc/init.d/mysql start
10091
101You should be able to see in console (or in error-log file): ::92You should be able to see in console (or in error-log file): ::
10293
103 111216 0:21:39 [Note] WSREP: Flow-control interval: [12, 23]94 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
104 111216 0:21:39 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 0)95 140113 17:29:34 [Warning] WSREP: Gap in state sequence. Need state transfer.
105 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 196 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''
106 111216 0:21:39 [Warning] WSREP: Gap in state sequence. Need state transfer.97 cat: /var/lib/mysql//rsync_sst.pid: No such file or directory
107 111216 0:21:41 [Note] WSREP: Running: 'wsrep_sst_rsync 'joiner' '10.93.46.60' '' '/mnt/data/' '/etc/my.cnf' '1694' 2>sst.err'98 140113 17:29:36 [Note] WSREP: Prepared SST request: rsync|10.93.46.59:4444/rsync_sst
108 111216 0:21:41 [Note] WSREP: Prepared SST request: rsync|10.93.46.60:4444/rsync_sst99 140113 17:29:36 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
109 111216 0:21:41 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.100 140113 17:29:36 [Note] WSREP: Assign initial position for certification: 0, protocol version: 2
110 111216 0:21:41 [Note] WSREP: Assign initial position for certification: 0, protocol version: 1101 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)
111 111216 0:21:41 [Note] WSREP: prepared IST receiver, listening in: tcp://10.93.46.60:4568102 at galera/src/replicator_str.cpp:prepare_for_IST():445. IST will be unavailable.
112 111216 0:21:41 [Note] WSREP: Node 1 (node2) requested state transfer from '*any*'. Selected 0 (node1)(SYNCED) as donor.103 140113 17:29:36 [Note] WSREP: Node 1 (node1) requested state transfer from '*any*'. Selected 0 (node1)(SYNCED) as donor.
113 111216 0:21:41 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 0)104 140113 17:29:36 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 0)
114 111216 0:21:41 [Note] WSREP: Requesting state transfer: success, donor: 0105 140113 17:29:36 [Note] WSREP: Requesting state transfer: success, donor: 0
115 111216 0:21:42 [Note] WSREP: 0 (node1): State transfer to 1 (node2) complete.106 140113 17:29:39 [Note] WSREP: 0 (node1): State transfer to 1 (node1) complete.
116 111216 0:21:42 [Note] WSREP: Member 0 (node1) synced with group.107 140113 17:29:39 [Note] WSREP: Member 0 (node1) synced with group.
117 111216 0:21:42 [Note] WSREP: SST complete, seqno: 0108 WSREP_SST: [INFO] Joiner cleanup. (20140113 17:29:39.792)
118 111216 0:21:42 [Note] Plugin 'FEDERATED' is disabled.109 WSREP_SST: [INFO] Joiner cleanup done. (20140113 17:29:40.302)
119 111216 0:21:42 InnoDB: The InnoDB memory heap is disabled110 140113 17:29:40 [Note] WSREP: SST complete, seqno: 0
120 111216 0:21:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins111 140113 17:29:40 [Note] Plugin 'FEDERATED' is disabled.
121 111216 0:21:42 InnoDB: Compressed tables use zlib 1.2.3112 140113 17:29:40 InnoDB: The InnoDB memory heap is disabled
122 111216 0:21:42 InnoDB: Using Linux native AIO113 140113 17:29:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
123 111216 0:21:42 InnoDB: Initializing buffer pool, size = 128.0M114 140113 17:29:40 InnoDB: Compressed tables use zlib 1.2.3
124 111216 0:21:42 InnoDB: Completed initialization of buffer pool115 140113 17:29:40 InnoDB: Using Linux native AIO
125 111216 0:21:42 InnoDB: highest supported file format is Barracuda.116 140113 17:29:40 InnoDB: Initializing buffer pool, size = 128.0M
126 111216 0:21:42 InnoDB: Waiting for the background threads to start117 140113 17:29:40 InnoDB: Completed initialization of buffer pool
127 111216 0:21:43 Percona XtraDB (http://www.percona.com) 1.1.8-20.1 started; log sequence number 1597945118 140113 17:29:40 InnoDB: highest supported file format is Barracuda.
128 111216 0:21:43 [Note] Event Scheduler: Loaded 0 events119 InnoDB: Log scan progressed past the checkpoint lsn 1598437
129 111216 0:21:43 [Note] WSREP: Signalling provider to continue.120 140113 17:29:40 InnoDB: Database was not shut down normally!
130 111216 0:21:43 [Note] WSREP: Received SST: f912d2eb-27a2-11e1-0800-f34c520a3d4b:0121 InnoDB: Starting crash recovery.
131 111216 0:21:43 [Note] WSREP: SST finished: f912d2eb-27a2-11e1-0800-f34c520a3d4b:0122 InnoDB: Reading tablespace information from the .ibd files...
132 111216 0:21:43 [Note] /usr/sbin/mysqld: ready for connections.123 InnoDB: Restoring possible half-written data pages from the doublewrite
133 Version: '5.5.17' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), Release alpha22.1, Revision 3673 wsrep_22.3.r3673124 InnoDB: buffer...
134 111216 0:21:43 [Note] WSREP: 1 (node2): State transfer from 0 (node1) complete.125 InnoDB: Doing recovery: scanned up to log sequence number 1598607
135 111216 0:21:43 [Note] WSREP: Shifting JOINER -> JOINED (TO: 0)126 140113 17:29:40 InnoDB: Waiting for the background threads to start
136 111216 0:21:43 [Note] WSREP: Member 1 (node2) synced with group.127 140113 17:29:41 Percona XtraDB (http://www.percona.com) 5.5.34-rel32.0 started; log sequence number 1598607
137 111216 0:21:43 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0)128 140113 17:29:41 [Note] Event Scheduler: Loaded 0 events
138 111216 0:21:43 [Note] WSREP: Synchronized with group, ready for connections129 140113 17:29:41 [Note] WSREP: Signalling provider to continue.
130 140113 17:29:41 [Note] WSREP: SST received: fb031d6e-7c4c-11e3-bf3a-ae73fcffc079:0
131 140113 17:29:41 [Note] /usr/sbin/mysqld: ready for connections.
132 Version: '5.5.34-55' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona XtraDB Cluster (GPL), wsrep_25.9.r3928
133 140113 17:29:41 [Note] WSREP: 1 (node1): State transfer from 0 (node1) complete.
134 140113 17:29:41 [Note] WSREP: Shifting JOINER -> JOINED (TO: 0)
135 140113 17:29:41 [Note] WSREP: Member 1 (node1) synced with group.
136 140113 17:29:41 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0)
137 140113 17:29:41 [Note] WSREP: Synchronized with group, ready for connections
138 140113 17:29:41 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
139139
140When all nodes are in SYNCED stage your cluster is ready!140When all nodes are in SYNCED stage your cluster is ready!
141141
142142
=== modified file 'doc-pxc/source/howtos/cenots_howto.rst'
--- doc-pxc/source/howtos/cenots_howto.rst 2013-12-30 17:01:54 +0000
+++ doc-pxc/source/howtos/cenots_howto.rst 2014-02-06 09:58:46 +0000
@@ -65,9 +65,6 @@
65 # MyISAM storage engine has only experimental support65 # MyISAM storage engine has only experimental support
66 default_storage_engine=InnoDB66 default_storage_engine=InnoDB
6767
68 # This is a recommended tuning variable for performance
69 innodb_locks_unsafe_for_binlog=1
70
71 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera68 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
72 innodb_autoinc_lock_mode=269 innodb_autoinc_lock_mode=2
7370
@@ -152,9 +149,6 @@
152 # MyISAM storage engine has only experimental support149 # MyISAM storage engine has only experimental support
153 default_storage_engine=InnoDB150 default_storage_engine=InnoDB
154151
155 # This is a recommended tuning variable for performance
156 innodb_locks_unsafe_for_binlog=1
157
158 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera152 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
159 innodb_autoinc_lock_mode=2153 innodb_autoinc_lock_mode=2
160154
@@ -216,9 +210,6 @@
216 # MyISAM storage engine has only experimental support210 # MyISAM storage engine has only experimental support
217 default_storage_engine=InnoDB211 default_storage_engine=InnoDB
218212
219 # This is a recommended tuning variable for performance
220 innodb_locks_unsafe_for_binlog=1
221
222 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera213 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
223 innodb_autoinc_lock_mode=2214 innodb_autoinc_lock_mode=2
224215
225216
=== removed file 'doc-pxc/source/howtos/kewpietests.rst'
--- doc-pxc/source/howtos/kewpietests.rst 2012-06-27 10:05:05 +0000
+++ doc-pxc/source/howtos/kewpietests.rst 1970-01-01 00:00:00 +0000
@@ -1,35 +0,0 @@
1===========================
2How to Execute Kewpie Tests
3===========================
4
5To 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+).
6To execute tests:
7
8.. code-block:: bash
9
10 cd kewpie ; ./kewpie.py [--force ] [--libeatmydata] [--wsrep-provider-path=...]
11
12The 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.
13
14To 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:
15
16.. option:: --force
17
18 Run all tests despite failures (default is to stop test execution on first failure)
19
20.. option:: --libeatmydata
21
22 Use libeatmydata if installed. This can greatly speed up testing in many cases. Can be used in conjunction with:
23
24.. option:: --libeatmydata-path to specify where the library is located.
25
26.. option:: --wsrep-provider-path
27
28 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.
29
30Any additional suites may be run this way:
31
32.. code-block:: bash
33
34 ./kewpie.py [options] --suite=any/suitedir/from/kewpie/percona_tests
35 ./kewpie.py --suite=crashme
360
=== modified file 'doc-pxc/source/howtos/singlebox.rst'
--- doc-pxc/source/howtos/singlebox.rst 2012-07-30 09:26:20 +0000
+++ doc-pxc/source/howtos/singlebox.rst 2014-02-06 09:58:46 +0000
@@ -1,3 +1,6 @@
1.. _single_box:
2
3==========================================
1How to setup 3 node cluster on single box4How to setup 3 node cluster on single box
2==========================================5==========================================
36
@@ -23,7 +26,7 @@
2326
24Then 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): ::27Then 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): ::
2528
26 bin/mysqld_safe --defaults-file=/etc/my.4000.cnf29 bin/mysqld_safe --defaults-file=/etc/my.4000.cnf --wsrep-new-cluster
2730
28Following output will let out know that node was started successfully: ::31Following output will let out know that node was started successfully: ::
2932
@@ -61,15 +64,10 @@
61 64
62 mysql -h127.0.0.1 -P5000 -e "CREATE DATABASE hello_peter"65 mysql -h127.0.0.1 -P5000 -e "CREATE DATABASE hello_peter"
6366
64In 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`.
65
66Configuration files (/etc/my.4000.cnf): ::67Configuration files (/etc/my.4000.cnf): ::
6768
68 /etc/my.4000.cnf69 /etc/my.4000.cnf
6970
70 [mysqld_safe]
71 wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm://
72
73 [mysqld]71 [mysqld]
74 port = 400072 port = 4000
75 socket=/tmp/mysql.4000.sock73 socket=/tmp/mysql.4000.sock
@@ -78,6 +76,7 @@
78 user=mysql76 user=mysql
79 log_error=error.log77 log_error=error.log
80 binlog_format=ROW78 binlog_format=ROW
79 wsrep_cluster_address='gcomm://192.168.2.21:5030,192.168.2.21:6030'
81 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so80 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so
82 wsrep_sst_receive_address=192.168.2.21:402081 wsrep_sst_receive_address=192.168.2.21:4020
83 wsrep_node_incoming_address=192.168.2.21 82 wsrep_node_incoming_address=192.168.2.21
@@ -86,7 +85,6 @@
86 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:4030;"85 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:4030;"
87 wsrep_sst_method=rsync86 wsrep_sst_method=rsync
88 wsrep_node_name=node400087 wsrep_node_name=node4000
89 innodb_locks_unsafe_for_binlog=1
90 innodb_autoinc_lock_mode=288 innodb_autoinc_lock_mode=2
9189
9290
@@ -94,9 +92,6 @@
9492
95 /etc/my.5000.cnf93 /etc/my.5000.cnf
9694
97 [mysqld_safe]
98 wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm://
99
100 [mysqld]95 [mysqld]
101 port = 500096 port = 5000
102 socket=/tmp/mysql.5000.sock97 socket=/tmp/mysql.5000.sock
@@ -105,6 +100,7 @@
105 user=mysql100 user=mysql
106 log_error=error.log101 log_error=error.log
107 binlog_format=ROW102 binlog_format=ROW
103 wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:6030'
108 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so104 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so
109 wsrep_sst_receive_address=192.168.2.21:5020105 wsrep_sst_receive_address=192.168.2.21:5020
110 wsrep_node_incoming_address=192.168.2.21 106 wsrep_node_incoming_address=192.168.2.21
@@ -113,16 +109,12 @@
113 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:5030;"109 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:5030;"
114 wsrep_sst_method=rsync110 wsrep_sst_method=rsync
115 wsrep_node_name=node5000111 wsrep_node_name=node5000
116 innodb_locks_unsafe_for_binlog=1
117 innodb_autoinc_lock_mode=2112 innodb_autoinc_lock_mode=2
118113
119Configuration files (/etc/my.6000.cnf): ::114Configuration files (/etc/my.6000.cnf): ::
120115
121 /etc/my.6000.cnf116 /etc/my.6000.cnf
122117
123 [mysqld_safe]
124 wsrep_urls=gcomm://192.168.2.21:4030,gcomm://192.168.2.21:5030,gcomm://192.168.2.21:6030,gcomm://
125
126 [mysqld]118 [mysqld]
127 port = 6000119 port = 6000
128 socket=/tmp/mysql.6000.sock120 socket=/tmp/mysql.6000.sock
@@ -131,6 +123,7 @@
131 user=mysql123 user=mysql
132 log_error=error.log124 log_error=error.log
133 binlog_format=ROW125 binlog_format=ROW
126 wsrep_cluster_address='gcomm://192.168.2.21:4030,192.168.2.21:5030'
134 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so127 wsrep_provider=/usr/local/Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.x86_64/lib/libgalera_smm.so
135 wsrep_sst_receive_address=192.168.2.21:6020128 wsrep_sst_receive_address=192.168.2.21:6020
136 wsrep_node_incoming_address=192.168.2.21 129 wsrep_node_incoming_address=192.168.2.21
@@ -139,5 +132,4 @@
139 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:6030;"132 wsrep_provider_options = "gmcast.listen_addr=tcp://192.168.2.21:6030;"
140 wsrep_sst_method=rsync133 wsrep_sst_method=rsync
141 wsrep_node_name=node6000134 wsrep_node_name=node6000
142 innodb_locks_unsafe_for_binlog=1
143 innodb_autoinc_lock_mode=2135 innodb_autoinc_lock_mode=2
144136
=== modified file 'doc-pxc/source/howtos/ubuntu_howto.rst'
--- doc-pxc/source/howtos/ubuntu_howto.rst 2013-12-30 17:01:54 +0000
+++ doc-pxc/source/howtos/ubuntu_howto.rst 2014-02-06 09:58:46 +0000
@@ -68,9 +68,6 @@
68 # MyISAM storage engine has only experimental support68 # MyISAM storage engine has only experimental support
69 default_storage_engine=InnoDB69 default_storage_engine=InnoDB
7070
71 # This is a recommended tuning variable for performance
72 innodb_locks_unsafe_for_binlog=1
73
74 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera71 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
75 innodb_autoinc_lock_mode=272 innodb_autoinc_lock_mode=2
7673
@@ -149,9 +146,6 @@
149 # MyISAM storage engine has only experimental support146 # MyISAM storage engine has only experimental support
150 default_storage_engine=InnoDB147 default_storage_engine=InnoDB
151148
152 # This is a recommended tuning variable for performance
153 innodb_locks_unsafe_for_binlog=1
154
155 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera149 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
156 innodb_autoinc_lock_mode=2150 innodb_autoinc_lock_mode=2
157151
@@ -213,9 +207,6 @@
213 # MyISAM storage engine has only experimental support207 # MyISAM storage engine has only experimental support
214 default_storage_engine=InnoDB208 default_storage_engine=InnoDB
215209
216 # This is a recommended tuning variable for performance
217 innodb_locks_unsafe_for_binlog=1
218
219 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera210 # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
220 innodb_autoinc_lock_mode=2211 innodb_autoinc_lock_mode=2
221212
222213
=== modified file 'doc-pxc/source/howtos/virt_sandbox.rst'
--- doc-pxc/source/howtos/virt_sandbox.rst 2012-06-27 10:05:05 +0000
+++ doc-pxc/source/howtos/virt_sandbox.rst 2014-02-06 09:58:46 +0000
@@ -34,7 +34,6 @@
3434
35 log_slave_updates35 log_slave_updates
3636
37 innodb_locks_unsafe_for_binlog=1
38 innodb_autoinc_lock_mode=237 innodb_autoinc_lock_mode=2
39 innodb_buffer_pool_size=400M38 innodb_buffer_pool_size=400M
40 innodb_log_file_size=64M39 innodb_log_file_size=64M
4140
=== modified file 'doc-pxc/source/installation.rst'
--- doc-pxc/source/installation.rst 2013-12-30 17:01:54 +0000
+++ doc-pxc/source/installation.rst 2014-02-06 09:58:46 +0000
@@ -64,7 +64,6 @@
64 64
65 binlog_format=ROW - In order for Galera to work correctly binlog format should be ROW65 binlog_format=ROW - In order for Galera to work correctly binlog format should be ROW
66 default_storage_engine=InnoDB - MyISAM storage engine has only experimental support66 default_storage_engine=InnoDB - MyISAM storage engine has only experimental support
67 innodb_locks_unsafe_for_binlog=1 - This is a recommended tuning variable for performance
68 innodb_autoinc_lock_mode=2 - This changes how InnoDB autoincrement locks are managed67 innodb_autoinc_lock_mode=2 - This changes how InnoDB autoincrement locks are managed
6968
70Additional parameters to specify: ::69Additional parameters to specify: ::
@@ -81,7 +80,6 @@
81 wsrep_sst_method=rsync80 wsrep_sst_method=rsync
82 binlog_format=ROW81 binlog_format=ROW
83 default_storage_engine=InnoDB82 default_storage_engine=InnoDB
84 innodb_locks_unsafe_for_binlog=1
85 innodb_autoinc_lock_mode=283 innodb_autoinc_lock_mode=2
8684
87Detailed list of variables can be found in :ref:`wsrep_system_index` and :ref:`wsrep_status_index`.85Detailed list of variables can be found in :ref:`wsrep_system_index` and :ref:`wsrep_status_index`.
8886
=== removed file 'doc-pxc/source/percona-theme/built'

Subscribers

People subscribed via source and target branches