Enable galera replication for Mariadb 10.1
authorDamien Ciabrini <dciabrin@redhat.com>
Wed, 30 Mar 2016 12:19:39 +0000 (14:19 +0200)
committerDamien Ciabrini <dciabrin@redhat.com>
Wed, 30 Mar 2016 12:19:39 +0000 (14:19 +0200)
commitdf343c35ce468c34b2102f0158d36017089c776d
treedbbd8efbfa688a2cccba8c4e482cda04b74fcec1
parentcccb984eb76febfedfe7118e27d3d82f31a224e2
Enable galera replication for Mariadb 10.1

The generated galera config has to include additional settings for
galera to be active on MariaDB 10.1.

wsrep_on must be explicitely set to ON. On MariaDB 5.5, this was
implicitely set as soon as wsrep_provider was specified.

a valid wsrep_cluster_address must be configured in addition to
wsrep_on, otherwise recovery command mysqld_safe --wsrep-recover
cannot retrieve replication state, and cluster cannot be bootstrapped.

These explicit settings are backward compatible with MariaDB 5.5 since
the two variables exist in both versions of MariaDB.

Change-Id: I4ab4f4eeb8679899f194399ba8695155e9a2f4a5
Closes-Bug: 1563751
puppet/manifests/overcloud_controller_pacemaker.pp