Hyper-V 2012 -> 2012 R2 Cluster Migration Issues

Quick post more to document an oddity than anything…

Migrating machines from a 2012 cluster to a 2012 R2 cluster using VMM 2012 R2 with mixed results. In particular, I’m seeing the machines duplicated in Failover Cluster Manager – one of the two seems to be the live machine and the second, prefixed with SCVMM (as all VMM created machines are) seems to be broken with various errors such as ID 21502 “Missing or invalid virtual machine ID resource property”. Simply removing the duplicate starting with SCVMM and all seems to be ok.

Odd though.

Hyper-V 2012 VM Error After Cluster Migration

During a recent cluster migration from Hyper-V 2008 R2 SP1 to Hyper-V 2012 (more on that another time) I ran into an interesting issue.


Everything was going well except some machines would not start in Failover Cluster Manager and oddly the machine was not visible in Hyper-V Manager. The following events were logged in the event log:

VM Issue Cluster Event Log

The message from event 21502:

‘VirtualMachineName Configuration’ failed to register the virtual machine with the virtual machine management service.

Event 1069:

Cluster resource ‘VirtualMachineName Configuration’ of type ‘Virtual Machine Configuration’ in clustered role ‘VirtualMachineName Resources’ failed.

Event 1205:

The Cluster service failed to bring clustered service or application ‘VirtualMachineName Resources’ completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.

Event 1254:

Clustered role ‘VirtualMachineName Resources’ has exceeded its failover threshold.  It has exhausted the configured number of failover attempts within the failover period of time allotted to it and will be left in a failed state.  No additional attempts will be made to bring the role online or fail it over to another node in the cluster.  Please check the events associated with the failure.  After the issues causing the failure are resolved the role can be brought online manually or the cluster may attempt to bring it online again after the restart delay period.

Event 21502 obviously explains why the VM isn’t showing in Hyper-V Manager and also why it wasn’t possible to edit the settings of the machine:

VM Issue FCM Settings


In Failover Cluster Manager, right-click the VM and click Remove. This will return the machine in Hyper-V Manager however it still won’t start – you’ll get the following error:

VM Issue Hyper-V Start

Editing the settings of the VM will show that the configuration is invalid:

VM Issue Settings Config Invalid

Fix the network settings and the machine will start.