NetWorker: NDMP sessions connect to single PowerScale node due to DNS caching
Summary: NetWorker Data Management Protocol (NDMP) backup sessions connect to one PowerScale node instead of distributing load across multiple nodes due to DNS caching and storage node configuration. ...
Symptoms
NetWorker NDMP backup sessions consistently connect to a single PowerScale node instead of distributing load across multiple available nodes.
All NDMP sessions show the same IP address in the backup logs, even though the PowerScale cluster has multiple IP addresses configured in the SmartConnect zone.
The storage node resolves to a single IP address for all NDMP connections.
Cause
The storage node consistently resolves to a single PowerScale IP address due to DNS caching in NetWorker and local hosts file entries. NetWorker caches DNS entries for 30 minutes by default, which prevents proper SmartConnect round-robin resolution. The storage node may also have PowerScale IP addresses in the local hosts file, which overrides DNS resolution.
Resolution
Perform the following steps to enable proper SmartConnect load balancing:
- Verify the NetWorker client resource uses the SmartConnect fully qualified domain name (FQDN) instead of individual node IP addresses.
- Remove PowerScale IP addresses from the NetWorker server and storage node
hostsfiles:
-
- Linux:
/etc/hosts - Windows:
C:\Windows\System32\drivers\etc\hosts
- Linux:
- Flush the NetWorker DNS cache by running the following commands on the NetWorker server:
- Run
dbgcommand -n nsrd PrintDnsCache=1 - Run
dbgcommand -n nsrd FlushDNSCache=9 - Alternatively, the above commands can be run against a PID instead of process name:
dbgcommand -p <PID> <options>. For more info, see: NetWorker: Debug information levels
- Run
- Enable reverse DNS lookup by creating an empty file named
enable_rdns_lookupin the NetWorker debug directory:
-
- Linux:
/nsr/debug/enable_rdns_lookup - Windows (Default):
C:\Program Files\EMC NetWorker\nsr\debug\enable_rdns_lookup
- Linux:
- Verify the PowerScale NDMP Data Management Agent (DMA) setting is configured as
emc. - Confirm the SmartConnect zone uses Round Robin load balancing policy
- Restart NetWorker services after making configuration changes:
-
- Linux:
systemctl restart networker - Windows (PowerShell):
net stop nsrexecd /y ; net start nsrd- If the NetWorker Management Console (NMC) is installed on the NetWorker server, you must start it separately:
net start gstd
- If the NetWorker Management Console (NMC) is installed on the NetWorker server, you must start it separately:
- Linux:
After implementing these changes, monitor the backup logs to verify that different IP addresses are used for NDMP connections across the PowerScale cluster.