This topic has not yet been rated - Rate this topic

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

1.1. Configure Scale-Out File Server

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.

noteNote
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.

  1. Log on to the server as a member of the local Administrators group.

  2. Click Start, type Failover Cluster, and then click Failover Cluster Manager.

  3. Right-click the cluster, and then click Configure Role.

  4. On the Before You Begin page, click Next.

  5. On the Select Role page, click File Server, and then click Next.

  6. On the File Server Type page, select the Scale-Out File Server for application data option, and then click Next.

  7. 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.

  8. On the Confirmation page, confirm your settings, and then click Next.

  9. On the Summary page, click Finish.

PowerShell Logo 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

  1. Log on to the server as a member of the local Administrators group.

  2. Click Start, type Failover Cluster, and then click Failover Cluster Manager.

  3. Expand the cluster, and then click Roles.

  4. Right-click the file server role, and then click Add File Share.

  5. On the Select the profile for this share page, click SMB Share – Applications, and then click Next.

  6. On the Select the server and path for this share page, click the cluster shared volume, and then click Next.

  7. On the Specify share name page, in the Share name box, type a name, and then click Next.

  8. On the Configure share settings page, ensure that the Enable continuous availability check box is selected, and then click Next.

    noteNote
    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.

  9. 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.

  10. On the Confirm selections page, click Create.

  11. On the View results page, click Close.

PowerShell Logo 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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.