question

RahulSukumar-3862 avatar image
1 Vote"
RahulSukumar-3862 asked AlexBykovskyi commented

2019 S2D HCI File Server on VM

About 7 years ago we had Dell (and their consultants) setup a new environment to virtualize our entire previously all-physical infrastructure. This consisted of 2 Server 2012 Hyper-v hosts connected to a iSCSI SAN in a failover cluster. All servers were P2Vd and ran as VMs on the cluster, including the file servers. The file servers were assigned large VHDs on the same CSV the VMs run on. This worked just fine for all these years.

Now we are setting up a 2019 S2D cluster with 3 nodes all local storage. My question is, is it best to keep the same setup for file servers? IE, create a large CSV and create a file server VM on it. Then create a large VHDX on the same CSV that is "local" to the VM for file storage. Users will access files, obviously, using \\fileserver\share.

Any thoughts or comments on this approach?

windows-server-storageazure-stack-hci
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IanXue-MSFT avatar image
1 Vote"
IanXue-MSFT answered IanXue-MSFT edited

Hi,
You don't need to create a VM for file server and attach a VHDX file. You could create a role of file server type. Select "Configure Role" on the right of Failover Clulster Manager and choose "File Server".
17629-2020-08-14-163533.png

Then you could choose File Server for general use or Scale-Out File Server. It depends on your needs and you could find the differences here
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831349(v=ws.11)#when-to-use-scale-out-file-server

You could also refer to this guide
https://www.starwindsoftware.com/blog/microsoft-storage-spaces-direct-4-node-setup-2
Hope this could be helpful.

Best Regards,
Ian


Please remember to "Accept Answer" and upvote if the reply is helpful.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlexBykovskyi avatar image
1 Vote"
AlexBykovskyi answered

Hey,

As mentioned, it would be easier to create a File Server role on your cluster, which will still require you to use the same CSV. VMs and HA File Server will use the same shared storage (S2D in your case). You can create a separate CSV for a file server, to separate things. In any case, the setup will work the same way as if you have 1 or 2 CSVs. Worth mentioning, that you can use StarWind VSAN free to deploy a 3 node cluster for your VMs and File server. The following guide will walk you through the configuration process: https://www.starwindsoftware.com/resource-library/starwind-virtual-san-3-node-hyperconverged-scenario-with-windows-server-2016/

Cheers,

Alex Bykvoskyi

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RahulSukumar-3862 avatar image
0 Votes"
RahulSukumar-3862 answered AlexBykovskyi commented

When I try to setup the File Server role, it will not allow me to select any storage. I assume it needs it's own virtual disk. Right now I have one disk that occupies most of the storage in the pool to store VMs.

Can you have the file server role use the existing disk for storage or does it need its own disk?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hey,

You should have available storage on your cluster to create HA File Server. File Server can utilize underlying storage with the help of SDS solutions. The following guides might help:
https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/#43a7eaf4b5519b31dd06d56e6cd01d39021e39fb

https://docs.microsoft.com/en-us/windows-server/failover-clustering/deploy-two-node-clustered-file-server

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 Votes 0 ·