mariadb/mysql-test/suite/galera/galera_2nodes.cnf

48 lines
1.5 KiB
Text
Raw Normal View History

2014-03-27 08:22:29 -04:00
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
2015-01-16 13:53:23 -05:00
[mysqld]
2015-02-06 16:14:23 +01:00
wsrep-on=1
2014-03-27 08:22:29 -04:00
binlog-format=row
plugin-maturity=unknown
2015-01-16 13:53:23 -05:00
innodb-autoinc-lock-mode=2
default-storage-engine=innodb
wsrep-provider=@ENV.WSREP_PROVIDER
2015-07-14 16:05:29 -04:00
wsrep_node_address=127.0.0.1
2015-01-16 13:53:23 -05:00
# enforce read-committed characteristics across the cluster
wsrep-sync-wait=15
2014-09-30 18:06:15 -04:00
2015-01-16 13:53:23 -05:00
[mysqld.1]
#galera_port=@OPT.port
#ist_port=@OPT.port
#sst_port=@OPT.port
2015-07-14 16:05:29 -04:00
wsrep-cluster-address=gcomm://
2017-05-26 19:21:19 +02:00
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S;gcache.size=10M'
2015-07-14 16:05:29 -04:00
wsrep_node_incoming_address=127.0.0.1:@mysqld.1.port
2014-07-12 18:21:29 -04:00
wsrep_sst_receive_address='127.0.0.1:@mysqld.1.#sst_port'
2014-03-27 08:22:29 -04:00
[mysqld.2]
2015-01-16 13:53:23 -05:00
#galera_port=@OPT.port
#ist_port=@OPT.port
#sst_port=@OPT.port
2014-07-12 18:21:29 -04:00
wsrep_cluster_address='gcomm://127.0.0.1:@mysqld.1.#galera_port'
wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
# enforce read-committed characteristics across the cluster
wsrep_causal_reads=ON
wsrep_sync_wait = 15
wsrep_node_address=127.0.0.1
wsrep_sst_receive_address=127.0.0.2:@mysqld.2.#sst_port
2015-07-14 16:05:29 -04:00
wsrep_node_incoming_address=127.0.0.1:@mysqld.2.port
2014-07-12 18:21:29 -04:00
wsrep_sst_receive_address='127.0.0.1:@mysqld.2.#sst_port'
2014-03-27 08:22:29 -04:00
2015-07-14 16:05:29 -04:00
2014-03-27 08:22:29 -04:00
[ENV]
NODE_MYPORT_1= @mysqld.1.port
NODE_MYSOCK_1= @mysqld.1.socket
NODE_MYPORT_2= @mysqld.2.port
NODE_MYSOCK_2= @mysqld.2.socket