NetWorker: 네트워킹 구성에 대한 모범 사례

요약: 이 문서는 NetWorker 호스트에 필요한 표준 네트워킹 튜닝 가능 항목에 대한 간단한 기준을 제공하기 위해 작성되었습니다.

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

증상

  • 다음을 포함하되 이에 국한되지 않는 네트워킹 또는 호스트 접속 구성 관련 오류:
  • 실제 데이터 전송을 완료한 것으로 보이는 백업 실패
  • 일반화된 리소스 고갈 또는 통신 붕괴
GSS warning Session information (number hex:hex) registered by user for nsrexecd has expired because a NetWorker daemon had not requested it after 120 minutes
GSS error Session information (number hex:hex) was requested by nsrmmd but the session has expired
RPC severe Unable to query NSR database for list of configured devices: RPC receive operation failed; peer = ip_addr:port, errno = Connection timed out
RPC severe Unable to query NSR database for list of configured devices: RPC send operation failed; peer = ip_addr:port, errno = Broken pipe
NSR notice Chunking ssid ssid failed, because saveset was aborted
ddp_open_file_ext() failed for File: //mtree/vol_dir/nn/nn/long_ssid, Err: 5004-nfs lookup failed (nfs: No such file or directory) ).
NSR critical Connectivity check request is failed for: SN_CONN_REPORT_DD type data_domain device
RPC error RPC client handle: No route to host.
RPC error RPC client handle: Connection refused.
RPC error Unable to create the connection with 'portmapper' to host 'hostname' with address 'ip_addr' at port number 7938.
RPC critical Aborting client connection from ip_addr: Connection timed out.
RPC critical Check whether the firewall is blocking the client ports on the host 'hostname'.
RPC critical Check whether the client services are running on the host 'hostname'.

원인

NetWorker는 일반 작업 중에 로컬 및 원격 호스트에 대한 많은 소켓을 생성하는 애플리케이션입니다. 일반적으로 서버 및 스토리지 노드가 더 많이 생성하지만 클라이언트 구성도 작업 성공에 영향을 줄 수 있습니다. 

킵라이브: NetWorker 호출자 프로세스는 수신기 데몬에 연결할 소켓을 생성하지만 사용되지 않는 리소스를 회수하는 네트워크 디바이스로 인해 유휴 연결이 중단될 수 있습니다. 일반적으로 이를 위해서는 NetWorker Server 및 노드에 대해 기본적으로 연결 유지가 활성화되어 있어야 하며 클라이언트에 문제가 발생합니다. NetWorker에는 일부의(전부는 아님) 바이너리에 대한 자체 내부 keepalive 처리가 있습니다. 운영 체제에는 기본적으로 작동해야 하는 keepalive도 있습니다.

포트 가용성: NetWorker 소켓이 통신하려면 임시 포트가 필요하지만 OS는 기본적으로 이 범위를 제한합니다. 통신이 제한되거나 중단되지 않도록 완전히 확장하십시오. 포함 nsrauth 활성화됨(기본값)인 경우 각 소켓에는 최소 3개의 포트가 필요합니다. 오류가 빠르게 재시도되고 포트가 들어간 상태로 유지 TIME_WAIT 성공적으로 연결될 때까지. 이러한 이유로 사용 가능한 최대 포트 수를 늘려야 합니다. TIME_WAIT 이상적으로 낮춘 상태.

다른 장기 실행 소켓은 더 높은 복원력을 가능하게 하거나 버퍼링을 개선하는 특정 내부 소프트웨어 변수로 강화될 수도 있습니다.

해결

다음은 운영 체제 및 호스트 클래스별 일반적인 권장 설정과 해당 구현 명령입니다. 항상 적용 가능성은 다양합니다. 보편적으로 바람직하다고 간주되는 것들은 주석 처리되지 않은 반면, 더 다양한 적합성을 가진 것들은 주석 처리되지만 필요에 따라 사용할 수 있습니다. 이러한 설정은 일반 권장 사항으로 선의로 제공되지만 구현 전에 운영 체제 관리자가 검토해야 합니다. 이는 서버 및 스토리지 노드에 대한 모든 모범 사례, 기본 모범 사례로 간주됩니다. 클라이언트 적합성은 구성과 역할에 따라 다릅니다. 충돌하는 서버 역할은 권장 설정보다 우선할 수 있으므로 배포할 때 역할별 요구 사항이 우선되어야 합니다.

리눅스: 모든 적절한 설정을 /nsr/nsrrc 서비스 시작 시 실행되려면 전역 읽기/실행 권한(755)이 있어야 하는 파일입니다. 기본 표준 항목은 주석 처리되지 않고 비표준 또는 상황 옵션이 주석 처리됩니다. 다음을 사용하여 설정 가용성 변경 # 접두사를 사용합니다. 파일을 배포하는 위치에 따라 NetWorker Client, 노드 또는 Server에 관련된 파일로 파일을 트리밍합니다. 변경한 후에는 서비스를 다시 시작해야 합니다. 

### GENERAL USAGE AND CONFIRMATION OF ENGAGEMENT
# This file will only be read, parsed and executed if permissions are set to 755 EXACTLY.
# Note that for Linux / Unix systems, it will only be engaged at service startup time, and will only 
# affect NetWorker runtime environment, overriding system settings, but leaving them in place for all
# other operations. Changes to nsrrc require service restart to be engaged. To confirm parameters
# are being engaged, check /nsr/nsrrc.log for datestamps and values. See end of script for details.

### LINUX - For all NetWorker hosts - Clients, Nodes and Server
NSR_KEEPALIVE_WAIT=10
export NSR_KEEPALIVE_WAIT
NSR_EXEC_MAX_AUTH_THREADS=50
export NSR_EXEC_MAX_AUTH_THREADS
# NSR_SOCK_BUF_SIZE=65536 # (262144 for 10 Gb ETH NICs)
# export NSR_SOCK_BUF_SIZE

# NetWorker internal keepalive settings for some, but not all binaries - 4.5 minutes to ensure keepalives are passed before the increasingly common 5 minute router idle socket kill timer
NW_TCP_KEEPIDLE_SECS=270
export NW_TCP_KEEPIDLE_SECS
NW_TCP_KEEPINTVL_SECS=75
export NW_TCP_KEEPINTVL_SECS
NW_TCP_KEEPCNT=20
export NW_TCP_KEEPCNT

# OS-level keepalive values - also set to 4.5 minutes for the same reason
sysctl -w "net.ipv4.tcp_keepalive_intvl=75"
sysctl -w "net.ipv4.tcp_keepalive_probes=20"
sysctl -w "net.ipv4.tcp_keepalive_time=270"

# Set kernel limits to ensure core dump generation
ulimit -Sn 262144
ulimit -Sc unlimited

### For NetWorker Storage Nodes and Server
# Set kernel limits to provide maximum file descriptor availability
ulimit -Hn 262144
ulimit -Hc unlimited

# Globally disable IPv6, if it is not necessary for operation:
# sysctl -w "net.ipv6.conf.all.disable_ipv6=1"

# Disable dynamic TCP window scaling - requires compatible equipment in the data path, as well as ECN
sysctl -w "net.ipv4.tcp_window_scaling=0"
sysctl -w "net.ipv4.tcp_ecn=0"

# Raise connection backlog (hash tables) to the maximum value allowed if desired
# sysctl -w "net.ipv4.tcp_max_syn_backlog=8192"
# sysctl -w "net.core.netdev_max_backlog=8192" # (For 10 Gb Eth use the value = 30000)

# Raise memory size available for TCP buffers as needed
# sysctl -w "net.core.rmem_default=262144"
# sysctl -w "net.core.wmem_default=262144"
# sysctl -w "net.core.rmem_max=16777216"
# sysctl -w "net.core.wmem_max=16777216"
# sysctl -w "net.ipv4.tcp_rmem=8192 524288 16777216"
# sysctl -w "net.ipv4.tcp_wmem=8192 524288 16777216"

# Increase shared memory pool if required - particularly for immediate mode on Storage Nodes
# sysctl -w kernel.shmmax = 2147483648 # - e.g. 2 GB
# sysctl -w kernel.shmall = 2147483648 # - e.g. 2 GB

# Available TCP client ephemeral port range increase from default:
sysctl -w "net.ipv4.ip_local_port_range=10000 64000"

# Enable TCP Time Wait Reuse for very high load servers and nodes to increase socket reuse availability
sysctl -w "net.ipv4.tcp_tw_recycle=0"
sysctl -w "net.ipv4.tcp_tw_reuse=2"

# Lower TIME_WAIT delay to close connections more quickly. This may not be necessary in concert with tw_reuse.
# sysctl -w "net.ipv4.tcp_fin_timeout=30"

# NFS I/O concurrency:
sysctl -w "sunrpc.tcp_slot_table_entries=128"
sysctl -w "sunrpc.udp_slot_table_entries=128"

### For NetWorker Server only
# Settings to increase device resilience for cloud operations or other potentially high-latency devices
# NSR_DEVOP_TIMEOUT=3600
# export NSR_DEVOP_TIMEOUT
# NSR_DEVOP_POLLING_INTERVAL=600
# export NSR_DEVOP_POLLING_INTERVAL
# NSR_DEVOP_INQUIRY_TIMEOUT=900
# export NSR_DEVOP_INQUIRY_TIMEOUT

### Media database tunables
# NSR_TCP_READ_LONG_WAIT=Y
# export NSR_TCP_READ_LONG_WAIT
# NSR_MAX_MEDIADB_RETRY=10
# export NSR_MAX_MEDIADB_RETRY
# MMDB_SQLITE_CONFIGURE_MEMORY=1
# export MMDB_SQLITE_CONFIGURE_MEMORY
# MMDB_SQLITE_PAGECACHE_SIZE=65536
# export MMDB_SQLITE_PAGECACHE_SIZE
# MMDB_SQLITE_PAGE_COUNT=65536
# export MMDB_SQLITE_PAGE_COUNT
# MMDB_SQLITE_HEAP_SIZE=1073741824
# export MMDB_SQLITE_HEAP_SIZE
# MMDB_SQLITE_HEAP_MIN_ALLOC_SIZE=128
# export MDB_SQLITE_HEAP_MIN_ALLOC_SIZE

### NetWorker VMware Protection (NVP) Specific Tunables
## Increase the inventory (nsrvim) default timeout 
# GST_VBA_TIMEOUT=7200
# export GST_VBA_TIMEOUT
# NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT=3600
# export NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT

## NW server interval to change VMware inventory (nsrvim) frequency (Default is 15 minutes)
## NOTE only supported in 19.10.0.0 and later
# NSRVIM_TIME_INTERVAL=60 # Interval is in minutes and can be set between 15 and 60.
# export NSRVIM_TIME_INTERVAL

# Confirmation parameters added to end of script - comment or modify as desired.
echo "### $(date +%FT%T) - Starting with nsrrc parameters ###" >> /nsr/nsrrc.log 
sysctl -a >> /nsr/nsrrc.log 
env >> /nsr/nsrrc.log 
ulimit -a >> /nsr/nsrrc.log


Windows: 이후 /nsr/nsrrc Windows의 경우 파일이 없습니다. 예를 들어 배치 파일을 사용하여 변경 사항을 실행해야 합니다. nsrrc.bat 또는 다른 배포 방법. 명령 기반 옵션이 있는 경우 여기에 명령이 제공됩니다. 이러한 변경은 전역적이며 반복적으로 실행할 필요가 없습니다. 리눅스처럼 nsrrc 파일, 기본 표준 항목은 주석 처리되지 않고 비표준 또는 상황 옵션이 주석 처리됩니다. 다음을 사용하여 설정 가용성 변경 REM 접두사를 사용합니다. 파일을 배포하는 위치에 따라 NetWorker Client, 노드 또는 Server에 관련된 파일로 파일을 트리밍합니다. 변경한 후에는 서비스를 다시 시작해야 합니다.

REM ### WINDOWS - For all NetWorker hosts - Clients, Nodes and Server
REM # TCP window size tuning - greater throughput / Data Domain
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters /v DefaultSendWindow /t REG_DWORD /d 262144 /f
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters /v DefaultReceiveWindow /t REG_DWORD /d 262144 /f
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v GlobalMaxTcpWindowSize /t REG_DWORD /d 262144 /f
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v TcpWindowSize /t REG_DWORD /d 262144 /f

REM # Global keepalive registry settings - 270s to fall below common idle socket timer kills of 300s
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v KeepAliveTime /t REG_DWORD /d 270000 /f
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v KeepAliveInterval /t REG_DWORD /d 75000 /f
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v TcpMaxDataRetransmissions /t REG_DWORD /d 20 /f

REM # Global NetWorker keepalive and connectivity variables
setx /m NW_TCP_KEEPIDLE_SECS 270
setx /m NW_TCP_KEEPINTVL_SECS 75
setx /m NW_TCP_KEEPCNT 20
setx /m NSR_KEEPALIVE_WAIT 10
setx /m NSR_EXEC_MAX_AUTH_THREADS 50
REM setx /m NSR_SOCK_BUF_SIZE=65536 # (262144 for 10 Gb Eth NICs)

REM ### For NetWorker Storage Nodes and Server
REM # Standard TCP features - disable in case of disconnections
REM netsh interface tcp set global rss=disabled
REM netsh interface tcp set global autotuning=disabled
REM netsh interface tcp set global ecncapability=disabled
REM netsh interface tcp set global timestamps=default

REM # Port range availability for TCP client callers
netsh int ipv4 set dynamicport tcp start=10000 num=54000
netsh int ipv4 set dynamicport udp start=10000 num=54000
netsh int ipv6 set dynamicport tcp start=10000 num=54000
netsh int ipv6 set dynamicport udp start=10000 num=54000

REM # Global port maximum (deprecated) and TIME_WAIT window
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v MaxUserPort /t REG_DWORD /d 65535 /f
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f

REM # Disable IPv6 if not required
REM reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0x000000ff /f

REM ### For NetWorker Server only
REM # Settings to increase device resilience for cloud operations or other potentially high-latency devices
REM setx /m NSR_DEVOP_TIMEOUT 3600
REM setx /m NSR_DEVOP_POLLING_INTERVAL 600
REM setx /m NSR_DEVOP_INQUIRY_TIMEOUT 900

REM ### Settings for media database tuning
REM setx /m NSR_TCP_READ_LONG_WAIT Y
REM setx /m NSR_MAX_MEDIADB_RETRY 10
REM setx /m MDB_SQLITE_HEAP_MIN_ALLOC_SIZE 128
REM setx /m MMDB_SQLITE_CONFIGURE_MEMORY 1
REM setx /m MMDB_SQLITE_HEAP_SIZE 1073741824
REM setx /m MMDB_SQLITE_PAGE_COUNT 65536
REM setx /m MMDB_SQLITE_PAGECACHE_COUNT 65536
REM setx /m MMDB_SQLITE_TMP path_to_temp_dir

REM ### NetWorker VMware Protection (NVP) Specific Tunables
REM ## Increase the inventory (nsrvim) default timeout 
REM setx /m GST_VBA_TIMEOUT 7200
REM setx /m NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT 3600

REM ## NW server interval to change VMware inventory (nsrvim) frequency (Default is 15 minutes)
REM ## NOTE only supported in 19.10.0.0 and later
REM setx /m NSRVIM_TIME_INTERVAL 60 
REM ## Interval is in minutes and can be set between 15 and 60.
 

추가 정보

해당 제품

NetWorker
문서 속성
문서 번호: 000218894
문서 유형: Solution
마지막 수정 시간: 06 4월 2026
버전:  7
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.