Step 1: Install Prerequisites for Scale-Out File Server
Applies To: Windows Server 2012 R2, Windows Server 2012
Scale-Out File Server leverages features that are included in the File and Storage Services role and in the Failover Clustering feature. You must install the prerequisite features and role services, create a failover cluster, add then add storage to a cluster shared volume.
Task |
Description |
---|---|
Install the File Server role service and Failover Clustering by using Server Manager or by using Windows PowerShell. |
|
Validate the hardware configuration and create a cluster. |
|
A cluster shared volume is required for a scale-out file share. |
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.
1.1. Install role services and features
The File Server role service, which is part of the File and Storage Services server role, and the Failover Clustering feature are required to configure Scale-Out File Server. You configure these by using Server Manager or by using Windows PowerShell.
To install the roles and features
Log on to the server as a member of the local Administrators group.
Server Manager will start automatically. If it does not automatically start, click Start, and then click Server Manager.
In the QUICK START section, click Add roles and features.
On the Before you begin page of the Add Roles and Features Wizard, click Next.
On the Select installation type page, click Role-based or feature-based installation, and then click Next.
On the Select destination server page, select the appropriate server, and then click Next. The local server is selected by default.
On the Select server roles page, expand File and Storage Services, expand File Services, and then select the File Server check box. Click Next.
On the Select features page, select the Failover Clustering check box, and then click Next.
On the Confirm installation selections page, click Install.
Repeat the steps in this procedure for each server that will be added to the cluster.
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-WindowsFeature –name File-Services,Failover-Clustering -IncludeManagementTools
1.2. Validate hardware and create a cluster
You can ensure that you are using the proper hardware by validating the configuration. After the validation is complete, you can create the cluster.
To validate hardware and create a cluster
Log on to the server as a member of the local Administrators group.
Server Manager will start automatically. If it does not automatically start, click Start, and then click Server Manager.
Click Tools, and then click Failover Cluster Manager.
Under the Management heading, click Validate Configuration.
On the Before You Begin page, click Next.
On the Select Servers or a Cluster page, in the Enter name box, type the FQDN of one of the servers that will be part of the cluster, and then click Add. Repeat this step for each server that will be in the cluster.
Note
If you already have a cluster configured, you can enter the name of the cluster or one of its nodes instead of entering the name of each server.
Click Next.
On the Testing Options page, ensure that the Run all tests (recommended) option is selected, and then click Next.
On the Confirmation page, click Next.
On the Summary page, ensure that the Create the cluster now using the validated nodes check box is selected, and then click Finish. The Create Cluster Wizard appears.
On the Before You Begin page, click Next.
On the Access Point for Administering the Cluster page, in the Cluster Name box, type a name for the cluster, and then click Next.
On the Confirmation page, 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.
Test-Cluster –Node server1, server2
New-Cluster –Name ClusterName –Node server1, server2
1.3. Add storage to a cluster shared volume
A cluster shared volume is used by a failover cluster, and it can be accessed by more than one node at a time. You can add to a cluster shared volume by using Failover Cluster Manager.
To add storage to a cluster shared volume
Log on to the server as a member of the local Administrators group.
Server Manager will start automatically. If it does not automatically start, click Start, and then click Server Manager.
Click Tools, and then click Failover Cluster Manager.
Click Storage, right-click the disk that you want to add to the cluster shared volume, and then click Add to Cluster Shared Volumes.
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-ClusterSharedVolume "ClusterDiskName"