1 Copper

ESI 3.0 With Server 2012 R2 Hyper-V

Hi -

I am working on a Hyper-V migration from Server 2008 R2 SP1 clusters to Server 2012 R2 clusters. I have installed and integrated ESI 3.0 to help identify passthrough disks connected to VMs on the 2008 R2 cluster which must be disconnected before I can perform VM migrations to the 2012 cluster using VMM.

ESI is working fine on the 2008 R2 clusters however I get the following error when trying to connect to the VM tab on the 2012 R2 nodes:

"Retrieval of Virtual Machines failed. Invalid Namespace"

I am thinking this may be related ESI 3.0 not yet supporting Server 2012 R2 but I am not sure as there is no mention of it in the release notes.

Anyone have experience with this?


Labels (2)
Tags (2)
0 Kudos
1 Reply
1 Copper

Re: ESI 3.0 With Server 2012 R2 Hyper-V


It looks like ESI 3.0 is using a WMI object class and the namespace has been moved in Server 2012 R2:

This used to work in Server 2008 R2 SP1 and in Server 2012:

Get-WmiObject -Class "Msvm_ImageManagementService" -Namespace "root\virtualization"

In Server 2012 R2 this no longer works:

Get-WmiObject : Invalid class "Msvm_ImageManagementService"

    + CategoryInfo          : InvalidType: (:) [Get-WmiObject], ManagementException

    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

In Server 2012 R2 this class was moved to a new Namespace: "root\virtualization\v2"

Get-WmiObject -Class "Msvm_ImageManagementService" -Namespace "root\virtualization\v2"

The above command returns data.

Supporting Links:

0 Kudos