Add-ClusterScaleOutFileServerRole

Creates a clustered file server for scale-out application data.

Syntax

Add-ClusterScaleOutFileServerRole
   [[-Name] <String>]
   [-Wait <Int32>]
   [-InputObject <PSObject>]
   [-Cluster <String>]
   [<CommonParameters>]

Description

The Add-ClusterScaleOutFileServerRole cmdlet creates a clustered file server for scale-out application data. A file server for scale-out application data provides storage for applications or virtual machines that leave files open for extended periods of time. Client connections are distributed across nodes for better throughput. This type of file server supports the Server Message Block (SMB) protocol. It does not support the Network File System (NFS) protocol, or certain role services such as File Server Resource Manager (FSRM) or Distributed File System (DFS) Replication.

Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

Examples

Example 1

PS C:\> Add-ClusterScaleOutFileServerRole
Name                                    OwnerNode                               State 
----                                    ---------                               ----- 
clusterSOFS                             CLUSTER-N2                              Online

This example creates a highly available Scale-out file server role.

Example 2

PS C:\> Add-ClusterScaleOutFileServerRole -Wait 0
Name                                    OwnerNode                               State 
----                                    ---------                               ----- 
clusterSOFS                             CLUSTER-N2                              Pending

This example creates a highly available scale out file server role. The cmdlet completes without waiting for all resources to come online.

Optional Parameters

-Cluster

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies the cluster on which to create the highly available scale-out file server.

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of the highly available scale-out file server being created.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Wait

Specifies the time in seconds to wait for the cmdlet. If the Wait parameter is not specified, then the cmdlet waits for completion. If -Wait 0 is specified, then the call is initiated and the cmdlet returns without waiting.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.FailoverClusters.PowerShell.Cluster

Outputs

Microsoft.FailoverClusters.PowerShell.ClusterGroup