Step By Step – Setting Up A Scale Out File Server For Hyper-V

Some months back I posted regarding SCOFS and Clustered Storage Spaces, I’ve sinced received multiple requests to post a step by step article explaining how to create a SOFS. So here it is.

A scale out file server is an active/active clustered file share that’s primary use is for storing Hyper-V VHDx files. It can also be used for SQL 2012, it should not be considered for a general use file server.

Before you start you are going to need 2 servers (you can use one but this won’t be redundant) with a shared disk (Iscsi, Fiber or JBOD), you’ll also need to install on both server the file server role and failover clustering.

Once you’ve set up the basics you open the failover cluster and start the new cluster wizard.

sofs1

Select the servers you wish to use in your SOFS.

sofs2

Choose a name for the cluster and assign the cluster an IP address. The IP should be on the network that you want your storage traffic to run off.

sofs3

Complete the wizard, run a validation test to make sure that your cluster is fully compliant.

Now, make sure that your shared disk is formatted using NTFS and a 64K allocation unit size.

sofs4

You can now add the storage to the cluster for cluster/SOFS use

sofs5

Once the storage is added, you need to convert it to a CSV.

sofs6

Now we can configure the cluster as SOFS. Right click roles and choose the option configure roles.

sofs7

Choose file server and click next

sofs8

Now choose the 2nd option: Scale-out File Server for application data

sofs09

Choose a name for you SOFS, in my case it is hv-sofs

sofs10

continue with the wizard untill complete.

Once completed you need to configure a share, go to the roles in the failover cluster, you’ll see the newly configured  role, right-click it and choose add file share.

sofs11

A wizard will open and the first option is to choose the type of required file share. For a Hyper-V deployment choose the  SMB Share – Applications option.

sofs12

Next choose the CSV on which you wish to create the share.

sofs13

and now choose a name for the share.

sofs14

complete the wizard.

You will now have a network share available in your network. in our case the path is \\hv-sofs (this is the name that we gave the SOFS cluster) in it we’ll find a shared folder named hv (this is the name that we gave the share).

sofs15

You can now create a new Virtual Machine on your Hyper-V server and choose to store the Virtual Machine in the SOFS share.

sofs16

After creating the virtual machine we can see that it’s vhdx file is stored on the SOFS.

sofs17

Thats it, you now have a fully functional SOFS with a Hyper-V VM running off it.

 

 

Advertisements

2 thoughts on “Step By Step – Setting Up A Scale Out File Server For Hyper-V

  1. Great walkthrough article!
    Question: Does this share that’s created run as (or require) SMB 3.0 or would it be a “regular” SMB?

    • Hi Sava,
      The created share is an SMB 3.0 Share.
      Only SMB 3.0 is supported for storing Hyper-V files.
      So if you had lets say an SMB 2 share and trie to store your VM’s on the share it would fail.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s