This is an archive version of the document. To get the most up-to-date information, see the current version.

Configuring Hostname Resolution

If the DNS server on your network is not configured properly, the deployment of AHV Backup Proxy will finish with the warning that the proxy cannot connect to the Veeam Backup & Replication server. In this case, the AHV Backup Proxy is deployed on the AHV cluster but the Veeam Backup & Replication server is not connected to the AHV Backup Proxy and backup jobs will fail.

The hostname of the Veeam Backup & Replication server must be resolvable on the AHV Backup Proxy server. For instructions on how to configure resolution of hostnames, see the following guides:

Tip

To verify hostname resolution, we recommend to use ping hostname commands without the domain name of the target host. It is not recommended to use nslookup.

Configuring AHV Backup Proxy server to resolve hostname of Veeam Backup & Replication server

To make the AHV Backup Proxy server correctly resolve the hostname of the Veeam Backup & Replication server, the DNS zone where the AHV Backup Proxy server is located must contain a DNS resource record for the Veeam Backup & Replication server. To add a new DNS resource record, you can use DNS Manager deployed on the DNS server. For instructions, see the Add a DNS Resource Record section of the Microsoft's Networking guide. You can also use the Add-DnsServerResourceRecordA PowerShell command.

If you don't want to add a DNS resource record for the Veeam Backup & Replication server in DNS Manager, you can add the host name entry to the \etc\hosts file on the AHV Backup Proxy server.

To configure the AHV Backup Proxy server to resolve the hostname of the Veeam Backup & Replication server, do the following:

  1. Log in to the Prism Element or Prism Central console.
  2. Open the VM dashboard.
  3. In the list of VMs, select the AHV Backup Proxy VM and click Launch Console.
  4. Log in to the VM console using credentials, you have specified for AHV Backup Proxy in Specify Credentials.
  5. Open the hosts file with a text editor:

sudo nano /etc/hosts

  1. At the end of the text, add the IP address, FQDN and the hostname for the Veeam Backup & Replication server, and the virtual IP, FQDN and the hostname for the Nutanix AHV cluster.

172.11.11.111 vbr_server_hostname.domain.com vbr_server_hostname

172.11.11.112 ahv_cluster_hostname.domain.com ahv_cluster_hostname

Tip

To find the hostname of Nutanix AHV cluster, log in the to server where Nutanix AHV cluster is deployed and run the hostname command.

To find the Nutanix AHV cluster IP address, log in the to server where Nutanix AHV cluster is deployed and run the cat /root/ahv_cluster_ip command.

  1. Save the changes and exit the text editor.
  2. Restart the networking service.

sudo service networking restart

After adding the record on the hosts file, you will be able to see the proxy in the Veeam Backup & Replication console. Note that you may have to wait several minutes until Veeam Backup & Replication checks the availability of the host.

Configuring Veeam Backup & Replication server to resolve the hostname of AHV Backup Proxy server

Since version 11, Veeam Backup & Replication connects to the AHV Backup Proxy server using the IP address not the hostname. However, if you have upgraded AHV Backup Proxy to version 2.1 and you still use Veeam Backup & Replication version 10, then you need to configure Veeam Backup & Replication server to resolve the hostname of the AHV Backup Proxy server.

To make the Veeam Backup & Replication server correctly resolve the hostname of the AHV Backup Proxy server, the DNS zone where the Veeam Backup & Replication server is located must contain a DNS resource record for the AHV Backup Proxy server. To add a new DNS resource record, you can use DNS Manager deployed on the DNS server. For instructions, see the Add a DNS Resource Record section of the Microsoft's Networking guide. You can also use the Add-DnsServerResourceRecordA PowerShell command.

After adding the record on the DNS server, you will be able to see the proxy in the Veeam Backup & Replication console. Note that you may have to wait several minutes until Veeam Backup & Replication checks the availability of the host.

If you don't want to add a DNS resource record for the AHV Backup Proxy server in DNS Manager, you can add the hostname entry to the %windir%\System32\drivers\etc\hosts file on the Veeam Backup & Replication server:

  1. On the Veeam Backup & Replication server, go to %windir%\System32\drivers\etc.
  2. Open the hosts file with a text editor.
  3. In the hosts file, add the IP address of the AHV Backup Proxy VM. You can find the IP address of the VM in the Nutanix Prism console.
  4. Press [Tab] and add a hostname of the AHV Backup Proxy VM which you have defined in Specify Network Settings.

172.28.30.170 ahv-proxy-21

  1. Save changes in the hosts file and wait several minutes until AHV Backup Proxy becomes available in the Veeam Backup & Replication console.