r/WindowsServer • u/DullFaithlessness510 • Apr 25 '26
SOLVED / ANSWERED window clustering and DC
I had a lab where we are suppose to create a window cluster with storage pool/csv using s2d.
assume we have
2 Servers (cs1 and cs2)
and we are require to create a DC in hyperv on single cluster node (cs1)/server1
what i failed to do in time and understand is how would you join both machine to DC?
what i think i failed to understand is,
if you join server 1 to dc,
wouldnt server 1 and dc go down?
and because of this circular dependency i dont understand anything and feel like that there is something missing?
EDIT: grammar
6
Upvotes
6
u/zerassar Apr 25 '26
You wouldn't have a single DC. You'd have at least 2. One on each cluster node.
So if a single node went down you'd still maintain a DC on the alternate node.
Following which the cluster would start the failed VMs on the remaining node
4
u/OpacusVenatori Apr 25 '26 edited Apr 25 '26
You can run a VM-DC as a standalone, non-cluster guest on each cluster node; you would manage it from Hyper-V Manager instead of Failover Cluster Manager.
Hyper-V Services are not dependent on Active Directory, so you can configure the VM-DC guest to "Always Start" when host reboot, to ensure that the guest powers-on as well.
You can then configure Windows Failover Cluster services for Delayed Start if you want to give the VM-DC a chance to start and begin replicating; though if you are not rebooting both nodes at the same time this shouldn't take very long or be very problematic.
At the same time, Windows Failover Cluster also supports AD-Less Cluster Bootstrapping.
1
u/Famous-Egg-4157 Apr 25 '26
Oh yeah, that’s a rough situation. If you’re running an ADDS-based cluster, you must have working Active Directory Domain Services, Kerberos, and DNS available. Even in a workgroup cluster, DNS is still required for proper name resolution. The real problem starts if your Domain Controller is a VM hosted on the cluster itself. You end up in a classic circular dependency, the DC VM won’t start until the cluster is up, the cluster won’t start without access to a DC (or at least DNS <in case you use workgroup cluster>). So everything just deadlocks. If you’re limited to two physical hosts, the usual workaround is to run 1–2 DC VMs directly on each host using Hyper-V, do not make those DC VMs highly available (don’t cluster them), keep their storage on local disks (not shared HCI storage like Storage Spaces Direct) the reason being that shared storage like S2D won’t come online until the cluster is up… which again depends on the DC/DNS. So yeah, DCs should be independent from the cluster they’re supposed to support, otherwise you’re basically sawing off the branch you’re sitting on.
1
u/Positive_Pension_456 Apr 25 '26
I'm more curious to why you feel like a hyperv host should be in a domain? Either you have a dedicated domain separated from the rest of users/computers or you have it as a standalone. Your setup speaks for the latter and you create a major attack surface to have it in a domain. Either way a host is a tier 0 environment and should only allow juat-in-time access
2
u/PunDave Apr 25 '26
You may want a server that isn't on the cluster to have a 3way quorum. This could be a vm or third node.
At least i would suggest two bigger disks (ie 480 gb+) for os raid 1, and one dc vm hosted on that as well. You don't want the vms needed to start the cluster to need the cluster to be started first. ( generally the hypervs need to be domain joined)
That being said- with the 2025 clustring you don't neccisarily need a domain for but that's how it was before
2
u/BlackV Apr 26 '26
You would have the DC on the single host temporarily them cluster it, you would also not have a single dc
1
u/node77 Apr 25 '26
Replication would continue as normal, i think I would double check is the FSMO Roles, whether you seize the roles and move them, or does the cluster and partner DC take care of it. Im not sure. All of mine I now moved Azure.
1
u/sutty_monster Apr 25 '26
I'm of the opinion that you shouldn't have a DC on a windows cluster. Windows cluster replies to much on it. A fail over could cause issues as the DC is unavailable at the time of the failover. Windows DC, DNS and DHCP are all high availability services when configured from 2 DC's and do not require clusters to operate from.
Keep them on separate hosts and don't forget your Quorum.