NetWorker: VMware View Refresh Fails "Dispatcher Request Timed Out"

概要: Error fetching vCenter information for ESXi vCenter hostname: Reason Dispatcher Request timed out NetWorker

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

The NetWorker Management Console's (NMC) VMware View times out with the following error.

NetWorker Management Console Time Out Error Message
Figure 1: NetWorker Management Console Time Out Error Message 

A similar error may be observed when performing a VMware recovery from the NMC's recover wizard. The error appears during the step to select a target vCenter.

The NetWorker server's daemon.raw reports: 

Inventory session returned err: Inventory session status returned with a failure. 
Error: 'Failed to load inventory from 'VMWARE-HYPERVISOR-FQDN'. Failed to load Category/Tagging metadata.

原因

  • The vCenter inventory operation is exceeding the max Java heap size (default 2 GB) on the NMC client.
  • Default timeout parameters used by NetWorker processes are exceeded.
NOTE: There are other causes for this type of issue. This KB focuses on symptoms that only seem to impact the NMC functions. Such as the VMware View refresh and NMC recovery wizard. Typically VMware backup operations are not impacted. The settings outlined in this KB may be beneficial; however, for other potential causes, see the Additional Info section.

解決方法

NetWorker Management Console Heap Size:

Increase the Java heap size of the NetWorker Management Console.

  1. Open the gconsole.jnlp file from the NMC installation folder. Default:
Windows: C:\Program Files\EMC NetWorker\Management\GST\web\gconsole.jnlp
Linux: /opt/lgtonmc/web/gconsole.jnlp
  1. The max heap setting is identifiable by -Xmx, for example:
<j2se version="1.8+"  java-vm-args="-Djava.locale.providers=COMPAT -XX:+IgnoreUnrecognizedVMOptions --add-modules=java.se.ee  -Xms256m -Xmx2048m"/>
NOTE: In this example the max heap size is 2048m (2 GB). This means that the NMC client (host accessing the NMC) will only allocate 2 GB to the NMC's "Java(TM) Web Launcher" process. In larger environments, or when querying large amounts of data, it is possible to exceed the default 2 GB limit.
  1. Increase the max heap size to 4096m (4 GB):
<j2se version="1.8+"  java-vm-args="-Djava.locale.providers=COMPAT -XX:+IgnoreUnrecognizedVMOptions --add-modules=java.se.ee  -Xms256m -Xmx4096m"/>
  1. Save the file.
  2. Restart the NMC server service. This will forcibly close any NMC sessions which remain open:
Windows:
net stop gstd
net start gstd
Linux:
systemctl restart gst
  1. Relaunch the NMC.
  2. Perform a VMware View refresh and monitor for completion.
NOTE: Open Task Manager and monitor "Java(TM) Web Launcher" memory usage. If it exceeds 4 GB, wait for inventory refresh to complete before increasing heap size further.

 

Environment Variables:

Add the following two system variables on NetWorker server:

GST_VBA_TIMEOUT=7200
NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT=3600
NOTE: If the NetWorker Management Console (NMC) server is installed on a separate host, the settings must be applied on the stand-alone NMC server as well.

For Windows:

  1. From the dashboard, select Server Manager > Local Server.
  2. Click the hyperlink for the Computer Name.
  3. Select System Properties > Advanced > Environment Variables > New.
Server Manager Dashboard for Windows
Figure 2: Server Manager Dashboard for Windows 
  1. Reboot the NetWorker server operating system.

For Linux:

  1. Create or edit the /nsr/nsrrc file using a text editor:
vi /nsr/nsrrc
NOTE: The /nsrrc file is a variable file used by NetWorker processes, the variables are applied during NetWorker daemon startup.
  1. Add the following lines:
GST_VBA_TIMEOUT=7200
export GST_VBA_TIMEOUT
NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT=3600
export NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT
  1. The finished changes should look similar to:
[root@networker]:~# cat /nsr/nsrrc
JAVA_HOME=/opt/nre/java/latest/
export JAVA_HOME
GST_VBA_TIMEOUT=7200
export GST_VBA_TIMEOUT
NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT=3600
export NSR_HYPERVISOR_QUERY_REQUEST_TIMEOUT
  1. Restart the NetWorker services:
systemctl restart networker
systemctl restart gst

その他の情報

対象製品

NetWorker

製品

NetWorker Family, NetWorker Series
文書のプロパティ
文書番号: 000211688
文書の種類: Solution
最終更新: 22 1月 2025
バージョン:  10
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。