Server 2016, a few basic AD questions

Status
Not open for further replies.
So in the quest to broaden my knowledge and acquire skills usable in my job, I’ve just finished installing Server 2016 Essentials on my home HP Microserver G7 (2x2TB drives in a Windows software raid1) and now got a few basic questions:

1) For a ”home lab”, it it really such a spectacularly bad idea to have just a single DC as people make it out to be? If it goes up in flames for some reason, wouldn’t logging in still work using cached credentials (for how long?) as well as any local accounts? I guess I could use an excuse to obtain a G10 Microserver, but I would REALLY prefer to make do with what I already have.

2) Am I right in thinking that if I stick to using a single machine, it’s better to have everything AD-related running on the host OS instead of being virtualized in Hyper-V? My line of thinking is ”Server 2016 host OS starts, virtualized DC is obviously not yet anywhere close to running, problems ahead?”
 

Berserker

Ars Scholae Palatinae
699
For a lab environment, a single DC is perfectly fine. Anything running as a single instance has the potential to be lost but if you accept that risk because it's for a lab, that's just preference. There are other ways to survive a loss like backups as well. Yes, logging in with cached creds or a local account will still work. Cached creds have no expiration as far as I know.

That scenario is only the case if you join the host machine to your domain. You can keep the host machine off the domain and just run your entire AD environment within VMs instead. Even if you join your host machine to the domain and there is no DC online, you can always login with a local account or cached creds.
 

dodexahedron

Ars Praefectus
3,368
Subscriptor++
Just make a full system state backup once you have it set up and your user account created, so you have an "oh shit" recovery point, should you need it.
Far from ideal, but better than nothing and only costs you a flash drive.

However, the Hyper-V route or ESXi would be better, anyway. It doesn't have to be part of the domain - it's just your hypervisor and should, thus, be out of the way, as it were.
That's likely your safest option, since you can snapshot your VMs (and have more than one DC, on top of it all).
 

Ciconia

Ars Praetorian
568
Subscriptor
Have multiple DCs to learn about how AD works with things like replication. If that is not your focus, one DC is fine because you are the only one impacted if the single DC fails. Have a good backup on separate media if only because rebuilding from scratch is a pain.

From personal experience, some Group Policy settings really only apply at boot. Having the DC as a VM means the host OS (Hyper-V) never applies those Group Policy settings as it has no DC to get them from. Only important if you are trying to learn Group Policy. Having a second DC run as a VM running off like your main laptop or desktop is the simple solution to this. The Core installs of Server do not require a lot of resources.
 

dodexahedron

Ars Praefectus
3,368
Subscriptor++
Have multiple DCs to learn about how AD works with things like replication. If that is not your focus, one DC is fine because you are the only one impacted if the single DC fails. Have a good backup on separate media if only because rebuilding from scratch is a pain.

From personal experience, some Group Policy settings really only apply at boot. Having the DC as a VM means the host OS (Hyper-V) never applies those Group Policy settings as it has no DC to get them from. Only important if you are trying to learn Group Policy. Having a second DC run as a VM running off like your main laptop or desktop is the simple solution to this. The Core installs of Server do not require a lot of resources.
If you want to actually learn about replication, then you need DCs defined in different sites, which I suppose can still be done with 2. Intra-site replication tends to be pretty fast, but inter-site replication happens on the order of minutes, at minimum.
 

Ciconia

Ars Praetorian
568
Subscriptor
If you want to actually learn about replication, then you need DCs defined in different sites, which I suppose can still be done with 2. Intra-site replication tends to be pretty fast, but inter-site replication happens on the order of minutes, at minimum.

Fair point. I was picturing the simple joy I got when dropping a file into sysvol on one DC and watching it immediately appear on the second DC. This is learning it works, learning how it works is more involved. For someone starting out, I think there is value in seeing it work first before setting up proper replication. It is simpler now, when I was learning there was not the option to spin up a second DC in a cloud provider just to see it work. Now you kids get off my e-lawn.
 
Status
Not open for further replies.