MariaDB Clustering
Moved MariaDB to 10.1 in support of MariaDB clustering. Change-Id: I82ec51922f73c6c4053a84448d050947cf626fd9 Implements-blueprint: mariadb-clustering
This commit is contained in:
@@ -12,13 +12,14 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
# https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/
|
||||
apt-get -y install software-properties-common
|
||||
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
|
||||
add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu trusty main'
|
||||
add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu trusty main'
|
||||
|
||||
# Pin MariaDB repository
|
||||
sudo echo -e "Package: *\nPin: origin ftp.osuosl.org\nPin-Priority: 1000" > /etc/apt/preferences.d/mariadb.pref
|
||||
|
||||
apt-get -y update
|
||||
apt-get -y install libmariadbclient18 mariadb-server percona-xtrabackup-22
|
||||
apt-get -y install socat percona-xtrabackup-22
|
||||
apt-get -y install libmariadbclient18 mariadb-server
|
||||
|
||||
cat >/etc/mysql/conf.d/no_perf_schema.cnf <<_EOF_
|
||||
[mysqld]
|
||||
|
||||
@@ -529,7 +529,7 @@ function cmd_set_datastore() {
|
||||
VERSION="5.5"
|
||||
elif [ "$DATASTORE_TYPE" == "mariadb" ]; then
|
||||
PACKAGES=${PACKAGES:-"mariadb-server"}
|
||||
VERSION="10.0"
|
||||
VERSION="10.1"
|
||||
elif [ "$DATASTORE_TYPE" == "mongodb" ]; then
|
||||
PACKAGES=${PACKAGES:-"mongodb-org"}
|
||||
VERSION="3.0"
|
||||
|
||||
Reference in New Issue
Block a user