The cluster resource could not be deleted since it is a core resource

The last month, I wanted to change the Witness of a cluster from a Cloud Witness to a File Share Witness. The cluster is a 2-node S2D cluster and as discussed with Microsoft, Cloud Witness should not be used with a 2-node cluster. If the Cloud Witness fails (for example when subscription has expired), the cluster can crashes. I’ve experienced this in production. So, all my customers, I decided to change the cloud witness to file share witness.

Naivly, I tried to change the Cloud Witness to a File Share witness. But it doesn’t work 🙂 You’ll get this message: The cluster resource could not be deleted since it is a core resource. In this topic I’ll show you the issue and the resolution

Issue

As you can see below, my cluster is using a Cloud Witness to add an additional vote.

So, I decide to replace the Cloud Witness by a File Share Witness. I right click on the cluster | more Actions | Configure Cluster Quorum Settings.

Then I choose Select the quorum witness.

I select configure a file share witness.

I specify the file share path as usual.

To finish I click next and it should replace the cloud witness by the file share witness.

Actually no, you should get the following error message.

If you check the witness state, it is offline.

This issue occurs because we can’t remove cluster core resources. So how I remove the Cloud Witness?

Resolution

To remove the Cloud Witness, choose again to configure the cluster quorum and this time select Advanced Quorum Configuration.

Then select Do not configure a quorum witness.

VoilĂ , the Cloud Witness is gone. No you can add the File Share Witness.

In the below screenshot you can see the configuration to add a file share witness to the cluster.

Now the file share witness is added to the cluster.

Conclusion

If you want to remove a Cloud Witness or a File Share Witness, you have first to not configure a witness for the quorum. Then you can add the witness type you want.

About Romain Serre

Romain Serre works in Lyon as a Senior Consultant. He is focused on Microsoft Technology, especially on Hyper-V, System Center, Storage, networking and Cloud OS technology as Microsoft Azure or Azure Stack. He is a MVP and he is certified Microsoft Certified Solution Expert (MCSE Server Infrastructure & Private Cloud), on Hyper-V and on Microsoft Azure (Implementing a Microsoft Azure Solution).

14 comments

  1. Hi Romain,

    I enjoyed your article titled, Understand Failover Cluster Quorum. I have a question and was wondering if you could help me. Is it possible the create a single-node cluster? The reason I ask is I’m not able to add storage to the cluster. To give some background info, I’ve installed a Windows failover cluster on a single node which is running on Windows Server 2012 R2. This node is a VM using Hyper-V. When I try to add a disk in Failover Cluster Manager, it fails. The last line of the error report says, “The cluster resource could not be brought online by the resource monitor”. Any information and/or guidance you could provide would be greatly appreciated.
    Thank you,
    Darrel Goshorn

  2. Mattias Gustavsson

    Hi, I’m in the process of setting up a 2-node-S2D-cluster.

    Where should the file share witness be located?
    On the same switch as the Cluster Nodes? In a diffrent rack/location. On the same subnet, On a different subnet? Doesn’t matter?

    Thanks for any reply
    /Mattias

  3. Hi,

    I recommend to place the witness outside the S2D cluster. It can be on the same subnet it doesn’t matter.

  4. Thank you…. Saved my day…… Excellent article…..

  5. Hello there,
    I love reading your article, I really loved reading your thoughts. The post contains really lot of valuable information i really gathered lot of information from your post.

  6. Is there a way to not set the cluster resource via powershell?? Unfortunately I’ve not got a CAAP for my Exchange DAG and can only amend things via powershell.

  7. This solved my problem – thank you!

  8. thanks for the help, only the problem is unclear, cloud witness is much more reliable than the usual share which will be unavailable for periods, for the time of installation of updates, at least.

  9. Great article, thanks!
    Was migrating from one file share witness to another (server running the share was being replaced) and could not get rid of the old file share witness.
    Would never have dared clicking the “no quorum witness” option without this article.

    • Martin, I’m in the same exact boat. So you’re saying that I can choose no quorum witness without bringing down my entire cluster? I assume this just means that the automatic failover would be disabled during this time, until I get the new file share witness added?

  10. Samuel Weldemichael

    Hi Romain,
    Thanks for the wonderful article. I have the same request here, to remove the Cloud witness from Always On and add the third node as a witness.
    We are not using File share as a witness instead we have the third node as a witness server. Can I follow the same steps like you? I ask you this because when you add the third node you have to follow some steps like adding the node to cluster. Do you think it allow me to do that?

    Thanks

  11. Happy new year, God Bless you man! I had already lost 2 hours trying to find out why it cannot change the previous witness…

  12. Teshale A Misganaw

    I used this note and thank you sharing

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

x

Check Also

Cluster Health Service in Windows Server 2016

Before Windows Server 2016, the alerting and the monitoring of the cluster were managed by ...

Fault Domain Awareness with Storage Spaces Direct

Fault Domain Awareness is a new feature in Failover Clustering since Windows Server 2016. Fault ...

Understand Failover Cluster Quorum

This topic aims to explain the Quorum configuration in a Failover Clustering. As part of ...