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

A storage migration fails with error 12711

· 52CE 我爱测

Fixes an issue in which you receive error 12711 when you perform a storage migration from one LUN to another within a cluster.

This article helps you fix an issue in which you receive error 12711 when you perform a storage migration from one LUN to another in a cluster.

Original product version:   Microsoft System Center Virtual Machine Manager
Original KB number:   2819202

Symptoms

When using System Center Virtual Machine Manager and performing a storage migration from one LUN to another within a cluster, the job fails at 99% with the following error:

12711 The cluster resource could not be found (0x138F)

This error can also appear when modifying properties of any virtual machine (VM) on a cluster.

Cause

It can occur if the cluster LUNs have been removed and represented and the cluster configuration of each VM hasn't been updated.

Resolution

To resolve this issue, update the virtual machine configuration for each VM in the cluster.

On each cluster node, open an administrative PowerShell console and run the following commands. These commands update the virtual machine configuration for each VM in the cluster.

Import-Module FailoverClusters  
Get-ClusterResource -c CLUSTERNAME | where {$_.resourcetype.name -eq 'virtual machine configuration'} | Update-ClusterVirtualMachineConfiguration

More information

It has been verified to occur in System Center Virtual Machine Manager 2008 R2 SP1 but may manifest itself in other versions of VMM.

If VMs are already in a failed state in VMM and cannot be repaired, see How to remove a missing virtual machine from the Virtual Machine Manager console on how to remove VMs manually from the database.

Open the WLC_VObjects table in the VirtualManagerDB (VMM database) and find the status code of the VM. The VM name will be in the Name field and the status code will be in the ObjectState field. Once located, replace 220 on the fourth line of the script with the object state found for the VM in question in the WLC_VObject table.

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/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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