Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2019 / Configure Workgroup Failover Cluster without Active Directory on Windows Server

March 13, 2024 Windows Server 2019Windows Server 2022

Configure Workgroup Failover Cluster without Active Directory on Windows Server

In older Windows Server versions prior to Windows Server 2016, you could create a failover cluster only between the servers in the same Active Directory domain. The new version allows to create two- (or more) nodes failover cluster between servers joined to different domains, and even between workgroup servers (not AD domain joined) – a so-called Workgroup Cluster.

Obviously, Windows Server 2016 has to be installed on all cluster nodes. The following cluster scenarios are supported:

ServiceStatusComment
SQL serverSupportedIt is recommended to use the integrated SQL Server authentication
File server

 

Supported, but not recommendedKerberos authentication for SMB is not supported
Hyper-V

 

Supported, but not recommendedLive Migration is not supported, only Quick migration is available
Message Queuing (MSMQ)Not supportedMSMQ stores its properties in Active Directory

 

On all future cluster nodes, you have to:

  1. Install Failover Clustering role: Install-WindowsFeature Failover-Clustering –IncludeManagementTools<
  2. Create a local account with the administrator privileges (or use the integrated administrator account) with the same passwords:
    net user /add clustadm Sup33P@ssw0Rd!
    net localgroup administrators clustadm /add
    powershell install Failover Clustering feature on workgroup servers
  3. If the error Requested Registry access is not allowed appears, edit the remote UAC parameter in the registry (this parameter enables the remote access to the administrative shares):
    New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name LocalAccountTokenFilterPolicy -Value 1
  4. Set the same primary DNS suffix. It enables the cluster servers to communicate each other by FQDN names. setting the same primary dns suffix
  5. Uncheck Register DNS connection addresses in the Advanced TCP/IP Settings.dont register connection in dns
  6. Make changes to hosts file so that the servers could resolve the names of other cluster members and the name of the cluster (including FQDN names). You can add the names to c:\windows\system32\drivers\etc\hosts as follows:
    Set file="%windir%\System32\drivers\etc\hosts"
    echo 192.168.1.21 clust-host1 >> %file%
    echo 192.168.1.21 clust-host1.mylocal.net >> %file%
    echo 192.168.1.22 clust-host2 >>  %file%
    echo 192.168.1.22 clust-host2.mylocal.net >> %file%
    echo 192.168.1.20 cluster1 >> %file%
    echo 192.168.1.20 cluster1.mylocal.net>> %file%

hosts file with cluster nodes addresses

To validate cluster nodes, you can use the following command:

test-cluster -node "clust-host1.mylocal.net"," clust-host2.mylocal.net"
To create a cluster using PowerShell, run this command:

New-Cluster -Name cluster1 -Node clust-host1.mylocal.net, clust-host2.mylocal.net -AdministrativeAccessPoint DNS -StaticAddress 192.168.1.20

Now you can check the status of the cluster and its components with the help of get-cluster and get-clusterresource cmdlets.

To connect (and remotely manage) the cluster through a GUI, you need to use Failover Cluster Manager snap-in (included in RSAT for Windows 10).

Now, using Connect to cluster menu item, you can connect to the created cluster. If the cluster has even number of servers, you will have to configure a witness resource. Note that you cannot use the SMB shared folder as a quorum witness. Two modes are supported: Disk Witness — a shared disk (with the simultaneous access to it from both nodes), or Cloud Witness — a cloud disk resource in Azure.

3 comments
3
Facebook Twitter Google + Pinterest
previous post
VSS Writer Failed: Re-registering VSS Writers on Windows Server
next post
Error 0x0000007e: Windows cannot connect to network printer, Operation failed

Related Reading

Configure NTP Time Source for Active Directory Domain

May 6, 2025

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

View Windows Update History with PowerShell (CMD)

April 30, 2025

Cannot Install Network Adapter Drivers on Windows Server

April 29, 2025

Allowing Ping (ICMP Echo) Responses in Windows Firewall

April 15, 2025

3 comments

Akhmet May 21, 2019 - 6:38 am

What is the purpose of creating the user “clustadm” ?

Reply
admin May 21, 2019 - 8:25 am

This local account needs to be provisioned on the all cluster nodes (with the same password) for mutual authentication in order to add nodes to the cluster or to create a new WSFC cluster.

Reply
Jay August 10, 2022 - 3:38 pm

When I follow this step:

Uncheck Register DNS connection addresses

.. the machine loses network access entirely, and since it’s a VM I have to reimage it. Any idea why this happens?

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025
  • How to Write Logs to the Windows Event Viewer from PowerShell/CMD

    March 3, 2025
  • How to Hide (Block) a Specific Windows Update

    February 25, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Booting Windows from GPT Disk on BIOS (non-UEFI) Computer
  • Managing Printers from the Command Prompt in Windows
  • Fix RDP Authentication Error: The Function Requested Is Not Supported
  • Auto-mount VHD/VHDX File at Startup in Windows
  • Configure Storage Spaces Direct (S2D) on Windows Server
  • Installing Free Let’s Encrypt TLS(SSL) Certificates on Windows Server
  • How to Measure Storage Performance and IOPS on Windows
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top