Skip to main content

How can we help you?

Druva Documentation

Manually Upgrade Operating System to Ubuntu 22.04

 

As security issues were reported on Ubuntu 20, to leverage the security optimizations of Ubuntu 22.04, upgrade the operating system in order to upgrade to the latest version of CloudCache, R3.

  1. Log in to the Management Console.

  2. On the CloudCache listing page, if the CloudCache OS version is older than Ubuntu 22.04, specifically Ubuntu 20.04, then you would observe a notification advising you to upgrade the CloudCache OS to Ubuntu 22.04.
    It is recommended to pause all operations (backup, restore, and flush) before upgrading your operating system.

  3. If the CloudCache OS is Ubuntu 22.04, you see the CloudCache as auto-upgradable and on clicking, it will begin to upgrade the CloudCache to R3(R1 to R3 and R2 to R3).

Note: Do not upgrade to the R3 version if you want to avail IR, as Instant Restore (IR) is not available on CloudCache R3. Any virtual machines configured for IR are not upgradable to R3.

  1. Steps for manual OS upgrade:

apt --fix-broken install -y

sudo DEBIAN_FRONTEND=noninteractive apt-get -y update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade

sed -i 's/Prompt=lts/Prompt=normal/g' /etc/update-manager/release-upgrades

rm /var/run/reboot-required.pkgs 

do-release-upgrade -f DistUpgradeViewNonInteractive

reboot

## After reboot complete, check the OS with following command ##

cat /etc/os-release

## Output should have following values

PRETTY_NAME="Ubuntu 22.04.2 LTS"

NAME="Ubuntu"

VERSION_ID="22.04"

VERSION="22.04.2 LTS (Jammy Jellyfish)"

VERSION_CODENAME=jammy

 

  • Was this article helpful?