Host-based backup of VMware vSphere VMs.
Post Reply
Fegume
Enthusiast
Posts: 74
Liked: 3 times
Joined: Dec 28, 2018 12:06 pm
Contact:

error: unable to obtain IP addresses for host

Post by Fegume »

Hello I have a one problem.

I have:
- SRVVEEAM1 as backup server
- SRVVEEAM2 as proxy and repository.
both have the configure host file with this data:

SRVVEEAM1 192.168.1.1
SRVVEEAM2 192.168.1.2
vcenter 192.168.1.3
ESX1 192.168.1.4
ESX2 192.168.1.5



I add the proxy and reposorisory host with IP or name server and is ok, but when I run backup Job, show this message:
https://1drv.ms/u/s!AhEgG4C2IYtVg9Vqgzw ... Q?e=rr8qRz

i don'r understand, becasuse the both server ping all IPs and name resolve is ok.

Any idea?

regards!
Andreas Neufert
VP, Product Management
Posts: 7077
Liked: 1510 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: error: unable to obtain IP addresses for host

Post by Andreas Neufert »

Likely the reason for this is that vcenter APIs will always tell us the FQDN names of the ESXi hosts in the API. This is as well the case when you add the vcenter by IP address/Short Name or add the ESXi host by IP address to the vCenter.

Go to the ESXi host and configure the hostname and domain name correctly.
Then add beside the short name as well the FQDN name to the hosts file.

Example
ESX1.mylab.local ESX1 192.168.1.4
ESX2-mylab.local ESX2 192.168.1.5
Fegume
Enthusiast
Posts: 74
Liked: 3 times
Joined: Dec 28, 2018 12:06 pm
Contact:

Re: error: unable to obtain IP addresses for host

Post by Fegume »

Hello Andreas,

the real host file is:

SRVVEEAM1 192.168.1.1
SRVVEEAM2 192.168.1.2
vcenter.ges.local 192.168.1.3
ESX1.ges.local 192.168.1.4
ESX2.ges.local 192.168.1.5

The unable to obtain IP addresses for host is SRVVEEAM2 (proxy).

I have add vcenter without problem.

Thanks!!
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: error: unable to obtain IP addresses for host

Post by PetrM »

Hello,

Could you please raise a support request and share case ID with us? Our possibility to troubleshoot technical issues via forum is limited so it would be better to let our support team to investigate the issue. Please keep in mind that forum posts about technical issues without support case ID will be eventually removed by moderator.

Thanks!
Andreas Neufert
VP, Product Management
Posts: 7077
Liked: 1510 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: error: unable to obtain IP addresses for host

Post by Andreas Neufert »

can you please double check that the host name within ESXi correctly matches the host file as well the domain name matches the domain name in the hosts file.

The hosts file need to be on the Backup Server and all Proxy Servers
Fegume
Enthusiast
Posts: 74
Liked: 3 times
Joined: Dec 28, 2018 12:06 pm
Contact:

Re: error: unable to obtain IP addresses for host

Post by Fegume »

Yes the problem was, that incorrect name ESX on my host file.
Andreas Neufert
VP, Product Management
Posts: 7077
Liked: 1510 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: error: unable to obtain IP addresses for host

Post by Andreas Neufert »

Glad that this worked out well. Thanks for the feedback.
Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests