Using Mikrotik router SMB server as Cluster File Share Witness in WS2019

dust0vich 21 Reputation points
2021-06-28T17:15:51.65+00:00

I am having an issue trying to use use a Mikrotik CCR router as a file share witness in a WS2019 cluster. I can connect to the share with RW access on a standard Windows 10 machine as well as on one of the member servers in the cluster so I know it is working (with SMB1 disabled). When I use the Set-ClusterQuorum -FileShareWitness \\router\Witness -Credential (Get-Credential) command in powershell, enter the credentials when prompted I get a The Parameter is incorrect error. If I use incorrect credentials it will give the appropriate error so I know it is authenticating correctly. The SMB log in the router does not show any errors, in fact it shows a successful connection.

I am baffled.

Has anybody came across this issue before, or may have some additional troubleshooting steps?

Additional notes: The router does not reside on the same subnet as the cluster members do, but I would assume this would be a non-issue.

Here is the full message

Set-ClusterQuorum : There was an error configuring the file share witness '\\router\Witness'. Unable to save property changes for 'File Share Witness'. The parameter is incorrect At line:1 char:1 + Set-ClusterQuorum -FileShareWitness \\router\Witness -Credential ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Set-ClusterQuorum], ClusterCmdletException + FullyQualifiedErrorId : InvalidParameter,Microsoft.FailoverClusters.PowerShell.SetClusterQuorumCommand

Thanks in advance.

Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
956 questions
{count} votes

Accepted answer
  1. JiayaoZhu 3,911 Reputation points
    2021-06-29T07:13:41.04+00:00

    HI,

    Thanks for posting on our forum!

    Based on your condition, I am strongly recommend you to contact Microsoft Customer Support and Services. Analyzing logs are beyond the scope of Q&A forum and it is also not suggested to put your logs on our forum since our forum are open to the public. In this sense, opeing a case with our senior engineers can not only help protect your personal information, but help you get a more satisfying explanation and solution to this issue. In addition, if the issue has been proved as system flaw, the consulting fee would be refund. You may find phone number for your region accordingly from the link below.
    Global Customer Service phone numbers:

    https://support.microsoft.com/en-us/help/13948/global-customer-service-phone-numbers

    Thanks for your support and understanding! Besides, would you mind helping me Accept Answer? An accepted blog can be put on top of our forum so people who have a similar issue can get to their workaround more quickly. I would really appreciate it if you could support our work in this way.

    Have a nice day! : )

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alex Bykovskyi 1,681 Reputation points
    2021-06-29T15:43:29.687+00:00

    Hey,

    As mentioned, contact support to get help. In addition, if you have hardware available, you can create a linux VM to create SMB share on top. Just to verify which part of your setup is causing the issue.
    As an alternative, you can user StarWind VSAN (either free or paid) to create replicated iSCSI drive, which can be used as a disk witness. Check for more information:
    https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/

    Cheers,

    Alex Bykovskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    0 comments No comments