NVP-vProxy:當群組中沒有 VM 時,VM 備份狀態顯示為失敗

Summary: 空的 VMware 群組回報備份失敗。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • NetWorker VMware Protection 整合是透過 vProxy 裝置進行設定。
  • VMware 保護群組是使用與規則的動態關聯來設定的,目的是判斷群組中哪些虛擬機器和容器為動態虛擬機器和容器。
  • 在動態環境中,標記可能不會返回任何導致空組的 VM。備份操作狀態標記為失敗,並出現以下錯誤:
DD/MM/YYYY HH:MM:SS Getting list of VM work items. 
DD/MM/YYYY HH:MM:SS No VM selected as part of static selection.
DD/MM/YYYY HH:MM:SS No excluded VM's are present. 
DD/MM/YYYY HH:MM:SS No VMs obtained for Backup. Verify the static and rule based dynamic associations for VM selection. 
DD/MM/YYYY HH:MM:SS Action backup vmware-vproxy 'backup' with job id 320010 is exiting with status 'failed', exit code 1 
DD/MM/YYYY HH:MM:SS Action has finished with failures.

Cause

由於設計的代碼更改,引入了此行為。此故障的目的是警告備份管理員,其中配置的備份組不包含任何要備份的資源。

Resolution

注意:19.9.0.2 引入了新的更改,允許遮罩此錯誤或警告標記為成功。NetWorker 19.8 及更早版本已終止支援壽命 (EOSL)。確定 NetWorker 伺服器為 19.9.0.2 或更新版本,並執行以下列出的步驟。

下列環境變數必須設定為忽略空白的 VMware 保護群組,並將其標示為成功。

NSR_VPROXY_SUCCESS_ON_NO_VMS_FOUND=TRUE 

Windows:

  1. 在 NetWorker 伺服器的環境 變數> 系統變數下新增一個新變數,如下所示,並指定值 TRUE,如下所示:
NSR_VPROXY_SUCCESS_ON_NO_VMS_FOUND
已建立新變數的螢幕截圖
  1. 重新開機 NetWorker 伺服器以使變更生效。

Linux:

  1. 以下行新增至 /nsr/nsrrc 檔案:
NSR_VPROXY_SUCCESS_ON_NO_VMS_FOUND=TRUE
export NSR_VPROXY_SUCCESS_ON_NO_VMS_FOUND
  1. 連線 nsradmin
nsradmin -p nsrexec
  1. 選取 或列印「NSRLA」資源:
p type: nsrla
  1. 附加 屬性:
append environment variable names: NSR_VPROXY_SUCCESS_ON_NO_VMS_FOUND
  1. 再次選取或列印「NSRLA」資源以驗證您的變更:
p type: nsrla
  1. 重新啟動 NetWorker 服務以使變更生效:
systemctl stop networker
systemctl start networker


套用這些變更後,空群組預期會顯示下列記錄:

DD/MM/YYYY HH:MM:SS Getting list of VM work items. 
DD/MM/YYYY HH:MM:SS No VM selected as part of static selection.
DD/MM/YYYY HH:MM:SS No excluded VM's are present. 
DD/MM/YYYY HH:MM:SS No VMs obtained for Backup. Verify the static and rule based dynamic associations for VM selection. 
DD/MM/YYYY HH:MM:SS Action backup vmware-vproxy 'backup' with job id 384021 is exiting with status 'did not run', exit code 0 
DD/MM/YYYY HH:MM:SS Action has finished successfully.

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000221209
Article Type: Solution
Last Modified: 03 Dec 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.