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:

  1. Download the .rpm file of the latest build.

  2. Run the rpm update command in all nodes as root.

    rpm -Uvh gbscluster-<version>.rpm --nodeps

Updating Relational Database

To update the GBDS Relational Database, execute the following steps:

  1. Download the .sql file of the latest build.

  2. On the MySQL server node only, execute the command:

    mysql -u root -p -h localhost < /path-to-file/upgrade-rdb-<version>.sql

GBDS Relational Database descriptions can be found at Relational Database Documentation.

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