Get-ClusterQuorum
Gets information about the quorum configuration of a failover cluster.
Syntax
Get-ClusterQuorum
[[-Cluster] <String>]
[-InputObject <PSObject>]
[<CommonParameters>]
Description
The Get-ClusterQuorum cmdlet gets information about the quorum configuration of 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, then 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.
Examples
Example 1
PS C:\> Get-ClusterQuorum
Cluster QuorumResource QuorumType
------- -------------- ----------
cluster1 Cluster Disk 1 NodeAndDiskMajority
This example displays the quorum configuration for the local cluster.
Example 2
PS C:\> Get-ClusterQuorum -Cluster Cluster1
Cluster QuorumResource QuorumType
------- -------------- ----------
mycluster NodeMajority
This example displays the quorum configuration for the cluster named Cluster1.
Parameters
-Cluster
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.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Specifies the cluster for which to query the quorum type.
Type: | PSObject |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.FailoverClusters.PowerShell.Cluster
Outputs
Microsoft.FailoverClusters.PowerShell.ClusterQuorumSettings
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應