Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Set-ClusterQuorum

Updated: August 15, 2012

Applies To: Windows Server 2012

Set-ClusterQuorum

Configures quorum options for a failover cluster.

Syntax

Parameter Set: InputObject
Set-ClusterQuorum [-Cluster <String> ] [-DiskOnly <String> ] [-InputObject <PSObject> ] [-NodeAndDiskMajority <String> ] [-NodeAndFileShareMajority <String> ] [-NodeMajority] [ <CommonParameters>]




Detailed 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.

Parameters

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DiskOnly<String>

Causes the cluster quorum to be set to disk only type. This is not recommended as it creates a single point of failure for the cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the cluster on which to change the quorum type.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-NodeAndDiskMajority<String>

Causes the cluster quorum to be set to node and disk majority type. The name of the disk resource to be used as the disk witness is expected with this parameter.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NodeAndFileShareMajority<String>

Causes the cluster quorum to be set to node and file share majority type. The path to the file share to be used as the file share witness is expected with this parameter.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NodeMajority

Causes the cluster quorum to be set to node majority type.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.Cluster

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.FailoverClusters.PowerShell.ClusterQuorumSettings

Examples

Example 1

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


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

Example 2

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.


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

Example 3

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.


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

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.