Set the preferred site for Windows Server 2016 clusters

Set the preferred site for Windows Server 2016 clusters

Q. How do I set the preferred site for Windows Server 2016 failover clustering?

A. To set the preferred site for a 2016 cluster that has sites defined use:

(Get-Cluster).PreferredSite = <site name, e.g. Dallas>

If you have the situation with multi-active datacenters you can define different preferred sites for different cluster groups which will be used to govern where VMs start initially.

(Get-ClusterGroup <group>).PreferredSite=<site name>

Note that because of the various different levels of preference it may be confusing which wins. The order of priority for placement is:

  1. Storage affinity
  2. Group preferred site
  3. Cluster preferred site
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish