Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2015-02-10
6
Medium Priority
?
1,221 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 38

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 38

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
Problems using Powershell and Active Directory?

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

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
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…
Suggested Courses

886 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