SQL Server Documentation

Database Engine / Failover Cluster Instances

SQL Server Failover Cluster Instances

A SQL Server Failover Cluster Instance (FCI) is a single instance of SQL Server that is installed across two or more nodes in a Microsoft Windows Server Failover Cluster (WSFC). An FCI provides instance-level failover capabilities, meaning that if one node fails, SQL Server can automatically start on another node without any data loss or downtime for the application.

Key Concepts

Benefits of Using FCIs

Components of a SQL Server FCI

Component Description WSFC Integration
SQL Server Instance The core SQL Server software. Runs as a cluster resource.
SQL Server Network Name (Cluster Resource Name) The virtual name clients use to connect. A cluster resource.
SQL Server IP Address (Cluster Resource) The virtual IP address for the instance. A cluster resource.
Shared Disk Resource Represents the storage accessible by all nodes. A cluster resource, managing ownership of the disk.
SQL Server Agent Manages scheduled jobs and alerts. Runs as a clustered resource, dependent on the SQL Server instance.
SQL Server Analysis Services (Optional) Can be clustered as part of an FCI. Can be configured as a separate clustered resource.

Configuration and Management

Configuring a SQL Server FCI involves installing SQL Server in a clustered mode on each node. During installation, you specify the virtual network name, virtual IP address, and the shared storage to be used. Management typically involves using Failover Cluster Manager and SQL Server Management Studio (SSMS).

Important Note:

SQL Server FCIs require shared storage. For scenarios requiring storage redundancy and data mobility without shared storage, consider SQL Server Always On Availability Groups (AGs). AGs offer more granular control over database availability and can span different storage solutions.

Installation Steps Overview:

  1. Ensure a functional Windows Server Failover Cluster is in place.
  2. Prepare shared storage accessible by all cluster nodes.
  3. Install the first node of the SQL Server FCI. Specify the cluster settings, VNN, VIP, and shared storage.
  4. Install the second (and subsequent) node(s) of the SQL Server FCI, connecting to the existing cluster configuration.
  5. Configure firewall rules to allow connections to the VNN and VIP.
  6. Test failover by manually moving the SQL Server resource group between nodes.

Related Topics