Solved

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

Posted on 2015-02-10
6
483 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 35

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 35

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now