NetWorker:无法使用“portmapper”创建连接
Zhrnutie: 虽然客户端和服务器之间没有网络限制,但 NetWorker Linux 客户端中的备份由于 NetWorker 服务器和客户端之间的通信故障而随机失败。 NetWorker 依赖 TCP/IP 协议在客户端和服务器之间进行通信,修改服务器上的某些 TCP 内核参数,否则客户端可能会影响 NetWorker 功能。
Tento článok sa vzťahuje na
Tento článok sa nevzťahuje na
Tento článok nie je viazaný na žiadny konkrétny produkt.
V tomto článku nie sú uvedené všetky verzie produktov.
Symptómy
NetWorker Linux 客户端备份失败,并在备份操作日志中报告以下错误:
nsrjobd RPC error RPC client handle: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. nsrjobd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938. nsrjobd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'.已在系统的 /etc/sysctl.conf 文件中启用以下 TCP 参数。
net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1来自 NetWorker 服务器 /nsr/logs/daemon.raw 的错误:
nsrjobd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938. nsrexecd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938. nsrd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938. nsrexecd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'. nsrjobd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'.来自其他命令的错误:
- 在服务器中,命令
nsrrpcinfo -p client_name并不总是有效。- 命令的第一次运行成功与客户端通信,但第二次立即运行失败。
- 如果从客户端运行备份,则命令无法与客户端通信。
- 从服务器到客户端的以下命令并不总是有效:
- 命令的第一次运行成功与客户端通信,但第二次立即运行失败。
nsrports -t client_name -p 7938
Príčina
启用以下 Linux 内核参数会导致 NetWorker 中的通信失败:
net.ipv4.tcp_tw_reuse net.ipv4.tcp_tw_recycle这些参数会影响 中套接字的内核处理
TIME_WAIT 地位。Riešenie
在 /etc/sysctl.conf文件中,设置以下参数。
net.ipv4.tcp_tw_reuse = 0 net.ipv4.tcp_tw_recycle = 0其中 1(启用)和 0(禁用)
提醒:建议不要启用这些 TCP 参数,建议在启用它们之前咨询 Linux 供应商。
Ďalšie informácie
该
参数
tcp_tw_reuse 允许主机在 TIME_WAIT 新连接的状态,无需等待套接字关闭。
参数
tcp_tw_recycle 可快速回收坞站中的插槽 TIME_WAIT 地位。默认情况下,Linux 内核会等待两分钟(2 个 MSL),然后关闭套接字 TIME_WAIT 状态(如果应用程序未关闭)。Dotknuté produkty
NetWorkerProdukty
NetWorkerVlastnosti článku
Číslo článku: 000081987
Typ článku: Solution
Dátum poslednej úpravy: 24 máj 2024
Verzia: 6
Nájdite odpovede na svoje otázky od ostatných používateľov spoločnosti Dell
Služby podpory
Skontrolujte, či sa na vaše zariadenie vzťahujú služby podpory.