Configure Cluster Quorum NodeWeight Settings
Windows Server 2008 and in Windows Server 2008 R2 it is compulsory to execute below hotfix in the servers..
A hotfix is available to let you configure a cluster node that does not have quorum votes in Windows Server 2008 and in Windows Server 2008 R2
In order to View
------------------------------
Import-Module FailoverClusters
$cluster = "LapCluster"
$nodes = Get-ClusterNode -Cluster $cluster
$nodes | Format-Table -property NodeName, State, NodeWeight
output:-
Adjusting Voting Rights for the cluster:-
----------------------------------------------------------------
PowerShell:-
launch Windows Powershell using Administrator account..
Import-Module FailoverClusters
(Get-ClusterNode –Name
"NodeName").NodeWeight=1
Get-ClusterNode | fl Name, NodeWeight
Example:-
PS C:\Windows\System32>
(Get-ClusterNode –Name “
Node1”).NodeWeight=1 PS C:\Windows\System32>
(Get-ClusterNode –Name “Node2
”).NodeWeight=1 PS C:\Windows\System32> Get-ClusterNode | fl Name,NodeWeight
How to remove the votes of nodes:-
PowerShell:-
launch Windows Powershell using Administrator account..
Import-Module FailoverClusters
Example:-
PS C:\Windows\System32> (Get-ClusterNode –Name “
Node1”).NodeWeight=0
Why below Error:-
Exception setting "NodeWeight": "Unable to save property changes for 'Node2'."
At line:1 char:33
+ (Get-Clusternode -Name "Node2"). <<<< nodeWeight=0
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
Force Cluster to start at DR site node
Sometime, With the failure of the primary data center, quorum will be lost. In order to bring the cluster service up on the remote node, then quorum must be forced, to start on the node at the DR site.
Start-ClusterNode –Name "<NodeName>" -FixQuorum
Example:-
PS C:\Windows\System32> Start-clusternode –Name “Node3” -FixQuorum
Output
Name ID State
------ ----- --------
Node3 3 joining
Now Confirm that Cluster has started on the node:-
Get-ClusterNode –Name “<NodeName>”
C:\Windows\System32> Get-ClusterNode –Name “Node3”
Name ID State
------ ----- --------
Node3 3 Up
Thank's for reading...
Thank's for reading...