Agent-based backup of Windows, Linux, Max, AIX and Solaris machines.
Post Reply
steamingPeople
Influencer
Posts: 11
Liked: 2 times
Joined: Feb 06, 2023 7:22 pm
Contact:

Veeam agent fails to deploy on Linux via B&R server

Post by steamingPeople »

Case id #03233272

I've ran into an interesting issue on a Debian server one of our customers developers set up. When deploying the Veeam agent via B&R I would get some weird connectivity errors and the scan would fail. Upon reviewing the logs from the Debian box I found that the Veeam services were trying to whitelist the required ports in iptables and were failing (why isn't relevant for the question).
Combing through the logs I found that there is a services config file we can use to configure the services not to attempt to whitelist the ports in iptables, once the options were turned off the services started successfully and scan and install succeeded.

veeamdeployment service config path and modified values

Code: Select all

/opt/veeam/deployment/VeeamDeploymentConfig
IptablesAutoupdate = no
AutoOpenPortsEnabled = no
veeamtransport service config path and modified values

Code: Select all

/opt/veeam/transport/VeeamTransportConfig
LocalLinuxAutoOpenPortsOnThisHost=0
Now to my question: I saw in the B&R rescan log files that the B&R server runs configuration options for the services before starting them up. Is there a way to have B&R also automatically configure the agents with the above options?
rovshan.pashayev
Veeam Software
Posts: 260
Liked: 42 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Veeam agent fails to deploy on Linux via B&R server

Post by rovshan.pashayev »

Hello,

Please include correct case number in the topic for clarity and follow-up.

Rovshan.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
steamingPeople
Influencer
Posts: 11
Liked: 2 times
Joined: Feb 06, 2023 7:22 pm
Contact:

Re: Veeam agent fails to deploy on Linux via B&R server

Post by steamingPeople »

Whooops. My apologies.

Correct case id: 07064719
rovshan.pashayev
Veeam Software
Posts: 260
Liked: 42 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Veeam agent fails to deploy on Linux via B&R server

Post by rovshan.pashayev »

Hello,

On the backup server (VBR) you can set the following DWORD (Registry Editor):

LinuxAutoOpenPorts = 0

Under the key path HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
Which will cause agent configuration change during deployment:

Code: Select all

root@debian:~# cat /opt/veeam/deployment/VeeamDeploymentConfig | grep AutoOpenPortsEnabled
AutoOpenPortsEnabled = no

root@debian:~# cat /opt/veeam/transport/VeeamTransportConfig | grep LocalLinuxAutoOpenPortsOnThisHost
LocalLinuxAutoOpenPortsOnThisHost=0 
Rovshan.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests