Performing a storage migration from one LUN to another in Virtual Machine Manager fails with error 12711

Article ID: 2819202 - View products that this article applies to.
Expand all | Collapse all

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 VM on a cluster.

Cause

This can occur if the cluster LUNs have been removed and re-presented and the cluster configuration of each VM has not 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

This 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 SCVMM and cannot be repaired, please refer to the following article on how to remove VMs manually from the database:

http://blogs.technet.com/b/mbriggs/archive/2010/08/18/how-to-remove-a-vm-with-the-quot-missing-quot-status-from-the-vmm-console.aspx .

Open the WLC_VObjects table in the VirtualManagerDB (SCVMM 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 4th line of the script with the object state found for the VM in question in the WLC_VObject table.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2819202 - Last Review: February 25, 2013 - Revision: 2.0
Applies to
  • Microsoft System Center Virtual Machine Manager 2008 R2 Service Pack 1
Keywords: 
KB2819202

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com