Sql server 2012 删除WSFC 2012群集角色失败

Sql server 2012 删除WSFC 2012群集角色失败,sql-server-2012,windows-clustering,Sql Server 2012,Windows Clustering,我试图从Windows 2012故障转移群集中删除群集角色,但在WFC Manager GUI和PS中都出现上述错误。AG1群集角色在GUI中仍然可见,而群集核心资源在GUI中为空 请告知如何删除AG1角色以及如何重新显示群集核心资源。作为一种快速解决方法,最终删除了整个群集: PS C:\Windows\system32> get-cluster Name ---- sql2012poc_cl1 PS C:\Windows\system32> get-clustergroup

我试图从Windows 2012故障转移群集中删除群集角色,但在WFC Manager GUI和PS中都出现上述错误。AG1群集角色在GUI中仍然可见,而群集核心资源在GUI中为空


请告知如何删除AG1角色以及如何重新显示群集核心资源。

作为一种快速解决方法,最终删除了整个群集:

PS C:\Windows\system32> get-cluster

Name
----
sql2012poc_cl1


PS C:\Windows\system32> get-clustergroup

Name                                    OwnerNode                               State
----                                    ---------                               -----
AG1                                     srvgnpw049                              Failed
Available Storage                       srvgnpw049                              Offline
Cluster Group                           srvgnpw049                              Online


PS C:\Windows\system32> remove-clustergroup AG1
remove-clustergroup : The object has been deleted from the cluster.
At line:1 char:1
+ remove-clustergroup AG1
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Remove-ClusterGroup], ClusterCmdletException
    + FullyQualifiedErrorId : ClusterObjectNotFound,Microsoft.FailoverClusters.PowerShell.RemoveClusterGroupCommand
PS C:\Windows\system32> get-clusterresource
get-clusterresource : The object has been deleted from the cluster.
At line:1 char:1
+ get-clusterresource
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-ClusterResource], ClusterCmdletException
    + FullyQualifiedErrorId : ClusterObjectNotFound,Microsoft.FailoverClusters.PowerShell.GetResourceCommand
PS C:\Windows\system32>
然后重新创建一个新的

PS C:\Windows\system32> Import-Module FailoverClusters
PS C:\Windows\system32> clear-clusternode
Clear-ClusterNode
Are you sure you want to forcefully clean up cluster node SRVGNPW049?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
PS C:\Windows\system32>