Determine the quorum mode
When configuring a failover cluster, if the cluster nodes are odd, use the majority node, and if the cluster nodes are even, use the majority node and file share (Configure a shared folder where each node can access the shared folder)
Because they are even nodes (SQL01 and SQL02), select Majority node and file share mode
2. Install failover cluster, both SQL01 and sql02 (available domain account login installation, if local account, login with domain account after installation is completed)
Tick failover Clustering
Tick Restart if necessary
Configuring a Failover Cluster
Click Failover Cluster Manager
Click Validate Configuration ...
Click Browse ...
Click Advanced ...
Click Find Now
Select Sql01,sql02
Click Finish after verification is complete, as follows
Enter cluster Name: Sqlalwayson, configure ip:192.168.0.110
Remove tick ADD All eligible storage to the cluster
Click Finish to create the cluster successfully, as follows
Configure Quorum
Create a shared folder before configuring: Create the Quorumshare folder in the DC and set the share
SQL01 and SQL02 verify access and read and write
Quorum configuration, more actions->configure Cluster Quorum Settings ...
Select the quorum witness
Select Configure a file share witness
Enter share path: \sqldc\quorumshare
Click Finish
At this point, the failover cluster configuration is complete
SQL Server AlwaysOn build four: Failover cluster configuration