大网数据广告活动
启动与系统组件

Option isn't available to reprotect VMware VMs

· 52CE 我爱测

The option to reprotect VMware VMs on a new DPM or MABS server isn't available.

This article helps you resolve an issue in which the option to reprotect VMware virtual machines (VMs) on a new Data Protection Manager (DPM) or Microsoft Azure Backup Server (MABS) server isn't available.

Original product version:   System Center 2012 R2 Data Protection Manager, System Center Data Protection Manager version 1801
Original KB number:   4020519

Symptom

When you are using DPM or MABS to protect VMware VMs, there may be a need to move protection of a VMware VM from one DPM/MABS server to another. After you stop protection, you try to add VMware VMs to a different DPM/MAB server, but no check box is available to enable this option. In addition, you may see the following tool tip message:

This item is already protected by DPM Server: <DPMServerName>

Cause

VCenter has a custom attribute called DPMServer that's used to specify the name of the DPM or MABS server that's currently protecting that VM. This prevents other DPM or MABS servers from protecting the already-protected VM. The VMware VM's DPMServer attribute contains the original DPM or MABS server name.

Resolution 1: Use VMware vCenter console

  1. Open VMware vCenter (SC-VMM equivalent) and locate the VM that you want to reprotect.

  2. Select the Summary tab, and then click the edit link in the Annotations section.

  3. In the Edit Annotations dialog box, locate the attribute DPMServer. Move your cursor over the value to display the fully qualified domain name (FQDN) of the DPM server that owns protection of the VM.

  4. Clear the server name from the Value to allow another DPM Server to provide protection. Don't remove the entire attribute, or all scale-out tracking will be lost.

    To clear the value, click the Value box that contains the DPM server name and remove the entry, leaving the box empty. Now, another DPM server can protect that VM. And when it does, the relevant FQDN name will be entered in that box.

  5. On the new DPM or MABS server, modify or make a new protection group. Use the Refresh button to enumerate the VMs. A check box should be available to add the VM of interest to protection.

  6. Add the VM to protection and validate that Initial Replica job starts moving data.

    [!NOTE] Modifications of custom attributes on vCenter are not immediately committed in vCenter. A new backup or consistency check must be run against any guest that's under protection to commit attribute changes.

  7. On the VCenter server, refresh the VM to show the new custom attributes. They should show the new DPM or MABS server name.

The following example shows the properties of a virtual machine called ir-dr-cc-1disk. The DPMserver attribute shows the name of the current DPM server owner.

Resolution 2: Use VMware PowerCli

Use one the following VMware cmdlets to overcome the issue via VMwares' PowerCli.

  • Reset the value on single object (folder)

    Connect-VIServer -Server 10.10.10.10 -Protocol https -User admin -Password pass
    $f = Get-Folder -Name "Folder_name"
    Set-Annotation -Entity $f -CustomAttribute "DPMServer" -Value ""
    
  • Reset the value on single object (VM)

    Connect-VIServer -Server 10.10.10.10 -Protocol https -User admin -Password pass
    $f = Get-VM -Name "VM_Name"
    Set-Annotation -Entity $f -CustomAttribute "DPMServer" -Value ""
    

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/08/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。