Site icon Davoud Teimouri – Virtualization and Data Center

Veeam Backup and Replication – How to Choose Best Transport Mode for vSphere Proxy?

Robot VeeamBR

I’m sure that most IT administrators are familiar with Veeam’s products and specially, Veeam Backup and Replication (Veeam BR). This product is one of popular backup and replication suite for physical and virtual environments. Veeam Backup and Replication offers three transport modes and we’ll review the transport modes and condition of their selection in this post.

Veeam Backup and Replication Transport Modes for vSphere Proxy

The Veeam Data Mover uses a transport mode to retrieve VM data from the source and write VM data to the target. Job efficiency and time required for job completion greatly depend on the transport mode.

For data retrieval, Veeam Backup & Replication offers the following modes (starting from the most efficient):

Veeam Transport Modes

Network Transport Mode

Network transport mode is the primary transport mode in Veeam Backup and Replication. It’s available for both physical and virtual proxy servers. This mode can impact whole infrastructure because backup data will transfer via hosts network to proxy.

Typically, I’ll go with network mode when other modes are not available and you should consider about some parameters to reduce impact on infrastrcture:

Direct Storage Access

In the Direct storage access mode, Veeam Backup & Replication reads/writes data directly from/to the storage system where VM data or backups are located. This mode comprises two transport modes:

Direct SAN Access

I recommend using the Direct SAN access transport mode for VMs that have disks located on shared VMFS SAN LUNs connected to ESXi hosts over FC, FCoE, iSCSI, and shared SAS storage.

In the Direct SAN access transport mode, Veeam Backup & Replication leverages VMware VADP to transport VM data directly from and to FC, FCoE and iSCSI storage over the SAN. VM data travels over the SAN, bypassing ESXi hosts and the LAN. The Direct SAN access transport method provides the fastest data transfer speed and produces no load on the production network.

You can use the Direct SAN access transport mode for all operations where the VMware backup proxy is engaged:

Requirements for the Direct SAN Access Mode

To use the Direct SAN access transport mode, make sure that the following requirements are met:

The volumes should be visible in Disk Management but should not be initialized by the OS. If they are initialized, the VMFS filesystem will be overwritten with NTFS, resulting in volumes becoming unrecognizable by ESXi hosts. To prevent volumes initialization, Veeam Backup & Replication automatically sets the SAN Policy within each proxy to Offline Shared and also sets the SAN LUNs to the Offline state.

Limitations for the Direct SAN Access Mode

The Direct SAN access transport mode can be used to restore only thick VM disks.

The transport mode is applied to the entire VM and not individual virtual disks. This means that each VM can only be processed in one transport mode. If there are any VM disks that cannot be processed in the Direct SAN access transport mode, then the remaining disks of that VM cannot be processed in this transport mode either.

You cannot use the Direct SAN access mode in the following cases:

Veeam Backup & Replication will only write VM data to the target datastore in the Direct SAN access transport mode if the disks of a VM replica are thick-provisioned. However, if the disks are thin-provisioned, Veeam Backup & Replication will write VM data in the Network or Virtual Appliance mode. By default, Veeam Backup & Replication replicates VM disks in the thin format.

To write VM data to the target datastore in the Direct SAN access transport mode, select to convert VM disks to the thick format at the Destination step of the replication job wizard.

Direct NFS Access

The VMware backup proxy can use the Direct NFS access mode for all operations:

Requirements for the Direct NFS Access Mode
Limitations for Direct NFS Access Mode

Virtual Appliance (HotAdd) Transport Mode

The Virtual appliance mode is not so efficient as the Direct storage access mode but provides better performance than the Network mode. For VMs assigned as VMware backup proxies, it is recommended to utilize the Virtual Appliance mode.

In the Virtual appliance mode, Veeam Backup & Replication uses the VMware SCSI HotAdd capability that allows attaching devices to a VM while the VM is running. During backup, replication, or restore, the VMware backup proxy attaches the disks of the processed VM. Instead of going through the network, the proxy retrieves or writes VM data directly from/to the datastore.

You can use the Virtual Appliance transport mode for all operations involving the VMware backup proxy:

Requirements for the Virtual Appliance mode

Ensure that you meet the following requirements to use the Virtual Appliance transport mode:

As an alternative, you can use ESXi 6.0 or higher and NFS 4.1.

Limitations for the Virtual Appliance mode

To be able to mount the largest virtual disk of hot-added VMs, a VMware backup proxy processing a source VM must reside on a VMFS 3 datastore formatted with the proper block size:

This limitation does not apply to VMFS-5 volumes that always have 1 MB file block size.

Conclusion

Choosing Veeam Backup and Replication (Veeam BR) is depends to infrastructure design and backup infrastructure requirements. There are three transport modes, and it is important to consider the technical limitations associated with each mode.

I’ve always recommend using Windows Server as proxy server on physical server with Direct Storage Access transport mode but configuring proxy server network with more than one NIC for failover mode and option to restoring thin disks.

Direct Storage Access needs more resources and also some specific considerations compare to other transport mode, but this mode has lowest impact on infrastructure.

I choose Direct Storage Access always and other modes if it’s no available to us.

Further Reading

Veeam Backup & Replication Community Edition

[How To]: Resolve “Change Tracking Target File Already Exists” Error in Veeam Backup & Replication

[Review]: Veeam BR – Storage-level Corruption Guard

[Review]: Veeam BR Validator Command-Line Tool

[Review]: Veeam BR Extractor

Veeam Backup & Replication Best Practices

Invalid Remote Certificate – Veeam Backup & Replication

Veeam Backup & Replication – Bottleneck Analysis

Veeam BR – Backup Mode I/O Consideration

Veeam Backup & Replication – Tape Backup Compatibility

Exit mobile version