Skip to main content

How can we help you?

Druva Documentation

How to change the VMware backup concurrency

This article applies to:

  • OS: CentOS
  • Product edition: Phoenix (Gov Cloud included) 

Overview

This article provides the steps to change the default VMware backup concurrency.

With the default backup proxy configuration, you can back up up to  three virtual machines in parallel.

Calculate concurrency

Assuming you have a backup proxy configuration of X vCPUs and Y GB RAM, the number of concurrent backups possible are calculated as follows:

Number of concurrent backups = Minimum {(X*0.7)/2, (Y-2)/1.3}

Example-1: For a setup having 16 vCPUs and 16 GB RAM:

Number of concurrent backups = Minimum { (16*0.7)/2 = 5.6, (16-2)/1.3 = 10.7 } = 5.6

Hence, you can run up to 6 concurrent backup operations (after rounding the last decimal).

You can also calculate the ideal RAM configuration required to save the system resources from the formula below:

Optimal RAM configuration required to run 6 concurrent backups = (6*1.3)+2 = 9.8

You can optimize your setup to 10 GB RAM (rounded to nearest available unit) since the number of concurrent backups is governed by the vCPU configuration. The converse is applicable if the number of concurrent backups is derived from the RAM configuration.

Change the VMware backup concurrency in Phoenix configuration file

Follow below steps for VMware backup proxy version prior to 7.0.0

  1. Stop the Phoenix Agent service.
    service Phoenix stop 
  2. Verify if any Phoenix processes are still running.
    ps -ef| grep -i Phoenix
  3. If any process is still found running, kill the process.
    Kill -9 <process id>
  4. Go to /etc/Phoenix/VMWARE.
    cd /etc/Phoenix/VMWARE
  5. Edit the Phoenix.cfg file using vi editor.
    vi Phoenix.cfg
    Change the maximum concurrent backups limit from 3 to n and save the file. (Where n is the new concurrency number.)
    For example, to change the concurrency to 8:
    VM_MAX_CONCURRENT_BACKUPS = 8
  6. Start the Phoenix Agent service on the backup proxy.
    service Phoenix start 

Follow below steps for VMware backup proxy version 7.0.0 and later

  1. Stop the Agent service.
    service Druva-EnterpriseWorkloads stop
  2. Go to /etc/Druva/EnterpriseWorkloads/vmware
    cd /etc/Druva/EnterpriseWorkloads/vmware
  3. Edit the VMwareConfig.yaml file using vi editor.
    vi VMwareConfig.yaml
    Change the maximum concurrent backups limit from 3 to n and save the file. (Where n is the new concurrency number.)
    For example, to change the concurrency to 8:
    VM_MAX_CONCURRENT_BACKUPS = 8
  4. Start the Phoenix Agent service on the backup proxy.
    service Druva-EnterpriseWorkloads stop