-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Veeam connects to wrong ip address on Linux agent
Open case 02060405. I searched and found this happening for others here:
We have a Linux VM to which is attached a snapshot for another server. This is connected via a private network for iSCSI. We are trying to do a files to tape backup, not a VM backup.
When Veeam attempts to backup this server, it connects to the other interface which is on the server network common to Veeam and this VM. The agent gets pushed and is running. However, Veeam tries to connect to the agent on the other ip address on the private iSCSI lan and of course fails.
I checked the hosts file on the Linux machine and neither ip was listed. I added the 'public' ip address there, which did not help.
I added the server ip address to the hosts file on the B&R server, which also did not help.
Error in the job log is "Failed to connect to agent's endpoint 'ip.ad.dr.ess'. Host: 'host.name'."
I suppose I could add that network on a secondary interface on the Veeam server. But... why?
We have a Linux VM to which is attached a snapshot for another server. This is connected via a private network for iSCSI. We are trying to do a files to tape backup, not a VM backup.
When Veeam attempts to backup this server, it connects to the other interface which is on the server network common to Veeam and this VM. The agent gets pushed and is running. However, Veeam tries to connect to the agent on the other ip address on the private iSCSI lan and of course fails.
I checked the hosts file on the Linux machine and neither ip was listed. I added the 'public' ip address there, which did not help.
I added the server ip address to the hosts file on the B&R server, which also did not help.
Error in the job log is "Failed to connect to agent's endpoint 'ip.ad.dr.ess'. Host: 'host.name'."
I suppose I could add that network on a secondary interface on the Veeam server. But... why?
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
FYI, eth0 is the server LAN interface and eth1 is the iSCSI LAN.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Hi,
Thank you.
We have a Linux VM to which is attached a snapshot for another server. This is connected via a private network for iSCSI. We are trying to do a files to tape backup, not a VM backup.
PLease clarify whether you're trying to backup the VM with Veeam B&R or with Veeam Agent for Linux?When Veeam attempts to backup this server<...>The agent gets pushed and is running
Thank you.
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
I am only using the Veeam Agent in the sense that B&R pushes out a temporary agent during the backup. This is a B&R file to tape job...
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
If I add an interface on the B&R server to the iSCSI network, it does get past the error. However, as soon as the enumeration hits a link to a non-existent file, the agent segfaults.
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
I was able to backup a single file. It just can't make its way through the directory enumeration...
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
I can also backup if the LUNs on the Linux server are not mounted.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
That happens because temporary agent passes all available IPs on interfaces to VBR, in your case agent sees eth0 and eth1 IPs and VBR attempts to connect to an IP that is assigned to eth1.Error in the job log is "Failed to connect to agent's endpoint 'ip.ad.dr.ess'. Host: 'host.name'."
I'm not sure what does that part mean? Did you attach a vmdk from another VM's snapshot and are trying to backup files from that snapshot vmdk to Tape?We have a Linux VM to which is attached a snapshot for another server.
Thank you
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
The source machine is a VM but I am not handling it as a VM, so vmdk files and vmware snapshots are not in play.
The snapshots mounted on the source VM are from our SAN. They are a point in time snapshot to be used for backing up our fileserver. The fileserver is a physical machine with FC connectivity to storage. The snapshots are accessed from this separate VM so that we don't put undue load on the fileserver itself.
As far as I am concerned, Veeam should only see this VM as a physical machine since we are doing a file to tape backup, not a VM backup. I can browse the files all day when setting up the job or when looking at the FILES tab in the Veeam console. The VM was added as a managed Linux server in the BACKUP INFRASTRUCTURE tab. This was required in order to be able to select the server and its folders and files.
The snapshots mounted on the source VM are from our SAN. They are a point in time snapshot to be used for backing up our fileserver. The fileserver is a physical machine with FC connectivity to storage. The snapshots are accessed from this separate VM so that we don't put undue load on the fileserver itself.
As far as I am concerned, Veeam should only see this VM as a physical machine since we are doing a file to tape backup, not a VM backup. I can browse the files all day when setting up the job or when looking at the FILES tab in the Veeam console. The VM was added as a managed Linux server in the BACKUP INFRASTRUCTURE tab. This was required in order to be able to select the server and its folders and files.
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Note that for some unrelated reason, I cannot browse files if I setup the file server itself (centos 7) as a managed server. Also, we do not have sufficient space to sync the entire file server to an intermediate disk.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
That is probably due to the lack of perl modules.I cannot browse files if I setup the file server itself (centos 7) as a managed server.
This has to be investigated by our support team, please keep working with your support engineer.I was able to backup a single file. It just can't make its way through the directory enumeration...
Thank you
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
As far as the server that seems to crash, I unpacked veeam_soap.tar there and was able to run the veeam_soap.pl script without error (or any output). Perhaps it is dynamically including additional modules that are missing during its run.
Support is working with us on the backup to tape issue. Since both file copy and file to tape jobs should use the VeeamAgent64 exec, they are not yet sure why the tape job causes the segfault when enumerating files.
Support is working with us on the backup to tape issue. Since both file copy and file to tape jobs should use the VeeamAgent64 exec, they are not yet sure why the tape job causes the segfault when enumerating files.
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
From support, based on other cases and what was done to fix this issue, I installed and started running nscd. I don't understand that at all. But, it fixed the problem. The tech said there were looking at removing that requirement for use with NAS devices that might not be able to run this or be modified to do so.
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Unfortunately, this all ultimately failed because of the massive volume of files on this server. Files to tape was apparently not designed for such a large volume of files. I don't know what the actual limits are but I guess we exceeded them at around 65000 files during enumeration. This varied depending on the subset of data chosen.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
You have installed it on the VM that has SAN snapshot mounted, is that correct?I installed and started running nscd
File to Tape job limit is way higher, it goes to tens of millions of files, but the real figure depends on the amount of available resources. What are the specs of the VM that you use?I guess we exceeded them at around 65000 files
Btw, have you tried to use Veeam Agent for Linux to perform a backup of that CentOS fileserver?
Thanks
-
- Enthusiast
- Posts: 38
- Liked: 2 times
- Joined: Nov 07, 2014 3:51 pm
- Full Name: Miles Lott
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Yes, nscd was started on the machine with the snapshots.
I was told otherwise by support. But, not with any detail as to file count. It was just an ambiguous suggestion that it really wasn't designed for this... The fact is that we never exceeded available resources that I could see. It just bombs during enumeration.
I was told otherwise by support. But, not with any detail as to file count. It was just an ambiguous suggestion that it really wasn't designed for this... The fact is that we never exceeded available resources that I could see. It just bombs during enumeration.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Hi Miles,
After checking with our QA folks we found a proper fix for your issue. I asked our support folks to reach you, so please let us know how it goes.
After checking with our QA folks we found a proper fix for your issue. I asked our support folks to reach you, so please let us know how it goes.
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Mar 18, 2017 7:21 pm
- Full Name: Lars Fredrik Bach
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
Referring to support case 02114713.
I also have this issue when trying to do backup using Linux agent.
OS: Ubuntu 14.04.5 LTS
I also have this issue when trying to do backup using Linux agent.
OS: Ubuntu 14.04.5 LTS
-
- Enthusiast
- Posts: 58
- Liked: 5 times
- Joined: Apr 23, 2014 9:51 am
- Full Name: Andy Goldschmidt
- Contact:
Re: Veeam connects to wrong ip address on Linux agent
What is the fix for this, I have the same issue and I tried setting the "preferred network", but its still trying to use the wrong ip to backup.PTide wrote:Error in the job log is "Failed to connect to agent's endpoint 'ip.ad.dr.ess'. Host: 'host.name'."
That happens because temporary agent passes all available IPs on interfaces to VBR, in your case agent sees eth0 and eth1 IPs and VBR attempts to connect to an IP that is assigned to eth1.
I have opened Case # 02259574
-= VMCE v9 certified =-
Who is online
Users browsing this forum: No registered users and 12 guests