[GALERA] Install and configuration OK => wsrep_ready ON

This commit is contained in:
Emilien Mantel
2016-09-23 11:40:35 +02:00
parent d56bd9d078
commit d0c3b67f16
7 changed files with 42 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
#
# {{ ansible_managed }}
#
[mysqld]
# Galera config
wsrep_on=ON
# TODO: wsrep_cluster_address=gcomm://cluster01,cluster02,cluster03
wsrep_cluster_address=gcomm://127.0.0.1
# TODO: https://mariadb.com/kb/en/mariadb/galera-cluster-system-variables/#wsrep_sst_method
wsrep_sst_method=rsync
# TODO: wsrep_cluster_name="my_wsrep_cluster"
# Deps
binlog_format=ROW
default_storage_engine=InnoDB
innodb_autoinc_lock_mode=2
innodb_doublewrite=1
query_cache_size=0