• SQL Server
  • Log Shipping Tricks Demo
  • SQLCruise Alaska 2012 Pics
SQLSoldier News From the Frontlines

Multi-subnet Failover Clusters

January 1, 2011 4:46 pm / 3 Comments / SQLSoldier


Multi-subnet Failover Clusters

I want to take a closer look at one of the new features in SQL Server Denali. While everyone has been drooling over HADRON, another HA feature has gone mostly unnoticed. I haven’t heard anyone talking about it yet, so this should be an introduction to this new feature, Multi-subnet Failover Clusters.

Geographically Dispersed Failover Clusters

Geographically Dispersed Failover Cluster

Geographically Dispersed Failover Cluster


Multi-subnet failover clusters is an enhancement to an existing technology, geographically dispersed failover clusters. SQL Server 2008 and Windows Server 2008 introduced geographically dispersed failover clusters, often called stretch clusters or geo-clusters. It allows you to stretch a cluster across mutliple data centers to provide a greater level of availability and also provides protection at the storage level by having more than a single copy of the data.

The downside of a geo-cluster that you cannot simply select two datacenters and set up a geo-cluster. Implementing a geo-cluster requires a stretch VLAN so that all nodes are in the same subnet. Currently, SQL Server failover clustering does not support multiple subnets. A geocluster allows quick failover between all nodes of the cluster; however, failover between nodes in the same site is measurably faster.

* Note: the above image is also downloadable as a Visio Drawing: GeoCluster.vsd (172 K)

Multi-subnet Failover Clusters

SQL Server Denali (SQL 11) takes geo-clustering a step further and enables you to set up a failover cluster using nodes in different subnets. This is available for both geo-clusters and local clusters. This eliminates the requirement for a stretch VLAN.

Multi-Subnet Failover Cluster

Multi-Subnet Failover Cluster


When a failover cluster is configured with multiple IP addresses with nodes in different subnets, it will set the dependency to be an OR dependency instead of an AND dependency. This allows the cluster to come online as long as it is able to bind to any 1 IP address. Currently, we only have the option to set AND dependencies on the IP addresses for the cluster network name which requires that all IP addresses be online for the cluster to come online.

When a failover occurs from one subnet to another, Windows clustering updates the DNS entry for the cluster virtual name to direct users to the other subnet. As a result, connections to the cluster will fail until the DNS update propagates and clients get the new IP address. A subnet failover will have a noticeably longer failover time than a local failover cluster and the failover across sites will be longer than for a single-subnet cross-site failover due to the dependency on updating the DNS record for the network name.

This new functionality allows for new failover cluster configurations that support multiple levels of failover and even provides disaster recovery functionality. You can mix local clusters and multi-subnet clusters. The local nodes can be used as the primary failover and the subnet failover as a secondary failover. This would provide quick failover (High Availability) for most issues and subnet failover to protect against site outage or SAN outage (Disaster Recovery).

This is a huge step forward in ease of setup and supportability of a geo-cluster, but due to the longer failover time for cross-site failovers, it won’t be the best choice for all situations that call for multi-site protection.

* Note: the above image is also downloadable as a Visio Drawing: MultiSubnetCluster.vsd (176 K)

Posted in: SQL Server / Tagged: Clustering, Denali, Disaster Recovery, High Availability

3 Thoughts on “Multi-subnet Failover Clusters”

  1. Pingback: Multi-subnet Failover Clusters

  2. Dave Levy on March 3, 2011 at 6:37 pm said:

    I noticed your diagrams are showing the geo-clusters as 4 node clusters but everyone I have talked to says that they should be 3 node. I have even heard people claim that MS only supports 3 node geo-clusters but have yet to see any doc to confirm that.

    Personally, I prefer 4 nodes to allow for HA while at the DR site. Have any thoughts one way or the other?

    Reply↓
    • SQLSoldier on March 3, 2011 at 7:26 pm said:

      The images were for entertainment purposes only. :D

      Seriously though, they are talking about node majority. A standard implementation is to have an odd number of nodes (3, 5, 7, etc.) with the greater amount in the primary data center. The reason for this is so that if there is communication loss between the data centers, the site with >half of the nodes will continue to operate whereas the site with

      The alternative is to use node and file share majority.

      There is a good whitepaper here: http://download.microsoft.com/download/3/B/5/3B51A025-7522-4686-AA16-8AE2E536034D/WS2008%20Multi%20Site%20Clustering.doc

      Reply↓

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation

← Previous Post
Next Post →
<

Remote DBA Services
- serious SQL Server expertise for less than a full-time DBA
My Articles
 
My Book
Check out my interview on

Extreme Data Recovery (with Argenis Fernandez)
10 Things all BI System Administrators Should Know
Upcoming Events
    All events shown in Pacific Time

    No events to show

RSS My SQL Server Magazine Articles

  • Database Mirroring for Disaster Recovery September 16, 2011
  • Comparative Review: Database Schema Comparison Tools August 24, 2011
  • 3 Log Shipping Techniques June 22, 2011
  • Hardening SQL Server June 20, 2011
  • Review: ScriptLogic Security Explorer for SQL Server February 8, 2011

Tags

31 Days of Disaster Recovery Architecture Automation CDC & Change Tracking Data Architecture VC Database Mirroring DBCC Denali Disaster Recovery Dynamic Management Views Extended Events Gamers & Geeks General Discussion High Availability How do I ... ? Humor Idera ACE Program Internals MCM Meme Monday Performance & Optimization PowerShell Professional Development Replication Security SQLBits SQL PASS SQL PASS Summit SQLRally SQL Saturday SQL Server Magazine SQL University SSAS & BI SSIS SSMS SSRS T-SQL T-SQL Tuesday tempDB Tips & Tricks Travel Troubleshooting Undocumented Stuff Whitepapers XML in SQL

News

Download my Powershell Scripts

The following scripts can be downloaded as text files. You will need to change the file extension to .ps1 in order to execute them.

Backup a database
Restore a database
Scan a server to find a free port
Query DNS to get the FQDN of a server


To see some examples of my other forms of writing, please visit my page on WritersCafe.org. It is almost exclusively horror fiction, but I sometimes throw other things in there too from time to time. There's one science fiction story, a couple of poems, and quite a few humor pieces as well.


Look for me in the SQL Q&A section of the August, 2007 issue of TechNet Magazine.
August issue of TechNet Magazine's SQL Q&A column

Protect our Heroes

© Copyright 2012 - Robert L Davis
Infinity Theme by DesignCoral / WordPress

Twitter Twitter 
LinkedIn LinkedIn 
TLF TLF RSS RSS 
WritersCafe WritersCafe 
SQLPASS SQLPASS 
Facebook Facebook
grab this