2017-07-13 18:25:26 +00:00
|
|
|
[mysqld]
|
|
|
|
general_log=OFF
|
|
|
|
bind-address=0.0.0.0
|
|
|
|
|
|
|
|
innodb_flush_log_at_trx_commit=0
|
2017-10-17 15:36:11 +00:00
|
|
|
query_cache_size=0
|
2017-07-13 18:25:26 +00:00
|
|
|
query_cache_type=0
|
|
|
|
|
|
|
|
binlog_format=ROW
|
|
|
|
default_storage_engine=InnoDB
|
|
|
|
innodb_autoinc_lock_mode=2
|
|
|
|
innodb_doublewrite=1
|
|
|
|
|
|
|
|
innodb_buffer_pool_size=122M
|
|
|
|
|
2018-01-09 12:42:10 +00:00
|
|
|
max_connections=@MAX_CONNECTIONS@
|
|
|
|
|
2017-07-13 18:25:26 +00:00
|
|
|
wsrep_on=ON
|
|
|
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
2017-10-17 15:36:11 +00:00
|
|
|
|
2017-07-13 18:25:26 +00:00
|
|
|
wsrep_provider_options="gcache.size=300M; gcache.page_size=300M"
|
2017-10-17 15:36:11 +00:00
|
|
|
#wsrep_provider_options="gcache.size=300M; gcache.page_size=300M; pc.bootstrap=YES"
|
|
|
|
#wsrep_provider_options="gcache.size=300M; gcache.page_size=300M; pc.bootstrap=YES; pc.ignore_sb=TRUE"
|
|
|
|
# See: http://galeracluster.com/documentation-webpages/twonode.html
|
|
|
|
|
2017-07-13 18:25:26 +00:00
|
|
|
wsrep_cluster_address="gcomm://"
|
|
|
|
wsrep_cluster_name="galera_cluster_keycloak"
|
|
|
|
wsrep_sst_method=rsync
|
|
|
|
#wsrep_sst_auth="root:root"
|
|
|
|
wsrep_slave_threads=16
|