Avamar - NDMP Accelerator Node failed to connect to the NAS device on random port with error message: Unable to establish data connection to address

 

Symptoms

The Avamar NDMP Accelerator Node upgraded to 7.1

NDMP Accelerator Node failed to connect to the NAS device on random port which leads to NDMP backup failed

2015-06-04 05:02:54 avndmp Info <0000>: [snapup-/xxxxxx] Connecting to data socket on address 10.3.1.132, port 18606.
2015-06-04 05:03:15 avndmp Error <0000>: [snapup-/xxxxxx] Unable to establish data connection to address 'NAS device ip address or FQDN', port xxxx.
2015-06-04 05:03:15 avndmp Error <0000>: [snapup-/xxxxxx] Backup for target /xxxxxx had errors.
2015-06-04 05:03:15 avndmp Info <0000>: [snapup-/xxxxxx] Backup of '/xxxxxx' aborted. Error in NDMP session..
 

Cause

Avfirewall service blocks the ports (randomly selected) when NDMP Accelerator Node is communicating with NAS device

 

Resolution

Add the IP address of NAS device into the file /etc/firewall-ips on Accelerator Node. The IP address should be added after the parameter INTERNAL_IPS
 
This will allow communication between Accelerator Node and NAS device with any random port.
Then restart the avfirewall service: service avfirewall restart

 

If both are in same network and no firewall is required the stop firewall by using

Service avfirewall stop