{"id":37125,"date":"2019-01-15T09:00:56","date_gmt":"2019-01-15T08:00:56","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=37125"},"modified":"2020-03-15T18:06:59","modified_gmt":"2020-03-15T17:06:59","slug":"veeam-configure-direct-nfs-access-mode","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/veeam-configure-direct-nfs-access-mode\/","title":{"rendered":"Veeam: configure Direct NFS access mode"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-37128 size-full\" title=\"veeam-direct-nfs-access-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-01.jpg\" alt=\"veeam-direct-nfs-access-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>The Direct NFS access mode is a feature available in <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-availability-orchestrator-setup-pt-1\/\">Veeam Backup &amp; Replication<\/a> used to backup VM disks located on NFS datastores.<\/p>\n<p>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 <strong>proprietary NFS client<\/strong> deployed on Veeam Backup Proxy and <strong>used as transport mode<\/strong>.<!--more--><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37130 size-full\" title=\"veeam-direct-nfs-access-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-02.jpg\" alt=\"veeam-direct-nfs-access-02\" width=\"264\" height=\"275\" \/><\/p>\n<p>Compared to Network mode, this solution provides <strong>a more efficient way<\/strong> to process VM data since <a href=\"https:\/\/www.vmware.com\/support\/developer\/vddk?src=af_5be090889c23e&amp;cid=70134000001TBjI\" target=\"_blank\" rel=\"noopener noreferrer\">VMware VDDK<\/a> is not used to communicate with the ESXi host (no additional load) and data are <strong>read and written directly<\/strong> from\/to NFS datastores.<\/p>\n<p>&nbsp;<\/p>\n<h2>Direct NFS requirements<\/h2>\n<p>To perform backup operations in Direct NFS mode, the Veeam Backup Proxy must meet the following requirements:<\/p>\n<ul>\n<li>It must have <strong>access to the NFS<\/strong> datastore.<\/li>\n<li>It must have <strong>Read Only\/Write permissions<\/strong> and <strong>root access<\/strong> to the NFS datastore.<\/li>\n<li><span class=\"List_L1\">If the ESXi host has <strong>NFS volumes mounted under names<\/strong> instead of IP addresses, the volume names must be resolved by DNS from the Veeam Backup Proxy.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Direct NFS constraints<\/h2>\n<p>Direct NFS Mode has the following limitations:<\/p>\n<ul>\n<li>If a VM has <strong>at least one snapshot<\/strong>, the Direct NFS access mode cannot be used.<\/li>\n<li>The Direct NFS access mode is used to read\/write VM data during the <strong>first session of the replication job<\/strong> 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.<\/li>\n<li>If the option <strong>Enable VMware Tools quiescence<\/strong> is enabled, <strong>Windows-based virtual machines<\/strong> with VMware Tools installed won't be processed using the Direct NFS access mode.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37132 size-full\" title=\"veeam-direct-nfs-access-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-03.jpg\" alt=\"veeam-direct-nfs-access-03\" width=\"490\" height=\"561\" \/><\/p>\n<ul>\n<li>If Direct NFS access mode <strong>can't process some disks<\/strong>\u00a0of a virtual machine, the Network transport mode will be used instead.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Configure the Veeam Backup Proxy<\/h2>\n<p>To backup VMs running on NFS datastores using Direct NFS access mode, we need to <strong>edit an existing Backup Proxy or create a new one<\/strong>. In this example a new Veeam Backup Proxy is created.<\/p>\n<p>From <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-9-5-vtl-aws-storage-setup-aws-pt-1\/\">Veeam Backup &amp; Replication<\/a>, go to <strong>Backup Infrastructure<\/strong> area and select\u00a0<strong>Managed Servers &gt; Microsoft Windows<\/strong>. In the right pane right click anywhere and select <strong>Add Server<\/strong>\u00a0option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37134 size-large\" title=\"veeam-direct-nfs-access-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-04-600x446.jpg\" alt=\"veeam-direct-nfs-access-04\" width=\"600\" height=\"446\" \/><\/p>\n<p>Enter the <strong>DNS name or IP Address<\/strong> of the server to use as Backup Proxy then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37136 size-large\" title=\"veeam-direct-nfs-access-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-05-600x427.jpg\" alt=\"veeam-direct-nfs-access-05\" width=\"600\" height=\"427\" \/><\/p>\n<p>Specify the credentials to use using the format <em>domain\/user<\/em> or <em>host\/user<\/em>\u00a0then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37138 size-large\" title=\"veeam-direct-nfs-access-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-06-600x427.jpg\" alt=\"veeam-direct-nfs-access-06\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Apply<\/strong> to install the Veeam Transport package.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37140 size-large\" title=\"veeam-direct-nfs-access-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-07-600x427.jpg\" alt=\"veeam-direct-nfs-access-07\" width=\"600\" height=\"427\" \/><\/p>\n<p>When the package has been deployed successfully, click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37142 size-large\" title=\"veeam-direct-nfs-access-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-08-600x427.jpg\" alt=\"veeam-direct-nfs-access-08\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Finish<\/strong> to exit the wizard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37144 size-large\" title=\"veeam-direct-nfs-access-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-09-600x427.jpg\" alt=\"veeam-direct-nfs-access-09\" width=\"600\" height=\"427\" \/><\/p>\n<p>Now go to <strong>Backup Proxies<\/strong> section, right click anywhere in the right pane and select <strong>Add VMware Backup Proxy<\/strong>\u00a0option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37146 size-large\" title=\"veeam-direct-nfs-access-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-10-600x436.jpg\" alt=\"veeam-direct-nfs-access-10\" width=\"600\" height=\"436\" \/><\/p>\n<p>Select the server to configure as <strong>Backup Proxy<\/strong> then click on <strong>Choose<\/strong> to specify the <strong>Transport mode<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37148 size-large\" title=\"veeam-direct-nfs-access-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-11-600x427.jpg\" alt=\"veeam-direct-nfs-access-11\" width=\"600\" height=\"427\" \/><\/p>\n<p>Direct NFS access mode can be used by choosing\u00a0<strong>Automatic selection<\/strong> (selected by default) or <strong>Direct storage access<\/strong>\u00a0options. Select\u00a0<strong>Direct storage access<\/strong> and leave <strong>Failover to network mode if primary mode fails, or is unavailable<\/strong> option enabled to avoid a backup job failure if the Direct NFS access mode is <strong>not able to process<\/strong> the specified VMs. Click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37150 size-full\" title=\"veeam-direct-nfs-access-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-12.jpg\" alt=\"veeam-direct-nfs-access-12\" width=\"503\" height=\"533\" \/><\/p>\n<p>When the Transport mode has been configured, click <strong>Next<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37152 size-large\" title=\"veeam-direct-nfs-access-13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-13-600x427.jpg\" alt=\"veeam-direct-nfs-access-13\" width=\"600\" height=\"427\" \/><\/p>\n<p>If no additional parameters need to be specified, click <strong>Apply<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37154 size-large\" title=\"veeam-direct-nfs-access-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-14-600x427.jpg\" alt=\"veeam-direct-nfs-access-14\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Finish<\/strong> to exit the wizard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37156 size-large\" title=\"veeam-direct-nfs-access-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-15-600x427.jpg\" alt=\"veeam-direct-nfs-access-15\" width=\"600\" height=\"427\" \/><\/p>\n<p>The new Veeam Backup Proxy has been created successfully.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37158 size-large\" title=\"veeam-direct-nfs-access-16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-16-600x295.jpg\" alt=\"veeam-direct-nfs-access-16\" width=\"600\" height=\"295\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Configure datastore NFS access<\/h2>\n<p>Access the Storage's Control Panel (QNAP in this example) to configure the correct permissions.<\/p>\n<p>Make sure the Veeam Backup Proxy has <strong>read\/write permissions<\/strong> to the share and the\u00a0<strong>NO_ROOT_SQUASH<\/strong>\u00a0must be set in the <strong>Squash Option<\/strong>\u00a0field. Also the\u00a0<strong>IP address<\/strong> of the used Veeam\u00a0 Backup Proxy must be specified to allow the correct access.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37160 size-large\" title=\"veeam-direct-nfs-access-17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-17-600x375.jpg\" alt=\"veeam-direct-nfs-access-17\" width=\"600\" height=\"375\" \/><\/p>\n<p>Now from <a href=\"https:\/\/nolabnoparty.com\/en\/veeam-backup-replication-9-5-protection-groups\/\">Veeam Backup &amp; Replication<\/a> console, go to <strong>Backup Infrastructure<\/strong> area and select <strong>Managed Servers &gt; Microsoft Windows<\/strong>. Right click the previously created Veeam Proxy and select <strong>Rescan<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37162 size-large\" title=\"veeam-direct-nfs-access-18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-18-600x490.jpg\" alt=\"veeam-direct-nfs-access-18\" width=\"600\" height=\"490\" \/><\/p>\n<p>When the process has completed click <strong>Close<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37164 size-full\" title=\"veeam-direct-nfs-access-19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-19.jpg\" alt=\"veeam-direct-nfs-access-19\" width=\"551\" height=\"416\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Configure the NFS backup job<\/h2>\n<p>In <strong>Home<\/strong> area, select <strong>Backup<\/strong>\u00a0section and from the\u00a0<strong>Backup Job<\/strong>\u00a0drop-down menu select <strong>VMware vSphere<\/strong>\u00a0option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37166 size-full\" title=\"veeam-direct-nfs-access-20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-20.jpg\" alt=\"veeam-direct-nfs-access-20\" width=\"482\" height=\"283\" \/><\/p>\n<p>Specify a job <strong>Name<\/strong> and optionally a <strong>Description<\/strong>. Click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37168 size-large\" title=\"veeam-direct-nfs-access-21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-21-600x427.jpg\" alt=\"veeam-direct-nfs-access-21\" width=\"600\" height=\"427\" \/><\/p>\n<p>Select VMs to backup located on a NFS datastore then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37170 size-large\" title=\"veeam-direct-nfs-access-22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-22-600x427.jpg\" alt=\"veeam-direct-nfs-access-22\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Choose<\/strong> to specify the Veeam Backup Proxy to use.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37172 size-large\" title=\"veeam-direct-nfs-access-23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-23-600x427.jpg\" alt=\"veeam-direct-nfs-access-23\" width=\"600\" height=\"427\" \/><\/p>\n<p>Select <strong>Use the selected backup proxy servers only<\/strong> option and specify the Veeam Backup Proxy previously configured. Click <strong>OK<\/strong> to confirm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37174 size-full\" title=\"veeam-direct-nfs-access-24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-24.jpg\" alt=\"veeam-direct-nfs-access-24\" width=\"467\" height=\"527\" \/><\/p>\n<p>Click <strong>Next<\/strong>\u00a0to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37176 size-large\" title=\"veeam-direct-nfs-access-25\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-25-600x427.jpg\" alt=\"veeam-direct-nfs-access-25\" width=\"600\" height=\"427\" \/><\/p>\n<p>If required, enable these options accordingly then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37178 size-large\" title=\"veeam-direct-nfs-access-26\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-26-600x427.jpg\" alt=\"veeam-direct-nfs-access-26\" width=\"600\" height=\"427\" \/><\/p>\n<p>Specify a <strong>Schedule<\/strong> then click <strong>Apply<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37180 size-large\" title=\"veeam-direct-nfs-access-27\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-27-600x427.jpg\" alt=\"veeam-direct-nfs-access-27\" width=\"600\" height=\"427\" \/><\/p>\n<p>Click <strong>Finish<\/strong> to save the backup job configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37182 size-large\" title=\"veeam-direct-nfs-access-28\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-28-600x427.jpg\" alt=\"veeam-direct-nfs-access-28\" width=\"600\" height=\"427\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Test Direct NFS backup<\/h2>\n<p>Right click the just created backup job and select <strong>Start<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37184 size-large\" title=\"veeam-direct-nfs-access-29\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-29-600x325.jpg\" alt=\"veeam-direct-nfs-access-29\" width=\"600\" height=\"325\" \/><\/p>\n<p>The backup is <strong>processed and executed<\/strong> using\u00a0of the Direct NFS access mode.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37186 size-large\" title=\"veeam-direct-nfs-access-30\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/veeam-direct-nfs-access-30-600x459.jpg\" alt=\"veeam-direct-nfs-access-30\" width=\"600\" height=\"459\" \/><\/p>\n<p>Using the Direct NFS access mode the backup is optimized and processed with <strong>no additional load<\/strong> on the ESXi host improving the performance.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Direct NFS access mode is a feature available in Veeam Backup &amp; 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.<\/p>\n","protected":false},"author":3,"featured_media":37128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2138,933],"tags":[885,1950,1951],"class_list":["post-37125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-backup-en","category-veeam-en","tag-datastore","tag-direct-nfs","tag-transport-mode","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/37125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=37125"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/37125\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/37128"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=37125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=37125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=37125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}