PowerShell Logo Small

Set-ClusterQuorum



This is the built-in help made by Microsoft for the command 'Set-ClusterQuorum', 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

Configures quorum options for a failover cluster.

SYNTAX


Set-ClusterQuorum [-Cluster <String>] [-DiskOnly <String>] [-DiskWitness <String>] [-FileShareWitness <String>] [-InputObject <PSObject>] [-NoWitness] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ClusterQuorum cmdlet configures quorum options for a failover cluster. The quorum configuration in a failover cluster determines the number of failures that the
cluster can sustain. If an additional failure occurs, the cluster must stop running. The relevant failures in this context are failures of nodes or, in some cases, of a disk
witness (which contains a copy of the cluster configuration) or file share witness.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321067
Get-ClusterQuorum

REMARKS

<

Examples


Example 1

PS C:\>Set-ClusterQuorum -NodeMajority
Cluster QuorumResource QuorumType
------- -------------- ----------
cluster1 NodeMajority



This example changes the quorum configuration to Node Majority on the local cluster.




Example 2

PS C:\>Set-ClusterQuorum -NodeAndDiskMajority "Cluster Disk 7"
Cluster QuorumResource QuorumType
------- -------------- ----------
cluster1 Cluster Disk 7 NodeAndDiskMajority



This example changes the quorum configuration to Node and Disk Majority on the local cluster, using the disk resource named Cluster Disk 7 for the disk witness.




Example 3

PS C:\>Set-ClusterQuorum -NodeAndFileShareMajority \\fileserver\fsw
Cluster QuorumResource QuorumType
------- -------------- ----------
cluster1 File Share Witness NodeAndFileShareMajority



This example changes the quorum configuration to Node and File Share Majority on the local cluster, using the disk resource at \\fileserver\fsw for the file share witness.