Lync / Skype for Business Server uses file share to store shared data of each enterprise edition pool or standard edition server. It stores application, user services and web services data for both enterprise edition and standard edition while enterprise edition also stores windows fabric dump and trace files.
You can use normal file share, two node clustered file server or DFS. Clustered file server or DFS is a best practice for Enterprise edition pool as it provides high availability for file share data.
In this blog post, I’ll cover DFS on Windows Server 2012 R2. Part I will cover Namespace and Folder settings while part II will cover replication group and folder target on second server.
We’ll have two Windows Server 2012 R2 nodes and will create DFS and will assign required permissions for Skype for Business Server 2015.
First of all install windows server 2012 R2 on two nodes and join both the nodes in domain. In my lab, I’m using two nodes DFS01 and DFS02.
Install Windows Server DFS Namespace and DFS Replication features on both the nodes with DFS remote server administration tool.
Create folder which you would like to add in DFS for SfB. In my case, I have created P1SfBShare in E drive on first server DFS01 which I’m going to use for my Enterprise Edition SfB pool.
Open DFS Management (dfsmgmt.msc).
Right click on Namespaces under DFS Management and click on New Namespace.
Add first server name in Namespace Server.
Define Namespace Name for your DFS and click on edit settings to assign permissions on share folder.
For SfB share, I need full access for administrators and read-only for others. As well as define local path of shared folder for Namespace.
In Name space type use Domain –based namespace and Windows Server 2008 mode.
Review settings and click on Finish.
Namespace has been created now click on close.
Right click on created namespace and go to the properties.
Go to the “Advanced” tab and select “Enable access-based enumeration for this namespace”. Click on Apply and OK.
Right click on created namespace and click on New Folder.
Write name and click on Add to add folder targets.
Browse for shared folder target which we had created in the beginning and click on OK.
Click on Yes to share the folder.
Click on OK twice to finish.
Once again, Right click on created namespace and click on “Add Namespace Server”. This is process to add another server.
Browse second node and click on “Edit Settings” for shared permission.
Browse for the DFS Namespace location on second server and assign permission same as first server.
Now you can see both the servers have been added under defined Namespace.
See Part II for further configuration.
does it have to be a domain based DFS namespace? is it supported to use a standalone one?
Yes, it should be domain based dfs namespace.
Pingback: Skype for Business: Create DFS with PowerShell | Something Technical about SharePoint, SQL, Lync/Skype for Business
It is really a great job and Thanks for providing the powershell way to do the same task.
I’m confused. Do I have to setup a new server dedicated to file share or I can use the server that’s going to hold Skype for Business server as well? (like in basic file share)
If you have to use basic file share then you can go with anything but for Enterprise Edition you should never use the Skype for Business server as a fileshare. When you ask about DFS then yes you should use existing or new DFS server deployment for DFS file share. You should not install DFS or any other server role on Skype for Business servers.
Could you install it on the Front End Pool’s Back End server?
Technically Yes but you should never do it in production.