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 可讓主機在以下位置重複使用 TCP 連線: TIME_WAIT 新連接的狀態,無需等待套接字關閉。
參數
tcp_tw_recycle 可快速回收插槽 TIME_WAIT 狀態。根據預設,Linux 核心會等待兩分鐘 (2 x 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.