Skip to main content
Druva Documentation

Upgrade NAS proxy on Linux from the command line

Phoenix Editions: File:/tick.png Business File:/cross.png Enterprise File:/tick.png Elite

We recommend you to use Phoenix portal to upgrade Phoenix agents to the latest versions. For more information, see Agent upgrades.

Before you begin

Ensure the following:

  • You are logged on as a root user to the server having an existing installation of Phoenix agent. 
  • Your server matches the requirements listed in Support Matrix
  • You have downloaded the latest Phoenix agent installer on your server.
    You can download the installer either from Druva downloads page or from the Phoenix Management Console.
  • The following information is valid for the latest Phoenix agent version.

Upgrade on CentOS, RHEL, or SLES Linux

  1. Open the command prompt.
  2. Run the following command to find the old package name of the Phoenix installer: 
rpm -qa | grep druva
  1. Run the following command to uninstall the old package:
rpm -e <old_package_name>

When you are prompted Do you want to cleanup all Phoenix config and data files: [yes/no]? [default: no], enter no

If you enter yes, all the Phoenix agent configuration files will be deleted. When you reinstall the agent you will have to reactivate it. 

  1. Run the following command to install the new package:
rpm –ivh <new_package_name>

where <new_package name> represents the file name (along with the extension) of the new installer.

Upgrade on Ubuntu

  1. Open the command prompt.
  2. Run the following command to find the old package name of the Phoenix installer: 
dpkg -la | grep druva 
  1. Run the following command to uninstall the old package:
dpkg -r <package_name>

In addition, you can use the dpkg --purge <package_name> command. However, dpkg -r <package_name> is recommended. When you are prompted Do you want to cleanup all Phoenix config and data files: [yes/no]? [default: no], enter no

If you enter yes, all the Phoenix agent configuration files will be deleted. When you reinstall the agent you will have to reactivate it.

  1. Run the following command to install the new package:
dpkg -i <new_package_name>

where <new_package name> represents the file name (along with the extension) of the new installer.

Note: A system reboot is not required after manual or auto upgrade. After an upgrade, the Phoenix agent is activated automatically. You do not require a separate Phoenix agent activation.