Skip to main content
Upgrade NAS proxy on Linux from the command line
Updated over a week ago

Enterprise Workloads Editions: βœ… Business | βœ… Enterprise | βœ… Elite

We recommend you to use Druva portal to upgrade Hybrid Workloads agent / Enterprise Workloads agents to the latest versions. For more information, see Agent upgrades.
You can also upgrade multiple agents and proxies for different workloads at the same time from the Management Console.

Before you begin

Ensure the following:

  • You are logged on as a root user to the server having an existing installation of Hybrid Workloads agent / Enterprise Workloads agent.

  • Your server matches the requirements listed in Support Matrix.

  • You have downloaded the latest Hybrid Workloads agent / Enterprise Workloads agent installer on your server.
    You can download the installer either from Druva downloads page or from the Management Console.

  • The following information is valid for the latest Hybrid Workloads agent / Enterprise Workloads agent version.

Upgrade on CentOS, RHEL, or SLES Linux


πŸ“ Note
​Before upgrading from the Hybrid Workloads agent to the Enterprise Workloads agent, ensure that sufficient free space is available on the disk/drive.

For Debian and Linux operating system, the amount of free space required on "/" should be more than the size of folder /var/Phoenix/NAS/state.


  1. Open the command prompt.

  2. Run the following command to find the old package name of the Druva installer:

    rpm -qa | grep druva

  3. 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.
    ​


    πŸ’‘ Tip

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


  4. 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.

  5. Next, start the following service to upgrade:

    • Phoenix service (for agent version prior to 7.0.0)

    • Druva-EnterpriseWorkloads (for agent version 7.0.0 and later)

  6. Set the vCenter credentials on proxy using the following command:
    ​vCenterDetail set <hostfqdn> <username> <password>

  7. Restart the Phoenix / Druva-EnterpriseWorkloads service.

Upgrade on Ubuntu

  1. Open the command prompt.

  2. Run the following command to find the old package name of the Druva installer:

    dpkg -la | grep -i druva

  3. 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.
    ​


    πŸ’‘ Tip

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


  4. 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 Hybrid Workloads agent / Enterprise Workloads agent is activated automatically. You do not require a separate Hybrid Workloads agent / Enterprise Workloads agent activation.


Did this answer your question?