Note: Columnstore.xml modifications you manually made are not automatically carried forward on an upgrade. These modifications will need to be incorporated back into .XML once the upgrade has occurred.
The previous configuration file will be saved as /usr/local/mariadb/columnstore/etc/Columnstore.xml.rpmsave.
If you have specified a root database password (which is good practice), then you must configure a .my.cnf file with user credentials for the upgrade process to use. Create a .my.cnf file in the user home directory with 600 file permissions with the following content (updating PASSWORD as appropriate):
[mysqladmin] user = root password = PASSWORD
This file can be removed after the upgrade is complete.
There is a new prompt in postConfigure for MariaDB ColumnStore Schema Sync feature. In previous versions, this is defaulted to enabled. Starting in the 1.0.7 version, there is a prompt to the user to give you the option to disable it, in the case you have another application that is doing this functionality. So for upgrade, if you use the upgrade option of '-u', then this feature will be left enabled.
In 1.0.6, if you were running on a multi-node system and utilizing the AWS EC2 API toolset, you was required to have the Certification Keys (Access and Secret) in files that were referenced during the postConfigure install. in 1.0.7, these keys are now read from the IAM role that is provided or is read from a file called .aws/certification. Please check the Amazon AMI Installation Guide for additional details.
So if you are upgrading from from the Amazon AMI 1.0.6 to the 1.0.7 package and you are utilizing these keys, you will need to either have the keys in the IAM role that you used to launch the AMI with or in the .aws/certification file.
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
Download the package mariadb-columnstore-1.0.7-1-centos#.x86_64.rpm.tar.gz to the PM1 server where you are installing MariaDB ColumnStore. Shutdown the MariaDB ColumnStore system:
# mcsadmin shutdownsystem y
tar -zxf mariadb-columnstore-1.0.7-1-centos#.x86_64.rpm.tar.gz
rpm -e --nodeps $(rpm -qa | grep '^mariadb-columnstore') rpm -ivh mariadb-columnstore-*1.0.7*rpm
# /usr/local/mariadb/columnstore/bin/postConfigure -u
For RPM Upgrade, the previous configuration file will be saved as:
/usr/local/mariadb/columnstore/etc/Columnstore.xml.rpmsave
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
mcsadmin shutdownsystem y
/usr/local/mariadb/columnstore/bin/pre-uninstall
tar -zxvf -mariadb-columnstore-1.0.7-1.x86_64.bin.tar.gz
/usr/local/mariadb/columnstore/bin/post-install
/usr/local/mariadb/columnstore/bin/postConfigure -u
A DEB upgrade would be done on a system that supports DEBs like Debian or Ubuntu systems.
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
mariadb-columnstore-1.0.7-1.amd64.deb.tar.gz
(DEB 64-BIT) to the server where you are installing MariaDB ColumnStore.
mcsadmin shutdownsystem y
tar -zxf mariadb-columnstore-1.0.7-1.amd64.deb.tar.gz
cd /root/ dpkg -r mariadb-columnstore*deb dpkg -P mariadb-columnstore*deb
/usr/local/mariadb/columnstore/bin/postConfigure -u
<</style>>
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
mariadb-columnstore-1.0.7-1.x86_64.bin.tar.gz (Binary 64-BIT)to the server where you are installing MariaDB ColumnStore.
mcsadmin shutdownsystem y
$HOME/mariadb/columnstore/bin/pre-uninstall -i /home/guest/mariadb/columnstore
tar -zxvf -mariadb-columnstore-1.0.7-1.x86_64.bin.tar.gz
$HOME/mariadb/columnstore/bin/postConfigure -u -i /home/guest/mariadb/columnstore
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mariadb-columnstore-software-upgrade-106-to-107/