Solved

Can not remove Hyper-V cluster from SCVMM 2012 R2 Server. Cluster node in "pending" status...

Posted on 2015-02-10
6
674 Views
Last Modified: 2015-06-26
I was trying to remove Hyper-V cluster (two Windows 20012 R2 Hyper-V servers) from the SCVMM 2012 R2 server but it failed. Now, I have “partially” removed cluster from the SCVMM console. By partially I mean that one of the node was removed and the other one are still on the “pending” status. I have noticed that SCVMM agent was uninstalled from the two nodes but its look like that SCVMM console didn’t update itself properly or something like that. I tried to add this Hyper-V cluster back to the SCVMM console but it says that this cluster name already registered with SCVMM server.

How can I force to remove this cluster from the SCVMM console?

Thanks in advance
0
Comment
Question by:Olevo
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:Mahesh
ID: 40602651
Try below.
Get-SCVMhostCluster "clustername" | Remove-SCVMHostCluster -Force

OR
Get-SCVMHost "yourpendinghostname" | Remove-SCVMHost -Force

If nothing works try script mentioned in below blog
http://www.miru.ch/how-to-manually-remove-a-host-from-scvmm-2012-sp1/
0
 
LVL 1

Author Comment

by:Olevo
ID: 40604974
Thanks Mahesh,
Get-SCVMhostCluster "clustername" | Remove-SCVMHostCluster -Force
dosnt work for me ;-(
Executing the T-SQL script to manually delete entrees from SQL database looks very scary...

Just before I was attempting to remove Hyper-V cluster..., within the SCVMM console I did create Virtual Machine Manager backup. Can I try to restore this backup with the following command:
SCVMMRecover [-Path <location>] [-Confirm]
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 40605149
Yes, this cmdlet is meant for that.
There are some additional tasks if you recovered database
https://technet.microsoft.com/en-in/library/hh882397.aspx

If still you are not sure may be due to production loss or server being heavily loaded, you can open case with Microsoft and MS Engineer also will delete cluster from VMM Database only in front of you, but with MS way
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Olevo
ID: 40677269
Still have this "pending" status problem. Could someone please confirm that executing the T-SQL script to manually the only way to go? I wish Microsoft would have article on how to fix this.
0
 
LVL 1

Accepted Solution

by:
Olevo earned 0 total points
ID: 40809376
Ended up calling Microsoft…. Microsoft engineer run SQL script to remove “orphan” fields from the VMM database. 5 minutes job…, $390 out of the pocket…, but all good now.
0
 
LVL 1

Author Closing Comment

by:Olevo
ID: 40852580
Didn’t get working solution for my question.Ended up calling Microsoft
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question