How to I get/manage the Win2012R2 Cluster Resources [b]Possible[/b]Owners using Powershell ?[code="other"]$InstanceName = 'D006'Get-ClusterResource -Cluster cl11 -Name "SQL Server ($InstanceName)" | where ResourceType -eq 'SQL Server' | Get-ClusterOwnerNode ;[/code][code="plain"]ClusterObject OwnerNodes ------------- ---------- SQL Server (D006) {DV25, DV26, DV27} [/code]This shows the potential owner nodes of the [b]cluster [u]Role[/u][/b] !I need to remove a node from this list. If I user that using [url=https://technet.microsoft.com/en-us/library/ee461001.aspx][b]Remove-ClusterNode[/b][/url] It removes the node from the cluster. [quote]Remove a node from a failover cluster. After the node is removed, it no longer functions as part of the cluster unless you add it back to the cluster.[/quote]That is [b]not the goal[/b], because with Always On, the node has to be joined to the cluster.[img]http://www.sqlservercentral.com/Forums/Attachment17172.aspx[/img]Question is: [size="4"]How do I remove a node from the list of [b]possible[/b] owners of a sql server clustered instance ?[/size]
↧
How to I get/manage the Win2012R2 Cluster Resource of SQL Server Possible Owners using Powershell ?
↧