Update
Introduction
This document will describe how to update GBDS and its database.
A GBDS new release will contain a .rpm file with the new build and may contain a .sql file if any changes to the relational database are made. Whether the environment does not have GBDS installed, follow the steps described in GBDS Installation with Ansible.
Initial Update Steps
To update any GBDS service, it is needed to stop all Ambari services and GBDS applications. After doing it, the user may continue the update procedure.
Updating GBDS
To update the GBDS version, execute the following steps:
Download the .rpm file of the latest build.
Run the rpm update command in all nodes as root.
rpm -Uvh gbscluster-<version>.rpm --nodeps
The rpm may overwrite the configuration file. It is recommended to create a backup file before updating GBDS. Note that some parameters may need to be reconfigured in the new configuration file.
Updating Relational Database
To update the GBDS Relational Database, execute the following steps:
Download the .sql file of the latest build.
On the MySQL server node only, execute the command:
mysql -u root -p -h localhost < /path-to-file/upgrade-rdb-<version>.sql
Final Update Steps
After all procedures done, it is needed to restart the stopped services. To do so, restart all Ambari services and GBDS Applications.
Last updated