NVP vProxy:QL VM (MSVMAPPAGENT) 備份失敗,並顯示「從 vProxy 收到錯誤」-400:要求缺少 VM 使用者名稱。""

Summary: 使用 NetWorker VMware Protection (NVP) vProxy 裝置執行的 Microsoft SQL 虛擬機器 (VM) 備份失敗。NetWorker 備份動作記錄顯示「從 vProxy 收到的錯誤 =「-400:要求缺少虛擬機器使用者名稱。」」

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

  • Microsoft SQL 伺服器備份是使用 NetWorker VMware Protection (NVP) vProxy 裝置進行設定。
  • 保護原則的備份動作是在啟用「應用程式一致性」選項的情況下進行設定,以執行 SQL 應用程式一致性 (MSVMAPPAGENT) 備份。
  • 備份失敗,備份動作記錄中回報下列錯誤:
從備份要求收到的錯誤訊息
  • vProxy 的 /opt/emc/vproxy/runtime/logs/vbackup/vbackupd-engine.log 顯示類似的錯誤訊息:
vproxy02:~ # tail -n 15 /opt/emc/vproxy/runtime/logs/vbackupd/vbackupd-engine.log
YYYY-MM-DDTHH:mm:SSZ NOTICE: f07a24dd-e7c3-48e5-8f89-3053c3249a65:vm-1013:win-sql02: Backup session is exiting
YYYY-MM-DDTHH:mm:SSZ TRACE:  Resource Update f07a24dd-e7c3-48e5-8f89-3053c3249a65:externalId=vcsa.amer.lan:vm-1013:state=Success:deletable=true:updatable=true.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4881: Handling action 'GetLog' for 'f07a24dd-e7c3-48e5-8f89-3053c3249a65' ...
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4881: Reply sent successfully for 'GetLog'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Handling action 'DeleteSession' for 'f07a24dd-e7c3-48e5-8f89-3053c3249a65' ...
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleting logfiles of session 'f07a24dd-e7c3-48e5-8f89-3053c3249a65'...
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4882: Deleting log file '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log' of session 'f07a24dd-e7c3-48e5-8f89-3053c3249a65'...
YYYY-MM-DDTHH:mm:SSZ INFO:   File '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log' is moved to '/opt/emc/vproxy/runtime/logs/recycle/vbackupd/20240112_1/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleted log file '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleted resource: vcsa.amer.lan:vm-1013 - f07a24dd-e7c3-48e5-8f89-3053c3249a65.
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4882: Reply sent successfully for 'DeleteSession'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4884: Handling action 'StartSession' for 'BackupVmSessions' ...
YYYY-MM-DDTHH:mm:SSZ ERROR:  Request #4884: Request is missing the VM user name.
YYYY-MM-DDTHH:mm:SSZ ERROR:  Request #4884: Failed to create resource: -400: Request is missing the VM user name.
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4884: Reply sent successfully for 'StartSession'.
  • 未使用「應用程式一致性」的 VM 映像備份已成功完成。

Cause

NetWorker 保護原則中的備份動作在「應用程式一致性」設定中遺失 SQL 例項使用者登入。

Resolution

更新備份動作,以包含具有系統管理員權限的使用者:

螢幕擷取畫面顯示新增了系統管理員使用者名稱

指定的使用者帳戶應具有 sysadmin 權限。這可在 SQL VM 上的 SQL Server Management Studio (SSMS) 中確認:

確認使用者帳戶具有系統管理員權限

Additional Information

MSVMAPPAGENT 可在 SQL VM 上找到記錄 C:\Program Files\DPSAPPS\MSVMAPPAGENT\logs

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000221097
Article Type: Solution
Last Modified: 30 ديسمبر 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.