Upgrading Cloudbreak
Also available as:
PDF

Update Cloudbreak to a version different than the latest

Perform the following steps to upgrade Cloudbreak to some version other than the latest available general availability version.

Note
Note

Do not use these steps if you would like to upgrade to the latest general availability release. To update to the latest general availability release, refer to Upgrade Cloudbreak to the latest version.

Prerequisites

You must back up Cloudbreak databases before upgrading. For steps refer to Back up Cloudbreak database.

Steps

  1. On the VM where Cloudbreak is running, navigate to the Cloudbreak deployment directory. By default, this is /var/lib/cloudbreak-deployment/:
    cd /var/lib/cloudbreak-deployment/
  2. Run the following commands to download the binary, replacing [$YOUR_CHOSEN_VERSION] with the version that you would like to download:
    export CBD_VERSION=[$YOUR_CHOSEN_VERSION]
    curl -Ls public-repo-1.hortonworks.com/HDP/cloudbreak/cloudbreak-deployer_${CBD_VERSION}_$(uname)_x86_64.tgz | tar -xz -C /bin cbd

    For example, the following downloads version 2.8-rc.120 of the binary:

    export CBD_VERSION=2.8.0-rc.120
    curl -Ls public-repo-1.hortonworks.com/HDP/cloudbreak/cloudbreak-deployer_${CBD_VERSION}_$(uname)_x86_64.tgz | tar -xz -C /bin cbd
  3. Verify the version:
    cbd version
  4. Restart Cloudbreak:
    cbd restart