Link to home
Start Free TrialLog in
Avatar of Olevo
OlevoFlag for Australia

asked on

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

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
Avatar of Mahesh
Mahesh
Flag of India image

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/
Avatar of Olevo

ASKER

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]
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
Avatar of Olevo

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Olevo
Olevo
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Olevo

ASKER

Didn’t get working solution for my question.Ended up calling Microsoft