Home > VMM2012 > VM Appears in wrong cluster in VMM Console after Export and Import

VM Appears in wrong cluster in VMM Console after Export and Import

We have VMM 2012 SP1 that manage 2 different clusters "Windows 2012 Cluster and Windows 2008 R2 SP1 Cluster".

We have One VM that were hosted on Windows 2008 R2 cluster. We need to migrate to Windows 2012 and for some reasons we exported from Windows 2008 R2 Cluster and imported to Windows 2012 Cluster. The process went fine without any problem on Hyper-V level "Export and import" and VM is deleted from 2008 R2 using Failover cluster console and now appears on Windows 2012 cluster but VMM see this VM on Windows 2008 R2 Cluster.

So after a small advise from Microsoft we found that we had to delete the wrong record from the VMM DB “Make sure to take full backup for VMM DB before that”

1-Open SQL Server Management Studio.

2-Connect to database of SCVMM.

3-Run this query to check if we have two records:

Select Name from dbo.tbl_WLC_VObject where Name='{Name of VM in SCVMM}’

4-If so, please check which one is associated with Hyper-V cluster 2008 R2. Then follow these steps to delete it:

1) Stop the SCVMM service: net stop vmmserver

2) Do the following command when connected to the DB server via SQL Management Studio:

  Delete from dbo.tbl_WLC_VObject where Name='{Name of VM in SCVMM}’

3) Restart the SCVMM service : net start vmmservice

Advertisements
Categories: VMM2012
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: