summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-04 12:31:34 +0000
committerGerrit Code Review <review@openstack.org>2016-04-04 12:31:34 +0000
commit9679e718a429189ae6aaae5774696fc58de995cb (patch)
treeb12b0a20bd6d7be48b4670500ebb01996cda5d5c /puppet
parent4e862ccee2b4afbb3c8b2265217f408a2d503af7 (diff)
parentdf343c35ce468c34b2102f0158d36017089c776d (diff)
Merge "Enable galera replication for Mariadb 10.1"
Diffstat (limited to 'puppet')
-rw-r--r--puppet/manifests/overcloud_controller_pacemaker.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller_pacemaker.pp b/puppet/manifests/overcloud_controller_pacemaker.pp
index fd12c342..f1092321 100644
--- a/puppet/manifests/overcloud_controller_pacemaker.pp
+++ b/puppet/manifests/overcloud_controller_pacemaker.pp
@@ -185,8 +185,10 @@ if hiera('step') >= 1 {
'bind-address' => $::hostname,
'max_connections' => hiera('mysql_max_connections'),
'open_files_limit' => '-1',
+ 'wsrep_on' => 'ON',
'wsrep_provider' => '/usr/lib64/galera/libgalera_smm.so',
'wsrep_cluster_name' => 'galera_cluster',
+ 'wsrep_cluster_address' => "gcomm://${galera_nodes}",
'wsrep_slave_threads' => '1',
'wsrep_certify_nonPK' => '1',
'wsrep_max_ws_rows' => '131072',