Solved

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

Posted on 2015-02-10
6
610 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 36

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 36

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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

856 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