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:
- Configuring AHV Backup Proxy server to resolve hostname of Veeam Backup & Replication server
- Configuring Veeam Backup & Replication server to resolve the hostname of AHV Backup Proxy server
Tip |
To verify hostname resolution, it is recommended 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:
- Log in to the Prism Element or Prism Central console.
- Open the VM dashboard.
- In the list of VMs, select the AHV Backup Proxy VM and click Launch Console.
- Log in to the VM console using credentials, you have specified for AHV Backup Proxy in Step 5. Specify Credentials.
- Open the hosts file with a text editor:
- At the end of the text, add the IP address, FQDN and the hostname for the Veeam Backup & Replication server and the Nutanix CVM.
172.11.11.111 vbr_server_hostname.domain.com vbr_server_hostname 172.11.11.112 cvm_hostname.domain.com cvm_hostname |
Tip |
To find the hostname of Nutanix CVM, log in the to server where Nutanix CVM is deployed and run the hostname command. To find the Nutanix CVM IP address, log in the to server where Nutanix CVM is deployed and run the cat /root/cvm_ip command. |
- Save the changes and exit the text editor.
- Restart the networking service.
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
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:
- On the Veeam Backup & Replication server, go to %windir%\System32\drivers\etc.
- Open the hosts file with a text editor.
- 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.
- Press [Tab] and add a hostname of the AHV Backup Proxy VM which you have defined in the Adding AHV Backup Proxy: Specify Network Settings step.
- Save changes in the hosts file and wait several minutes until AHV Backup Proxy becomes available in the Veeam Backup & Replication console.