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
|
||||
|
||||
# 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_sst_method=rsync
|
||||
|
||||
wsrep_node_address={{ ansible_eth1["ipv4"]["address"] }}
|
||||
wsrep_node_address='{{ ansible_eth1["ipv4"]["address"] }}'
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
||||
Reference in New Issue
Block a user