NVP-vProxy:禁用存储迁移、重试、错误:VDDK Error: 20005: 来宾操作系统已禁用此操作。
Summary: NVP: 禁用存储迁移、重试、错误:VDDK Error: 20005: 来宾操作系统已禁用此操作。
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 应用装置执行的虚拟机备份失败,并显示:
2017/01/23 13:28:21 WARN: [@(#) Build number: 43] Error disabling storage migration, retrying, error: VDDK Error: 20005: The operation has been disabled by the guest operating system. 2017/01/23 13:28:21 ERROR: [@(#) Build number: 43] Failed to disable storage migration for virtual machine "vm-2159": VDDK Error: 20005: The operation has been disabled by the guest operating system. 2017/01/23 13:28:21 ERROR: [@(#) Build number: 43] Error disabling storage migration for virtual machine "VM_NAME".
Cause
vProxy 尝试在备份之前禁用虚拟机迁移(存储 vMotion)。但是,vCenter Server 已设置为可禁用虚拟机位置调整的选项。此选项可由用户或应用程序(如使用 NVP 的先前备份)设置。如果这是由 NVP 设置的 — 应在备份结束时清除标记,但是糟糕的备份终止可能会导致此清理过程失败。
Resolution
验证问题的步骤:
- 以管理员身份登录 vProxy,然后切换到 root: sudo su - root
- 更改为 bin 目录
cd /opt/emc/vproxy/bin - 运行以下命令以加载库路径:
source ../unit/vproxy.env
- 使用“vmconfig”工具检查迁移是否已禁用:
./vmconfig -c info -k "vm-MOREF" -l moref -p Password-for-vCenter -u username-for-vCenter -v vcentername Example output: Connected to session on vCenter 'vc.ad.box' Version '#####, API:##', Uuid:F8C1509A-EEFA-47E7-AF4A-87C5804B27E6. Searching for virtual machine with MORef "vm-94" ... Querying vCenter for definition of virtual machine with MORef of "vm-94" ... Found virtual machine "VM1" with MORef "vm-94". Name: "VM-dir-101". CBT Enabled: true. Migration Enabled: false.
提醒:要获取“vm-MOREF”,请转至 NMC,单击“show message”和“Get Full log”,在这里您可以看到类似于“vm-1311”的 MOREf。有关更多帮助,请键入“./vmconfig”
如果“已启用迁移”为“false”,请继续执行以下解决方法。如果启用迁移是“true”,则可能需要进一步诊断。在这种情况下,无需应用解决方法。
解决办法:
使用“enable-migration”运行 vmconfig 工具以手动启用迁移
./vmconfig -c "enable-migration" -k "vm-MOREf" -l moref -p **** -u username -v vcentername
示例:
./vmconfig -c "enable-migration" -k vm-94 -l moref -p *** -u administrator@vsphere.local -v 10.1.2.3Additional Information
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000051964
Article Type: Solution
Last Modified: 27 سبتمبر 2023
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.