Tagged: Windows PowerShell
Exchange 2010-2016 Database Availability Group (DAG) cluster timeout settings for VMware
Symptom:
Exchange 2010-2016 Database Availability Group (DAG) active database moves between DAG nodes without any reason, when the DAG nodes are VMware Virtual Machines. This may be due to the DAG node being VMotioned by vSphere DRS cluster.
Solution:
The settings below allow you to VMotion without DAG active databases flipping between nodes for no reason.
Although the tip below is mainly useful for Multi-Site DAG clusters, I have seen this flipping happen even within the same site. So, the recommendation is to do these commands on ANY DAG cluster that is running on VMware.
Instructions:
Substitute your DAG name for an example DAG name below, yourDAGname or rpsdag01.
On any Mailbox Role DAG cluster node, open Windows PowerShell with modules loaded.
Type the following command to check current settings:
cluster /cluster:yourDAGname /prop Note the following Values: SameSubnetDelay SameSubnetThreshold CrossSubnetDelay CrossSubnetThreshold |
Type the following commands to change the timeout settings.
cluster /cluster:yourDAGname /prop SameSubnetDelay=2000 cluster /cluster:yourDAGname /prop SameSubnetThreshold=10 cluster /cluster:yourDAGname /prop CrossSubnetDelay=4000 cluster /cluster:yourDAGname /prop CrossSubnetThreshold=10 |
Type the command to check that settings took
cluster /cluster:yourDAGname /prop
You ONLY need to run this on ONE DAG node. It will be replicated to ALL the other DAG nodes.
More Information:
See the article below:
http://technet.microsoft.com/en-us/library/dd197562(v=ws.10).aspx
How to disable cluster shared volumes (CSV) on Windows Server 2008 R2.
Description:
Cluster Shared Volumes (CSV) are shared drives holding an NTFS volume that can be written to by all cluster nodes in a Windows Server Failover Cluster.
They are especially important for Microsoft Hyper-V virtualization, because all host servers can see the same volume and can store multiple Virtual Machines on that volume. Using CSVs will allow Windows to perform Live Migration with less timeouts.
Unfortunately, many third party applications do not support CSVs. In addition, CSVs can be much harder to troubleshoot.
Instructions:
If you need to disable CSVs, use the following command in PowerShell:
Get-Cluster | %{$_.EnableSharedVolumes = “Disabled”}
References:
http://windowsitpro.com/windows/q-how-can-i-disable-cluster-shared-volumes-windows-server-2008-r2