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 | |
---|---|
As of December 31, 2021, Cloudbreak reached end of
support. For more information, see Support lifecycle policy. Cloudera recommends that
you migrate your workloads to CDP Public Cloud. |
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
- 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/
- 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
- Verify the version:
cbd version
- Restart Cloudbreak:
cbd restart