Note: Calpont.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/Calpont.xml.rpmsave.
In 1.0.2, the configuration file name was changed to Columnstore.xml. Check the 1.0.2 Release Notes on how to perform the upgrade from the 1.0.1 to the 1.0.2. There is a work-around procedure to follow.
After you have completed the part of the package upgrade process (removing the old package and installing the 1.0.2 package), the following file will exist: /usr/local/mariadb/columnstore/etc/Calpont.xml.rpmsave Run the following commands, this is the work-around part that is only required when going from 1.0.0/1.0.1 to 1.0.2
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
Download the package mariadb-columnstore-1.0.2-1-centos#.x86_64.rpm.tar.gz to the server where you are installing MariaDB ColumnStore. Shutdown the MariaDB ColumnStore system:
# mcsadmin shutdownsystem y
tar -zxf mariadb-columnstore-1.0.2-1-centos#.x86_64.rpm.tar.gz
Note: If another version of MariaDB is currently running, this service will need to be stopped before running this command. After the rpm command has been executed, you can restart the service.
rpm -Uvh mariadb-columnstore*.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:
cc shutdownsystem y
/usr/local/MariaDB/Columnstore/bin/pre-uninstall
tar -zxvf -mariadb-columnstore-release#.x86_64.bin.tar.gz
/usr/local/MariaDB/Columnstore/bin/post-install
/usr/local/MariaDB/Columnstore/bin/postConfigure -u
Upgrade MariaDB ColumnStore as user root on the server designated as PM1:
mariadb-columnstore-release#.x86_64.bin.tar.gz (Binary 64-BIT)to the server where you are installing MariaDB ColumnStore.
cc shutdownsystem y
$HOME/MariaDB/Columnstore/bin/pre-uninstall
tar -zxvf -mariadb-columnstore-release#.x86_64.bin.tar.gz
$HOMEMariaDB/Columnstore/bin/postConfigure -n
© 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-10-upgrades-upgrading-mariadb-columnstore-from-101-to-1/