Upgrading MariaDB ColumnStore

You are viewing an old version of this article. View the current version here.

MariaDB ColumnStore single server software upgrade

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.

Choosing the type of upgrade

Root User Installs

Upgrading MariaDB ColumnStore using RPMs

Upgrade MariaDB ColumnStore as user root on the server designated as PM1:

Download the package -release#.x86_64.tar.gz (RHEL5 64-BIT)to the server where you are installing MariaDB ColumnStore. Shutdown the MariaDB ColumnStore system: # mcsadmin shutdownsystem y

  • Unpack the tarball, which will generate a set of RPMs that will reside in the /root/ directory. tar -zxf -release#.x86_64.tar
  • Upgrade the RPMs. The MariaDB ColumnStore software will be installed in /usr/local/.

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 *release#*.rpm

  • Run postConfigure using the upgrade option, which will utilize the configuration from the Columnstore.xml,rpmsave

# /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

Initial download/install of MariaDB ColumnStore binary package

Upgrade MariaDB ColumnStore as user root on the server designated as PM1:

  • Download the package into the /usr/local directory -mariadb-columnstore-release#.x86_64.bin.tar.gz (Binary 64-BIT)to the server where you are installing MariaDB ColumnStore.
  • Shutdown the MariaDB ColumnStore system: cc shutdownsystem y
  • Run pre-uninstall script /usr/local/MariaDB/Columnstore/bin/pre-uninstall
  • Unpack the tarball, which will generate the /usr/local/ directory. tar -zxvf -mariadb-columnstore-release#.x86_64.bin.tar.gz
  • Run post-install scripts /usr/local/MariaDB/Columnstore/bin/post-install
  • Run postConfigure using the upgrade option, which will utilize the configuration from the Columnstore.xml,rpmsave /usr/local/MariaDB/Columnstore/bin/postConfigure -n

Non-Root User Installs

Initial download/install of MariaDB ColumnStore binary package

Upgrade MariaDB ColumnStore as user root on the server designated as PM1:

  • Download the package into the /home/'non-root-user" directory -mariadb-columnstore-release#.x86_64.bin.tar.gz (Binary 64-BIT)to the server where you are installing MariaDB ColumnStore.
  • Shutdown the MariaDB ColumnStore system: cc shutdownsystem y
  • Run pre-uninstall script $HOME/MariaDB/Columnstore/bin/pre-uninstall
  • Unpack the tarball, which will generate the $HOME/ directory. tar -zxvf -mariadb-columnstore-release#.x86_64.bin.tar.gz
  • Run post-install scripts $HOME/MariaDB/Columnstore/bin/post-install
  • Run postConfigure using the upgrade option, which will utilize the configuration from the Columnstore.xml,rpmsave $HOMEMariaDB/Columnstore/bin/postConfigure -n

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.