Web
Analytics Made Easy - StatCounter

Veeam: configure Direct NFS access mode

veeam-direct-nfs-access-01

The Direct NFS access mode is a feature available in Veeam Backup & Replication used to backup VM disks located on NFS datastores.

In addition to Direct Storage Access, Virtual Appliance (hot-add) and Network (NBD) transport modes, Veeam provides also the Direct NFS access mode to optimize the backup using a proprietary NFS client deployed on Veeam Backup Proxy and used as transport mode.

veeam-direct-nfs-access-02

Compared to Network mode, this solution provides a more efficient way to process VM data since VMware VDDK is not used to communicate with the ESXi host (no additional load) and data are read and written directly from/to NFS datastores.

 

Direct NFS requirements

To perform backup operations in Direct NFS mode, the Veeam Backup Proxy must meet the following requirements:

  • It must have access to the NFS datastore.
  • It must have Read Only/Write permissions and root access to the NFS datastore.
  • If the ESXi host has NFS volumes mounted under names instead of IP addresses, the volume names must be resolved by DNS from the Veeam Backup Proxy.

 

Direct NFS constraints

Direct NFS Mode has the following limitations:

  • If a VM has at least one snapshot, the Direct NFS access mode cannot be used.
  • The Direct NFS access mode is used to read/write VM data during the first session of the replication job only. During next replication, data are read using Direct NFS but they will be written using another transport mode since the VM replicated has already an existing snapshot.
  • If the option Enable VMware Tools quiescence is enabled, Windows-based virtual machines with VMware Tools installed won't be processed using the Direct NFS access mode.

veeam-direct-nfs-access-03

  • If Direct NFS access mode can't process some disks of a virtual machine, the Network transport mode will be used instead.

 

Configure the Veeam Backup Proxy

To backup VMs running on NFS datastores using Direct NFS access mode, we need to edit an existing Backup Proxy or create a new one. In this example a new Veeam Backup Proxy is created.

From Veeam Backup & Replication, go to Backup Infrastructure area and select Managed Servers > Microsoft Windows. In the right pane right click anywhere and select Add Server option.

veeam-direct-nfs-access-04

Enter the DNS name or IP Address of the server to use as Backup Proxy then click Next.

veeam-direct-nfs-access-05

Specify the credentials to use using the format domain/user or host/user then click Next.

veeam-direct-nfs-access-06

Click Apply to install the Veeam Transport package.

veeam-direct-nfs-access-07

When the package has been deployed successfully, click Next.

veeam-direct-nfs-access-08

Click Finish to exit the wizard.

veeam-direct-nfs-access-09

Now go to Backup Proxies section, right click anywhere in the right pane and select Add VMware Backup Proxy option.

veeam-direct-nfs-access-10

Select the server to configure as Backup Proxy then click on Choose to specify the Transport mode.

veeam-direct-nfs-access-11

Direct NFS access mode can be used by choosing Automatic selection (selected by default) or Direct storage access options. Select Direct storage access and leave Failover to network mode if primary mode fails, or is unavailable option enabled to avoid a backup job failure if the Direct NFS access mode is not able to process the specified VMs. Click OK.

veeam-direct-nfs-access-12

When the Transport mode has been configured, click Next to continue.

veeam-direct-nfs-access-13

If no additional parameters need to be specified, click Apply.

veeam-direct-nfs-access-14

Click Finish to exit the wizard.

veeam-direct-nfs-access-15

The new Veeam Backup Proxy has been created successfully.

veeam-direct-nfs-access-16

 

Configure datastore NFS access

Access the Storage's Control Panel (QNAP in this example) to configure the correct permissions.

Make sure the Veeam Backup Proxy has read/write permissions to the share and the NO_ROOT_SQUASH must be set in the Squash Option field. Also the IP address of the used Veeam  Backup Proxy must be specified to allow the correct access.

veeam-direct-nfs-access-17

Now from Veeam Backup & Replication console, go to Backup Infrastructure area and select Managed Servers > Microsoft Windows. Right click the previously created Veeam Proxy and select Rescan.

veeam-direct-nfs-access-18

When the process has completed click Close.

veeam-direct-nfs-access-19

 

Configure the NFS backup job

In Home area, select Backup section and from the Backup Job drop-down menu select VMware vSphere option.

veeam-direct-nfs-access-20

Specify a job Name and optionally a Description. Click Next.

veeam-direct-nfs-access-21

Select VMs to backup located on a NFS datastore then click Next.

veeam-direct-nfs-access-22

Click Choose to specify the Veeam Backup Proxy to use.

veeam-direct-nfs-access-23

Select Use the selected backup proxy servers only option and specify the Veeam Backup Proxy previously configured. Click OK to confirm.

veeam-direct-nfs-access-24

Click Next to continue.

veeam-direct-nfs-access-25

If required, enable these options accordingly then click Next.

veeam-direct-nfs-access-26

Specify a Schedule then click Apply.

veeam-direct-nfs-access-27

Click Finish to save the backup job configuration.

veeam-direct-nfs-access-28

 

Test Direct NFS backup

Right click the just created backup job and select Start.

veeam-direct-nfs-access-29

The backup is processed and executed using of the Direct NFS access mode.

veeam-direct-nfs-access-30

Using the Direct NFS access mode the backup is optimized and processed with no additional load on the ESXi host improving the performance.

signature

Leave a Reply