24 lines
631 B
INI
24 lines
631 B
INI
[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"
|
|
%set %%nodeIP = %%getVar('adresse_ip_' + %%ifDBCluster, '')
|
|
wsrep_cluster_address="gcomm://%%nodeIP%slurp
|
|
%for %%node in %%dbClusterMember
|
|
,%%node.dbClusterMemberIP%slurp
|
|
%end for
|
|
"
|
|
|
|
|
|
# Galera Synchronization Configuration
|
|
wsrep_sst_method=%%dbSSTMethod
|
|
|
|
# Galera Node Configuration
|
|
wsrep_node_address="%%nodeIP"
|
|
wsrep_node_name="%%nodeName" |