WeetA

Quand normalement rime avec rarement !

Remove-WindowsFeature : Cannot remove Failover Clustering. This server is an active node in a failover cluster

Symptômes

Le rôle Failover Clustering ne peut être supprimé bien que vous ne l'ayez jamais configuré et que le service ClusSvc n'est pas démarré.

PS C:\> Remove-WindowsFeature Failover-Clustering
Remove-WindowsFeature : Cannot remove Failover Clustering This server is an active node in a failover cluster. Uninstalling the Failover Clustering feature on this node may impact the availability of clustered services and applications. It is recommended that you first evict the server from cluster membership.  This can be done through the Failover Cluster Management snap-in by expanding the console tree under Nodes, selecting the node, clicking More Actions, and then clicking Evict.
At line:1 char:22
+ Remove-WindowsFeature <<<<  Failover-Clustering
    + CategoryInfo          : InvalidOperation: (:) [Remove-WindowsFeature], Exception
    + FullyQualifiedErrorId : ConfirmActionOrVetoFailed,Microsoft.Windows.ServerManager.Commands.RemoveWindowsFeatureCommand
Remove-WindowsFeature : Remove was cancelled.
At line:1 char:22
+ Remove-WindowsFeature <<<<  Failover-Clustering
    + CategoryInfo          : OperationStopped: (:) [Remove-WindowsFeature], Exception
    + FullyQualifiedErrorId : AbortRemove,Microsoft.Windows.ServerManager.Commands.RemoveWindowsFeatureCommand

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False   No             Failed    {}

Résolution

Il faut forcer la suppression de la configuration du noeud du cluster

PS C:\> Import-Module FailoverClusters
PS C:\> Get-Cluster
Get-Cluster : The cluster service is not running.  Make sure that the service is running on all nodes in the cluster.
    There are no more endpoints available from the endpoint mapper
At line:1 char:12
+ Get-Cluster <<<<
    + CategoryInfo          : NotSpecified: (:) [Get-Cluster], ClusterCmdletException
    + FullyQualifiedErrorId : Get-Cluster,Microsoft.FailoverClusters.PowerShell.GetClusterCommand
PS C:\> Clear-ClusterNode

Clear-ClusterNode
Are you sure you want to forcefully clean up cluster node LABSERVER?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
PS C:\> Remove-WindowsFeature Failover-Clustering
WARNING: [Removal] Succeeded: [Failover Clustering] Failover Clustering. You must restart this server to finish the removal process.

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True    Yes            Succes... {Failover Clustering}

Ajouter un commentaire

Loading