Configuring SQL Server Failover Support

Microsoft® Failover Support for SQL Server, in conjunction with Microsoft Windows NT® Clustering Service for Windows NT Server, Enterprise Edition, allows you to set up a cluster of two servers to provide high-availability support for Microsoft SQL Server™.

The following figure shows the main components of a Microsoft Failover Support for SQL Server configuration.

The main components are:

A virtual server configuration is not the same as a standby server configuration. A standby server contains a second copy of SQL Server and a second copy of the SQL Server database. In a virtual server configuration, there is a single copy of the database, located on a common external disk, that is shared by the primary and secondary physical servers that make up the cluster and host the virtual server. Only one server in the cluster has control over the shared disk resource at a time.

Rather than associating SQL Server with a physical Windows NT Server, Clustering Service virtual server technology allows you to place SQL Server and SQL Server Agent cluster resources into a virtual server. The SQL Server virtual server’s name is independent of the physical node name on which the virtual server runs (the names of the physical Windows NT Servers and the SQL Server virtual server must be different). Regardless of which physical Windows NT Server in the cluster controls SQL Server, the virtual server name and address remains the same.

Clients connect to a SQL Server virtual server using the virtual server name, rather than a physical Windows NT Server name. The SQL Server virtual server name is implemented as a cluster network name resource and maps to a primary or backup node, depending on which node hosts the virtual server. Any client that uses WINS or directory services to locate servers can track the virtual server automatically as it moves between nodes. Automatically tracking the SQL Server virtual server does not require client modification or reconfiguration (this includes SQL Server Enterprise Manager and any OLE DB, ODBC, or DB-Library client applications).

At failover, client reconnection is necessary (the clients reconnect to the same virtual server name). SQL Server is started on the secondary node and any transactions that were in process during the system failure are rolled back automatically.

SQL Server Failover Configurations

There are two main types of failover configurations:

Networks Supported with Clustering

SQL Server supports a subset of available network protocols when running in a clustered configuration. Clustering Service support allows failover of network addresses and names, which is supported for TCP/IP Sockets and Named Pipes. Server cluster setup, which sets up SQL Server cluster support, depends on Named Pipes. You can configure SQL Server to use TCP/IP Sockets support as long as Named Pipes is also supported. If you do not want SQL Server to listen for Named Pipes connections you can remove Named Pipes support prior to clustering, or after cluster setup by first unclustering and running SQL Server setup.

For more information, see the online Clustering Service Administrator’s Guide, available with Windows NT Server, Enterprise Edition.


Note The SQL Server Full-Text Search feature does not currently support Windows NT Clustering Service.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.