Adding galera options to my.cnf
This commit is contained in:
@@ -108,13 +108,15 @@ max_binlog_size = 100M
|
|||||||
# ssl-key=/etc/mysql/server-key.pem
|
# ssl-key=/etc/mysql/server-key.pem
|
||||||
|
|
||||||
# Galera settings
|
# Galera settings
|
||||||
wsrep_cluster_name=wrestlingdev
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
||||||
|
|
||||||
|
wsrep_cluster_name="wrestlingdev"
|
||||||
|
|
||||||
wsrep_cluster_address=gcomm://{% for host in groups['db'] %}{{ hostvars[host]['ansible_eth1']['ipv4']['address'] }},{% endfor %}
|
wsrep_cluster_address=gcomm://{% for host in groups['db'] %}{{ hostvars[host]['ansible_eth1']['ipv4']['address'] }},{% endfor %}
|
||||||
|
|
||||||
wsrep_sst_method=rsync
|
wsrep_sst_method=rsync
|
||||||
|
|
||||||
wsrep_node_address={{ ansible_eth1["ipv4"]["address"] }}
|
wsrep_node_address='{{ ansible_eth1["ipv4"]["address"] }}'
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
|
|||||||
Reference in New Issue
Block a user