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
Change transport mode from HOTADD to NBD
Open the terminal and stop Agent Client Service.
Agent Version 6.x.x:
/etc/init.d/Phoenix stop
Agent Version 7.x.x:
service Druva-EnterpriseWorkloads stop
Verify if any Druva or Phoenix related processes.
Agent Version 6.x.x:
ps -ef| grep -i Phoenix
Agent Version 7.x.x:
ps -ef | grep -i EnterpriseWorkloads
If any process is still found running, kill the process with the following command:
Kill -9 <process id>
Take a backup of the Configuration File
Agent Version 6.x.x:
/etc/Phoenix/FS/Phoenix.cfg
Agent Version 7.x.x:
/etc/Druva/EnterpriseWorkloads/FS
Edit
Phoenix.cfg/VMwareConfig.yaml
file using vi editor using below commandAgent Version 6.x.x:
vi Phoenix.cfg
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'
Agent Version 7.x.x:
vi VMwareConfig.yaml
Type ‘ i ‘ to activate insert mode
change the value of parameter from
_vm_backup_tranport_mode:hotadd:nbdssl:nbd
To
_vm_backup_tranport_mode: nbd
Type esc key followed by :wq to save and exit file.
Then again Open the terminal and start Agent Client Service.
Agent Version 6.x.x:
/etc/init.d/Phoenix start
Agent Version 7.x.x:
service Druva-EnterpriseWorkloads start
Initiate the backup or the restore job.
Change transport mode from NBD to HOTADD
Open the terminal and stop Agent Client Service.
Agent Version 6.x.x:
/etc/init.d/Phoenix stop
Agent Version 7.x.x:
service Druva-EnterpriseWorkloads stop
Verify if any Druva or Phoenix related processes.
Agent Version 6.x.x:
ps -ef| grep -i Phoenix
Agent Version 7.x.x:
ps -ef | grep -i EnterpriseWorkloads
If any process is still found running, kill the process with the following command:
Kill -9 <process id>
Take a backup of the Configuration File
Agent Version 6.x.x:
/etc/Phoenix/FS/Phoenix.cfg
Agent Version 7.x.x:
/etc/Druva/EnterpriseWorkloads/FS
Edit
Phoenix.cfg/VMwareConfig.yaml
file using vi editor using below commandAgent Version 6.x.x:
vi Phoenix.cfg
Type ‘ i ‘ to activate insert mode
Remove the following lines from the configuration file:
#For Backup
_VM_BACKUP_TRANSPORT_MODE = 'nbdssl:nbd'
#For Restore
_VM_RESTORE_TRANSPORT_MODE = 'nbdssl:nbd'
Agent Version 7.x.x:
vi VMwareConfig.yaml
Type ‘ i ‘ to activate insert mode
change the value of parameter from
_vm_backup_tranport_mode: nbd
To_vm_backup_tranport_mode:hotadd:nbdssl:nbd
Type esc key followed by :wq to save and exit file.
Then again Open the terminal and start Agent Client Service.
Agent Version 6.x.x:
/etc/init.d/Phoenix start
Agent Version 7.x.x:
service Druva-EnterpriseWorkloads start
Initiate the backup or the restore job.
See also