Step 2: Configure Scale-Out File Server
Published: February 29, 2012
Updated: May 31, 2012
Applies To: Windows Server 2012
In this step, you configure Scale-Out File Server for high availability and create a continuously available file share on the cluster shared volume.
| Task | Description |
|---|---|
|
Configure Scale-Out File Server to provide continuous availability for server applications. |
|
|
1.2. Create a continuously available file share on the cluster shared volume |
Create a file share on the cluster shared volume. |
Note |
|---|
| This topic includes sample Windows PowerShell cmdlets that you can use to automate some of the procedures described. For more information, see How to Run a Windows PowerShell Cmdlet. |
Scale-Out File Server must be configured for continuous availability.
-
Log on to the server as a member of the local Administrators group.
-
Click Start, type Failover Cluster, and then click Failover Cluster Manager.
-
Right-click the cluster, and then click Configure Role.
-
On the Before You Begin page, click Next.
-
On the Select Role page, click File Server, and then click Next.
-
On the File Server Type page, select the Scale-Out File Server for application data option, and then click Next.
-
On the Client Access Point page, in the Name box, type a NETBIOS name that will be used to access Scale-Out File Server, and then click Next.
-
On the Confirmation page, confirm your settings, and then click Next.
-
On the Summary page, click Finish.
Windows PowerShell equivalent commands
The following Windows PowerShell cmdlet or cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.
Add-ClusterScaleOutFileServerRole -Name DistributedNetworkName -Cluster ClusterName
You must create a file share on the cluster shared volume by using Failover Cluster Manager.
Do this step using Windows PowerShell
-
Log on to the server as a member of the local Administrators group.
-
Click Start, type Failover Cluster, and then click Failover Cluster Manager.
-
Expand the cluster, and then click Roles.
-
Right-click the file server role, and then click Add File Share.
-
On the Select the profile for this share page, click SMB Share – Applications, and then click Next.
-
On the Select the server and path for this share page, click the cluster shared volume, and then click Next.
-
On the Specify share name page, in the Share name box, type a name, and then click Next.
-
On the Configure share settings page, ensure that the Enable continuous availability check box is selected, and then click Next.
Note You should not use access-based enumeration on file shares for Scale-Out File Server because of the increased metadata traffic that is generated on the coordinator node. -
On the Specify permissions to control access page, click Customize permissions, grant the following permissions, and then click Next:
-
If you are using this Scale-Out File Server file share for Hyper-V, all Hyper-V computer accounts, the SYSTEM account, and all Hyper-V administrators must be granted full control on the share and the file system.
-
If you are using Scale-Out File Server on Microsoft SQL Server, the SQL Server service account must be granted full control on the share and the file system.
-
If you are using this Scale-Out File Server file share for Hyper-V, all Hyper-V computer accounts, the SYSTEM account, and all Hyper-V administrators must be granted full control on the share and the file system.
-
On the Confirm selections page, click Create.
-
On the View results page, click Close.
Windows PowerShell equivalent commands
The following Windows PowerShell cmdlet or cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.
New-Item -Name "folder" -ItemType Directory New-SmbShare -Name ShareName -Path Path -FullAccess Domain\User -ContinuouslyAvailable:$True $acl = Get-Acl "folder"$acl.SetAccessRuleProtection($True, $True) $rule = New-Object System.Security.AccessControl.FileSystemAccessRule(“Domain\User”, “FullControl", "ContainerInherit,ObjectInherit", "None", "Allow") $acl.AddAccessRule($rule) Set-Acl "folder" $acl
