| 1 |
!include ../galera_3nodes.cnf |
| 2 |
|
| 3 |
[mysqld] |
| 4 |
wsrep_sst_method=rsync |
| 5 |
|
| 6 |
[mysqld.1] |
| 7 |
wsrep_allowlist="127.0.0.1,127.0.0.2,127.0.0.3" |
| 8 |
|
| 9 |
[mysqld.2] |
| 10 |
wsrep_provider_options='repl.causal_read_timeout=PT90S;[email protected].#galera_port;gmcast.listen_addr=127.0.0.2;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;pc.wait_prim_timeout=PT60S;gcache.size=10M' |
| 11 |
|
| 12 |
# Variable is only used on bootstrap node, so this will be ignored |
| 13 |
wsrep_allowlist="127.0.0.1,127.0.0.2,127.0.0.3,127.0.0.4,127.0.0.5" |
| 14 |
|
| 15 |
wsrep_node_address=127.0.0.2 |
| 16 |
wsrep_sst_receive_address=127.0.0.2:@mysqld.2.#sst_port |
| 17 |
wsrep_node_incoming_address=127.0.0.2:@mysqld.2.port |
| 18 |
wsrep_sst_receive_address='127.0.0.2:@mysqld.2.#sst_port' |
| 19 |
|
| 20 |
[mysqld.3] |
| 21 |
wsrep_provider_options='repl.causal_read_timeout=PT90S;[email protected].#galera_port;gmcast.listen_addr=127.0.0.3;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;pc.ignore_quorum=TRUE;pc.wait_prim=FALSE;gcache.size=10M' |
| 22 |
|
| 23 |
wsrep_node_address=127.0.0.3 |
| 24 |
wsrep_sst_receive_address=127.0.0.3:@mysqld.3.#sst_port |
| 25 |
wsrep_node_incoming_address=127.0.0.3:@mysqld.3.port |
| 26 |
wsrep_sst_receive_address='127.0.0.3:@mysqld.3.#sst_port' |