Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcFileQosPolicyGroup


NAME
Set-NcFileQosPolicyGroup

SYNOPSIS
Manage the association of QoS policy group to a specified file.

SYNTAX
Set-NcFileQosPolicyGroup [-Path] <String> [-Volume] <String> [-Vserver] <Str
ing> [-QosPolicyGroup] <String> [-Controller <NcController[]>] [<CommonParam
eters>]


DESCRIPTION
Manage the association of QoS policy group to a specified file.

QoS Policy groups define measurable Service Level Objectives (SLOs) that app
ly to the storage object with which the policy group is associated. In Data
ONTAP 8.2 hierarchical QoS is not supported i.e. QoS policy groups cannot be
assigned to multiple objects in the file's storage hierarchy - such as the
parent LUN, volume or Vserver.


PARAMETERS
-Path <String>
Relative path of the file without a trailing slash.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Volume <String>
Name of the Volume in which the file resides.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Vserver <String>
Name of the Vserver in which the volume that hosts the file resides.

Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-QosPolicyGroup <String>
The QoS Policy Group Name that is to be associated with this file in ord
er to enforce Service Level Objectives (SLO).

Use 'none' to delete the association of the file with a QoS policy group
.

Required? true
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.File.FileInfo


NOTES


Category: file
API: file-assign-qos
Family: cluster

-------------- Example 1 --------------

C:\PS>Set-NcFileQosPolicyGroup -Path cifs/hello.txt -Volume powershell -Vser
ver beam01 -QosPolicyGroup policy1


Set the QoS policy group for the given file.


Name Type Size Created
Modified Owner Group Perm Empty
---- ---- ---- -------
-------- ----- ----- ---- -----
hello.txt file 2 GB 6/10/2013
8/20/2013 0 0 777



RELATED LINKS
Get-NcFile







 Data ONTAP® PowerShell Toolkit