PowerShell Logo Small

Set-ClusterOwnerNode



This is the built-in help made by Microsoft for the command 'Set-ClusterOwnerNode', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Specifies which nodes can own a resource in a failover cluster or specifies the order of preference among owner nodes for a clustered role, or resource group.

SYNTAX


Set-ClusterOwnerNode [-Cluster <String>] [-Group <String>] [-InputObject <PSObject>] [-Resource <String>] -Owners <StringCollection> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ClusterOwnerNode cmdlet specifies which nodes can own a resource in a failover cluster or specifies the order of preference among owner nodes for a clustered role,
or resource group. The settings that control the possible or preferred owners affect the way the cluster responds to the failure of a resource or a clustered role.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321065
Get-ClusterOwnerNode

REMARKS

<

Examples


Example 1

PS C:\>Get-ClusterResource –Name "Cluster Disk 3" | Set-ClusterOwnerNode -Owners node1,node2



This example sets the possible owners for cluster named Cluster Disk 3 on the local cluster to the nodes named node1 and node2.




Example 2

PS C:\>Set-ClusterOwnerNode -Group cluster12FS -Owners node3,node2



This example sets the preferred owners for the clustered service named cluster12FS to the node named node3 followed by the node named node2 on the local cluster.