Failover Clustering and Network Load Balancing Team Blog
In this blog, I am going to discuss the considerations for configuring a File Share Witness (FSW) for the Failover Cluster hosting your workloads, on a separate Scale-Out File Server cluster. You can find more information on Failover Clustering quorum here.
File Share Witness on a Scale-Out File Server
It is supported to use a file share as a witness that is hosted on a Scale-Out File Server cluster. It is recommended that the following guidelines be considered when configuring your File Share Witness on a Scale-Out File Server:
Configuring a File Share Witness on a Scale-Out File Server
In this section, I will explain how you can create a file share on a Scale-Out File Server that will act as a witness for the cluster hosting your workloads. Therefore, you have two clusters – a “storage” cluster hosting your file share witness and a “compute” cluster hosting your highly available workloads.
You can configure a File Share Witness on a Scale-Out File Server as follows:
1) Create the Scale-Out File Server as described in Section 2.1 of this article.
2) Create a File share on the Scale-Out File as described in Section 2.2 of this article.
a. Modify the properties of the share to make it a non-CA share. Right-click on the share, select Settings and uncheck the Enable continuous availability checkbox.
b. Ensure that you have Full Control to the newly created share.
3) Configure the File Share as a Witness on your cluster
a. Using the Failover Cluster Manager
i. Type cluadmin.msc on an elevated command prompt
ii. Launch the Quorum Wizard by Right-clicking on the Cluster Name, Selecting More Actions and then selecting Configure Quorum Settings
iii. Select Next and then choose the Select the quorum witness option and select Next.
iv. Choose the Configure a file share witness option and select Next.
v. Specify the path to the File Share on your Scale-Out File Server and select Next.
b. Using Windows PowerShell
i. Open a Windows PowerShell® console as an Administrator
ii. Type Set-ClusterQuorum –FileShareWitness <File Share Witness Path>
You should now see the File Share Witness configured for your Cluster.
When you navigate to your File Share Witness share you will see a folder created for your Cluster.
This folder will have permissions for the Cluster Name Object of your “Compute” Cluster so that the entries in the folder can be modified on Cluster membership changes.
You will also notice a file Witness.log which contains the membership information for the Cluster.
You have now successfully configured a File Share Witness on a Scale-Out File Server, for the cluster hosting your workloads.
Clustering and High Availability
Hi, this guide helped me a lot. However i am experiencing a problem with my fileshare witness. My cluster keeps reporting a warning 1562 and error 1069: "Cluster resource 'File Share Witness' of type 'File Share Witness' in clustered role 'Cluster Group' failed."
It happens every couple of hours, but it seems that the virtual machines running of other shares have no problems. So i am hoping its not a problems with the SOFS cluster.
Have you experienced this before? and is the non-CA option involved?
Same problem as Max's in my place. Any idea?
Hi Max and Mixer,
If the SOFS cluster is functional and only the FSW is hitting issues, then this is most likely due to inappropriately configured Permissions.
Which OS version was this configured on? How was the FSW configured (ex: FCM GUI or PowerShell)?
When using FCM GUI, the CNO is automatically given permissions on the share (assuming the logged in user has permissions on the share). However, this is not the case when configuring with PowerShell.
Try to give the CNO full permission on the Share & File System under the share. If configured with PowerShell attempt to reconfigure the FSW using FCM GUI.
I manually created the file share, gave domain admins full control (removed everyone from the file security). Created the File Share Witness and it failed.
The CNO had been assigned to the file permissions, but it had no rights. Gave the CNO object full control at the file level , re-ran the file share wizard and the witness was successfully created