Configuring Windows clustering
Configuring Windows clustering is required for Microsoft SQL always on high availability.
To configure Windows clustering:
- Install the failover clustering role:
- In Server Manager on the DBSRV-1 server, on the Manage menu, click add Roles and Features.
- Proceed to the Features page. Select Failover Clustering. Click Install.
- Reboot the server.
- Repeat steps a-c on the DBSRV-2 server.
- Validate the cluster configuration:
- On the DBSRV-1 server, go to Tools > Failover Cluster Manager.
- Before creating a cluster, click Validate Configuration.
- Add the desired servers' names to the cluster list. In this example, DBSRV-1 and DBSRV-2 will be joined to a single cluster. These servers are added for validation. Click Next.
- Select Run all tests. Click Next.
- Ensure that there are no errors in the tests run.
- Click Create Cluster.
- Proceed through the wizard. On the Access Point for Administering the Cluster page, enter a name for your Windows cluster in the Cluster Name field. Provide a virtual IP address to tie to your Windows cluster. Click Next and complete the wizard to create the cluster.
- Verify the configuration:
- Go to Nodes. Ensure that the nodes' statuses display as up.
- Go to Networks. Ensure that the network status shows as up.
- Confirm that only one IP address is online at a given time.
- On the Active Directory server, you can see that a computer account was created and that it is tied to the Windows virtual IP address.
- Go to More Actions > Configure Cluster Quorum Settings to configure the cluster quorum configuration to use a file share. A file share witness is a share that failover cluster uses as a vote in the cluster quorum:
- For the Quorum Configuration Option field, select Select the quorum witness.
- As the quorum witness, select Configure a file share witness.
- Browse to the desired file share path and complete the wizard for the cluster quorum settings. Ensure that this file share is not on any cluster nodes.