From 9703796698c43dd6f50b996d1377970499316bcb Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Wed, 29 Jan 2014 10:56:50 -0500 Subject: [PATCH] Bind group communication on api_eth and not 0.0.0.0 To avoid any bind trouble/address already in use, we force the group communication to bind on api_eth. Possibly : close #110 close #11 --- templates/database/mysql.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/database/mysql.conf.erb b/templates/database/mysql.conf.erb index c224504a..e78081d1 100644 --- a/templates/database/mysql.conf.erb +++ b/templates/database/mysql.conf.erb @@ -41,6 +41,7 @@ binlog_format = ROW innodb_autoinc_lock_mode = 2 innodb_locks_unsafe_for_binlog = 1 wsrep_provider = "<%= @wsrep_provider %>" +wsrep_provider_options = "gmcast.listen_addr=tcp://<%= @api_eth %>:4567; " wsrep_cluster_name = "galera_cluster" wsrep_cluster_address = "gcomm://<%= @gcomm_definition %>" wsrep_sst_auth = root:<%= @mysql_root_password %>