Fixing galera configuration template
This commit is contained in:
parent
7dac154cef
commit
edafc9a45e
|
@ -8,11 +8,12 @@ wsrep_on=ON
|
||||||
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
||||||
# Galera Cluster Configuration
|
# Galera Cluster Configuration
|
||||||
wsrep_cluster_name="%%dbClusterName"
|
wsrep_cluster_name="%%dbClusterName"
|
||||||
%set %%nodeIP = %%getVar('adresse_ip_%%ifDBCluster', '')
|
%set %%nodeIP = %%getVar('adresse_ip_' + %%ifDBCluster, '')
|
||||||
wsrep_cluster_address="gcomm://%%nodeIP%slurp
|
wsrep_cluster_address="gcomm://%%nodeIP%slurp
|
||||||
%for %%node in %%dbClusterMember
|
%for %%node in %%dbClusterMember
|
||||||
,%%node.dbClusterMemberIP%slurp
|
,%%node.dbClusterMemberIP%slurp
|
||||||
%end for
|
%end for
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
# Galera Synchronization Configuration
|
# Galera Synchronization Configuration
|
||||||
|
|
Loading…
Reference in New Issue