2018-04-10 16:31:41 +02:00
|
|
|
[mysqld]
|
|
|
|
binlog_format=%%dbBinLogFormat
|
|
|
|
default-storage-engine=%%dbDefaultStorage
|
|
|
|
innodb_autoinc_lock_mode=2
|
|
|
|
bind-address=0.0.0.0
|
|
|
|
# Galera Provider Configuration
|
|
|
|
wsrep_on=ON
|
|
|
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
|
|
|
# Galera Cluster Configuration
|
|
|
|
wsrep_cluster_name="%%dbClusterName"
|
2019-03-04 09:54:28 +01:00
|
|
|
wsrep_cluster_address="gcomm://%%dbClusterMember
|
2018-04-10 16:31:41 +02:00
|
|
|
|
2018-04-11 17:00:18 +02:00
|
|
|
# Tunning
|
|
|
|
wsrep_provider_options="gcache.size=%%dbClusterGcacheSizeMb"
|
2018-04-10 16:31:41 +02:00
|
|
|
|
|
|
|
# Galera Synchronization Configuration
|
|
|
|
wsrep_sst_method=%%dbSSTMethod
|
|
|
|
|
|
|
|
# Galera Node Configuration
|
2019-02-19 16:37:00 +01:00
|
|
|
wsrep_node_address="%%getVar('adresse_ip_' + %%ifDBCluster)"
|
2019-03-04 09:54:28 +01:00
|
|
|
wsrep_node_name="%%dbClusterMember[%%dbClusterMemberIndex]
|