Configuring Hostname Resolution

In this article

    If the communication between Veeam Backup for RHV and Veeam Backup & Replication is disrupted, try the following instructions to resolve the issue:

    Configuring Hostname Resolution

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

    The hostname of the Veeam Backup & Replication server must be resolvable on the Veeam Backup for RHV server.

    Note

    To verify hostname resolution, you can use ping hostname commands without the domain name of the target host. We do not recommend to use the nslookup command.

    Configuring Veeam Backup for RHV Server to Resolve Hostname of Veeam Backup & Replication Server

    To make the Veeam Backup for RHV server correctly resolve the hostname of the Veeam Backup & Replication server, the DNS zone where the Veeam Backup for RHV 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 more information, see the Managing DNS Record Entries section of the Red Hat Enterprise Linux Product Documentation. You can also add the host name entry to the \etc\hosts file on the Veeam Backup for RHV server instead of adding a DNS resource record for the Veeam Backup & Replication server in DNS Manager.

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

    1. Log in to RHV Administration Portal, and in the main navigation menu, choose Compute > Virtual Machines.
    2. Select the VM and click Console.
    3. Open the console.vv file and log in to the VM console using credentials that you specified for Veeam Backup for RHV in Install Veeam Backup for Red Hat Virtualization.
    4. 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 RHV host.

    Tip

    To find the hostname of RHV host, log in the to server where RHV host is deployed and run the hostname command.

    To find the RHV host IP address, log in the to server where RHV host is deployed and run the cat /root/cluster_ip command.

    172.17.53.59 vbr_server_hostname.domain.com vbr_server_hostname

    172.17.127.85 cvm_hostname.domain.com cvm_hostname

    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. You may have to wait several minutes until Veeam Backup & Replication checks the availability of the host.

    Configuring Veeam Backup & Replication Server to Resolve Hostname of Veeam Backup for RHV Server

    Veeam Backup & Replication connects to the Veeam Backup for RHV server by using the IP address not the hostname.

    To make the Veeam Backup & Replication server correctly resolve the hostname of the Veeam Backup for RHV server, the DNS zone where the Veeam Backup & Replication server is located must contain a DNS resource record for the Veeam Backup for RHV server. To add a new DNS resource record, you can use DNS Manager deployed on the DNS server. For more information, see the Managing DNS Record Entries section of the Red Hat Enterprise Linux Product Documentation.

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