Sdílet prostřednictvím


Step 2: Configure Scale-Out File Server

 

Applies To: Windows Server 2012 R2, 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

Configure Scale-Out File Server to provide continuous availability for server applications.

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

Configure Scale-Out File Server

Scale-Out File Server must be configured for continuous availability.

To configure the File Server role

  1. Sign in to the server as a member of the local Administrators group.

  2. To open Failover Cluster Manager in Server Manager, click Tools, and then click Failover Cluster Manager.

  3. Right-click the name of 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.

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

Create a continuously available file share on the cluster shared volume

You must create a file share on the cluster shared volume by using Failover Cluster Manager.

Do this step using Windows PowerShell

To create a continuously available file share on the cluster shared volume

  1. Sign in to the server as a member of the local Administrators group.

  2. To open Failover Cluster Manager in Server Manager, click Tools, 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 name of the cluster shared volume, and then click Next.

  7. On the Specify share name page, in the Share name box, type a name for the file share, 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.

    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.

  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, cluster computer account for any Hyper-V clusters, 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.

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\Account
Set-SmbPathAcl –ShareName ShareName

See also