Skip to main content


 

 

How can we help you?

 

Druva Documentation

How to change the transport mode for VMware backups and restores

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

 

Overview

The default VMware backup and restore transport mode is HOTADD. This article describes how to change the transport mode when there are environmental changes

Procedure 

  1. Change transport mode to NBD from HOTADD
    1. Log in to the VMWARE Backup proxy with default username root and password.
    2. Ensure there are no jobs running.
    3. Stop the Agent service on the backup proxy using the command:
      service Phoenix stop (For VMware backup proxy version prior to 7.0.0)
      service Druva-EnterpriseWorkloads stop (For VMware backup proxy version 7.0.0 and later) 
    4. Verify if any Phoenix processes are still running.
      ps -ef | grep -i Phoenix 
    5. If any process is still found running, kill the process with the following command:
      Kill -9 <process id>
    6. Goto to the below path 
      cd /etc/Phoenix/VMWARE  (For VMware backup proxy version prior to 7.0.0)
      cd /etc/Druva/EnterpriseWorkloads/vmware (For VMware backup proxy version 7.0.0 and later) 
    7. Edit Phoenix.cfg file using vi editor using below command:
      vi Phoenix.cfg  (For VMware backup proxy version prior to 7.0.0)vi VMwareConfig.yaml (For VMware backup proxy version 7.0.0 and later) 
      Type ‘ i ‘ to activate insert mode 
      Add the following lines to the configuration file:
      #For Backup
      _VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'
      #For Restore
      _VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'
      Type esc key followed by :wq to save and exit file.
    8. Verify if above lines has added using below command
      cat Phoenix.cfg (For VMware backup proxy version prior to 7.0.0)
      cat VMwareConfig.yaml (For VMware backup proxy version 7.0.0 and later)
    9. Start the Agent service on the backup proxy as follows:
      service Phoenix start (For VMware backup proxy version prior to 7.0.0)
      service Druva-EnterpriseWorkloads start (For VMware backup proxy version 7.0.0 and later)
    10. Trigger the backup or restore

  2. Change transport mode to HOTADD from NBD
    1. Log in to the VMWARE Backup proxy with default username root and password.
    2. Ensure there are no jobs running.
    3. Stop the  Agent service on the backup proxy using the command:service Phoenix stop (For VMware backup proxy version prior to 7.0.0)
      service Druva-EnterpriseWorkloads stop (For VMware backup proxy version 7.0.0 and later) 
    4. If any process is still found running, kill the process with the following command:
      Kill -9 <process id>
    5. Goto to the below path 
      cd /etc/Phoenix/VMWARE  (For VMware backup proxy version prior to 7.0.0)
      cd /etc/Druva/EnterpriseWorkloads/vmware (For VMware backup proxy version 7.0.0 and later)  
    6. Edit Phoenix.cfg file using vi editor using below command:
      vi Phoenix.cfg  (For VMware backup proxy version prior to 7.0.0)vi VMwareConfig.yaml (For VMware backup proxy version 7.0.0 and later)Type ‘ i ‘ to activate insert mode 
      Remove the below lines from configuration file:
      #For Backup
      _VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'
      #For Restore
      _VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'
      Type esc key followed by :wq to save and exit file.
    7. Verify if above lines has added using below command
      cat Phoenix.cfg (For VMware backup proxy version prior to 7.0.0)
      cat VMwareConfig.yaml (For VMware backup proxy version 7.0.0 and later)
    8. Start the Agent service on the backup proxy as follows:
      service Phoenix start (For VMware backup proxy version prior to 7.0.0)
      service Druva-EnterpriseWorkloads start (For VMware backup proxy version 7.0.0 and later)
    9. Trigger the backup or restore
  • Was this article helpful?