7

I'm setting up a new file server with Windows Server 2016 on a machine with 16 GB RAM and ~20 TB of disk. The server is going to be handling files for 15 people, mainly large files used by graphic designers.

This is the first Windows server in the organisation (i.e. there is no existing AD domain to join it to).

There will be two of these servers, each at a different site, replicating files via DFS-R.

Should I set up a DC and File Server running together on the bare metal, or should I use the virtualisation licences that come with Windows Server 2016 Standard to run just Windows Server + Hyper-V on the bare metal and create a separate VM for each of the Domain Controller and the File Server?

I'm aware that 16 GB RAM is not a huge amount, and there's a fair bit of overhead with running 3 copies of Windows vs just one - more RAM is fairly easily sourced though if this is the only limitation. I would reserve 2-4 GB for Hyper-V, 2-4 GB for the DC and 8-12 GB for the File Server.

There are a pair of 1 TB disks mirrored for the boot drive, were I to go the virtualisation route then I would create another partition on the boot drive formatted as ReFS to hold the C: drives for each of the VMs.

There are then 6x 3 TB disks in RAID 5 - again, if I were virtualising things, this would be formatted also as ReFS and one great big virtual disk created for file storage.

5 Answers5

7

Yes, you should virtualize even considering the overhead. There is no point of running bare-metal server installations nowadays (the only exception is legacy operating systems).

Reconsider using RAID5 on 3TB hard drives, there is a chance you won't survive another long rebuild. Today, RAID5 can be used only with SSDs where it still makes much sense.

Do not use DFS-R. It's inability to replicate open files and awful switch-over logic (DFS-R doesn't know which server has the latest consistent data) can lead to very bad results, especially, in virtualized environments.

Use Storage Replica or StarWind vSAN Free for replication.

Here's an example of using Storage Replica for deploying HA File Server in Stretched Cluster configuration: https://docs.microsoft.com/en-us/windows-server/storage/storage-replica/stretch-cluster-replication-using-shared-storage

And here's an example of how to build active-active HA File Server with StarWind vSAN: https://www.starwindsoftware.com/technical_papers/Microsoft-Hyper-V-2012-R2-Dedicated-SAN-scenario-Basic-2-node-Setup.pdf

Hope it helps.

5

1) Virtualize everything. There's no point in running anything bare metal (OK, there are some very niche cases, but your one isn't one of them for sure).

2) You can use Hyper-V as a file server but make sure you have it properly licensed, just using free Hyper-V will require you to at least buy CALs. I'd talk to your Microsoft sales rep with EULA in hands.

4

Actually, you could create Free SMB3 File Server on Hyper-V 2016. 2016 Server has been specifically developed and created only for virtual machines. According to Microsoft EULA, it is not recommended to repeat the steps below, because this process is a violation of the license agreement. The reason why we can create SMB File Share on Hyper-V 2016 is simple: all Windows servers require SMB 1/2/3 to work, and Hyper-V 2016 is not an exception. But it does not mean you should create any unsupported Microsoft services on GUI-less Hyper-V 2016.

Source: https://www.starwindsoftware.com/blog/free-smb3-file-server-on-hyper-v-2016

Net Runner
  • 6,319
2

I would lean towards virtualizing it since it afford you more flexibility. If the hardware gets marginal, or if there's an issue the manufacturer can't/won't resolve, then you can just do an online migration to another hyper-v server.

Really, the only downsides of virtualizing it are:

  • ~4GB RAM less you can use due to overhead
  • Potential to use bad things like snapshots for DFS-R (Don't ever revert to a snapshot while using DFS-R. In fact, forget they exist.)
-2

In your case, not using virtiualization seems like a waste of resources and also limits how much you can accomplish without needing to purchase additional hardware/servers. Also, DFS Replication requires Active Directory Domain Services so you'll need to create an AD domain.

joeqwerty
  • 111,849