NVP-vProxy:備份標示為失敗,但所有 VM 皆成功 「找不到 ID「vm-MOREF」的所選 vCenter 容器工作項目

Summary: NetWorker VMware Protection (NVP) 備份原則標示為失敗,但所有虛擬機器 (VM) 都成功。原則摘要中顯示錯誤:無法在 vCenter 中找到 ID「vm-MOREF」的所選 vCenter 容器工作項目,將會略過工作項目。

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 (NVP) 整合是透過 vProxy 裝置進行設定。
NetWorker Management Console (NMC) 監控標籤會顯示處於失敗狀態的 VMware Policy 工作流程,但所有 VM 均已成功備份。
VMware 保護群組是使用動態關聯與規則進行設定,以判斷群組中的動態虛擬機器和容器。

規則已指派給 VMware 保護群組 

備份摘要顯示以下錯誤:

備份操作日誌顯示 VM 容器物件已跳過 

在 NetWorker 伺服器上的備份動作記錄中也可以看到此錯誤:

[root@nsr ~]# nsr_render_log "/nsr/logs/policy/VMware Protection/VMware Protection - Full VM/backup_192212.raw"
151761 09/12/2025 01:08:33 PM  1 5 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR notice Action backup vmware-vproxy 'backup' has initialized as 'vproxysave job' with job id 192212
204343 09/12/2025 01:08:33 PM  0 26 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR info Starting nsrvim.
185813 09/12/2025 01:08:33 PM  0 0 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR info Calling the nsrvim program to collect the inventory data.
185814 09/12/2025 01:08:33 PM  0 0 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR info Setting default timeout 1800.
185818 09/12/2025 01:08:33 PM  0 0 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR info Using a timeout of 1800 seconds for the nsrvim request. Minimum timeout is 360 seconds. Maximum timeout is 3600 seconds.
204344 09/12/2025 01:08:34 PM  0 26 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR info Getting list of VM work items.
0 09/12/2025 01:08:34 PM  1 5 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR notice 09/12/25 13:08:34.166306 nsrvproxy_save-D0 libCURL SSL support is Enabled.
165099 09/12/2025 01:08:39 PM  3 0 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR error Unable to find selected vCenter container work item with ID "vm-23014" in vCenter, the work item will be skipped.
165099 09/12/2025 01:08:39 PM  3 0 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR error Unable to find selected vCenter container work item with ID "vm-23013" in vCenter, the work item will be skipped.
205578 09/12/2025 01:08:39 PM  1 5 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR notice Transport mode selected from the user for backup: 'Auto'.
205578 09/12/2025 01:08:39 PM  1 5 0 3478079296 18737 0 nsr.amer.lan nsrvproxy_save NSR notice Transport mode selected from the user for backup: 'Auto'.
...

Cause

錯誤訊息回報 VMware 受管物件參照 (MoRef) ID。這些 ID 與 VMware 範本虛擬機器相關聯。 

您可以使用以下兩種方法之一來識別:

v代理 vmconfig

  1. 開啟 SSH 工作階段至 vCenter 上的其中一個 vProxy,然後以系統管理員身分登入。
  2. 切換至 root: sudo su -
  3. 前往 vProxy bin 目錄: cd /opt/emc/vproxy/bin
  4. 載入 vProxy 環境變數檔案: source /opt/emc/vproxy/unit/vproxy.env
  5. 執行下列命令,將 VALUES 替換為環境中的對應

./vmconfig -c info -k "vm-MOREF" -l moref -p 'Password-for-vCenter' -u username-for-vCenter -v vcentername

範例:

nsr-vproxy:~ # cd /opt/emc/vproxy/bin
nsr-vproxy:/opt/emc/vproxy/bin # source /opt/emc/vproxy/unit/vproxy.env
nsr-vproxy:/opt/emc/vproxy/bin # ./vmconfig -c info -k "vm-23013" -l moref -p '!Password1' -u networker_user@vsphere.local -v vcsa.amer.lan
VM Config
vCenter: "vcsa.amer.lan", User: "networker_user@vsphere.local", Password: "!Password1", Lookup Mode: "moref", Lookup Key: "vm-23013", HypervisorMode: "vSphere", Command: "info"
Logged into vCenter 'vcsa.amer.lan'.
Connected to session on vCenter 'vcsa.amer.lan' Version '8.0.3 build-24322831, API:8.0.3.0', Uuid:e5390e5f-912e-4818-ad6e-ea9b878ff57d.
Found virtual machine 'win-template' with MORef 'vm-23013'.
vm-23013: Name: "win-template".
vm-23013: CBT Enabled: false.
vm-23013: Migration Enabled: false.
vm-23013: Backup Locked: false.
Disconnected from session on vCenter 'vcsa.amer.lan'.
Logged out from vCenter 'vcsa.amer.lan'.

VMware 受管物件瀏覽器 (MOB):

  1. 開啟 Web 瀏覽器並輸入以下 URL,將 VALUES 替換為特定於環境的 URL: https://VCENTER_ADDRESS/mob/?moid=VM-MOREF
  2. 出現提示時,輸入您的 vCenter 使用者認證。

範例:

羣

注意:在此實驗室示例中,範本是可識別的,因為名稱包含「範本」;但是,“名稱”可能並不總是暗示這一點。您可以在 vCenter 清查中找到該虛擬機器,以確認該虛擬機器是否為範本:

虛擬機器範本 

在 NetWorker 保護群組中設定的規則會在備份時動態擷取 VM。之所以選取 VMware 範本虛擬機器,是因為有規則集要包含虛擬機器範本。例如: 

  • 有一個 VirtualMachine 基於名稱的規則集,用於包含包含特定字串的 VM。範本字串匹配。
  • 有一個 VmFolder 基於名稱的規則集,用於排除 VMware 中的特定“VM 和範本”資料夾。虛擬機器範本不在 VMware 資料夾中,而是作為工作流程的一部分選取。

NetWorker 不支援 VMware 範本的備份。工作流警告已跳過 VM,因為它不受支援。工作流將標記為失敗,以便可以採取糾正措施將其從基於規則的選擇中刪除。 

 

注意:靜態分配不會出現此問題;表示 VM 已簽入 NetWorker 的 VMware 保護群組。靜態分配方法不會將 VM 範本作為選項顯示。此方法僅會備份 NetWorker 群組中預先定義的虛擬機器。

Resolution

VM 範本必須從動態選擇中排除。 

更新 NetWorker 保護群組所使用的「規則」。以下是如何從動態選擇中刪除範本的一些範例。您可以根據 VMware 環境以及您想要如何管理動態規則型選擇,來設定一或多個規則。VMware 和 NetWorker 系統管理員可自行決定用於避免範本出現範本的方法。

 

  • 將 VMware 範本移至 VMware 中的特定資料夾。在 NetWorker 中建立 以名稱為基礎 的規則,以避免在備份中包含該資料夾。
    VMFolder 
  • 如果範本虛擬機器包含通用字串 (例如:範本)。創建 基於名稱 的規則,以不包括包含該字串的 VM。
    VMname 
  • 在 VMware 中,建立一個類別標籤,並將該標籤指派給虛擬機器範本。此作業必須由 VMware 系統管理員完成。在 NetWorker 中建立 以標籤為基礎 的規則,以不包括具有該標籤的虛擬機器或範本。

標籤

注意:您可以按照其他方法避免備份範本。上面的示例是顯示如何執行此操作的一般建議。上述每個示例都顯示了特定於實驗室的配置,並不表示可在環境中使用的確切參數。您必須定義 VMware 環境專屬的規則,才能從保護群組中正確篩選出範本虛擬機器。


當動態選取不再擷取範本後,工作流程便會根據虛擬機器備份完成狀態標記為成功或失敗。

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000168607
Article Type: Solution
Last Modified: 15 Sept 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.